/* Brookswood Interior - Styles */
:root {
    --cream: #F7F3EE;
    --walnut: #5C4033;
    --walnut-light: #8B6914;
    --sage: #9CAF88;
    --charcoal: #2C2C2C;
    --warm-gray: #6B6B6B;
    --light-gray: #E8E2DA;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--charcoal);
    line-height: 1.7;
    background: var(--cream);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

em {
    font-style: italic;
    color: var(--walnut-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(247, 243, 238, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    font-size: 26px;
    color: var(--walnut);
}

.brand-main {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
}

.brand-sub {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--warm-gray);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--walnut-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(44,44,44,0.75) 0%, rgba(44,44,44,0.4) 50%, rgba(44,44,44,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 120px 40px 80px;
    animation: fadeSlide 1s ease;
}

.hero-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 em {
    color: var(--sage);
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}

.btn-primary {
    background: var(--sage);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--walnut-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Features */
.features {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--sage);
    margin-bottom: 10px;
    opacity: 0.6;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.feature p {
    font-size: 15px;
    color: var(--warm-gray);
}

/* Section Label */
.section-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--sage);
    margin-bottom: 15px;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--walnut);
    color: var(--white);
    padding: 25px 35px;
    text-align: center;
    border-radius: 4px;
}

.badge-year {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text h2 {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 18px;
    color: var(--warm-gray);
}

.about-meta {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.meta-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--warm-gray);
    margin-bottom: 6px;
}

.meta-item a,
.meta-item span {
    font-size: 16px;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 700;
}

.meta-item a:hover {
    color: var(--walnut-light);
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: clamp(26px, 4vw, 38px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-img {
    height: 180px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-icon {
    font-size: 40px;
    padding: 30px 30px 0;
}

.service-content {
    padding: 20px 30px 30px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.service-content p {
    font-size: 15px;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* Work */
.work {
    padding: 100px 0;
    background: var(--cream);
}

.work-header {
    text-align: center;
    margin-bottom: 60px;
}

.work-header h2 {
    font-size: clamp(26px, 4vw, 38px);
}

.work-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.work-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.work-item.large {
    grid-row: span 2;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
}

.work-caption h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.work-caption span {
    font-size: 13px;
    opacity: 0.8;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--warm-gray);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    font-size: 24px;
    color: var(--sage);
}

.contact-row strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--warm-gray);
    margin-bottom: 4px;
}

.contact-row a,
.contact-row span {
    font-size: 16px;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 700;
}

.contact-row a:hover {
    color: var(--walnut-light);
}

.contact-form-wrap {
    background: var(--cream);
    padding: 50px;
    border-radius: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 3px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    background: var(--white);
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage);
}

.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand-main {
    color: var(--white);
}

.footer-brand .brand-sub {
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--sage);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 15px;
}

.footer-contact a:hover {
    color: var(--sage);
}

.footer-copy {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Animations */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 220px);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    .footer-contact {
        align-items: center;
    }
    .about-badge {
        right: 10px;
        bottom: -10px;
        padding: 15px 20px;
    }
    .badge-year {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(247,243,238,0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid var(--light-gray);
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .nav-toggle {
        display: flex;
    }
    .hero-content {
        padding: 100px 20px 60px;
    }
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    .work-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    .work-item.large {
        grid-row: span 1;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 30px;
    }
    section {
        padding: 60px 0;
    }
    .about-meta {
        flex-direction: column;
        gap: 20px;
    }
}
