/* ==========================================================================
   GWD — Main Stylesheet
   ========================================================================== */

:root {
    --color-brand: #2d5016;
    --color-brand-light: #4a7a2a;
    --color-brand-dark: #1e3a0e;
    --color-text: #333;
    --color-text-muted: #777;
    --color-bg: #fff;
    --color-bg-gray: #f5f5f5;
    --color-border: #e0e0e0;
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', var(--font-primary);
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    color: var(--color-brand);
}

a:hover {
    color: var(--color-brand-dark);
}

/* Brand Button */
.btn-brand {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}

.btn-brand:hover {
    background-color: var(--color-brand-light);
    border-color: var(--color-brand-light);
    color: #fff;
}

.btn-outline-brand {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.btn-outline-brand:hover {
    background-color: var(--color-brand);
    color: #fff;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--color-border);
    background: #fff;
}

.site-header .navbar-brand {
    font-size: 1.5rem;
    color: var(--color-brand);
}

.header-phone {
    font-weight: 600;
    white-space: nowrap;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section--gray {
    background-color: var(--color-bg-gray);
}

.section-title {
    margin-bottom: 2rem;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand-light));
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Project Card */
.project-card {
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.project-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.project-card__placeholder {
    height: 220px;
    background: var(--color-bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.project-card__badge--promo {
    left: auto;
    right: 10px;
}

.project-card__props {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.project-card__props i {
    margin-right: 0.25rem;
    color: var(--color-text-muted);
}

.project-card__tech {
    font-size: 0.8rem;
}

.project-card__price {
    color: var(--color-brand);
    font-size: 1.1rem;
}

/* Project Detail */
.project-detail__price .h3 {
    color: var(--color-brand);
}

.prop-card {
    text-align: center;
    padding: 1rem;
    background: var(--color-bg-gray);
    border-radius: 8px;
}

.prop-card__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brand);
}

.prop-card__label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Footer */
.site-footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.site-footer h5 {
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer a {
    color: #aaa;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
    color: #fff;
}

.cta-section h2 {
    color: #fff;
}

/* Filter Panel */
.filter-panel {
    background: var(--color-bg-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Gallery */
.project-gallery img {
    cursor: pointer;
    transition: opacity 0.2s;
}

.project-gallery img:hover {
    opacity: 0.9;
}

/* Modal */
.form-success {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .project-card__props {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
