/* ============================================
   MULLER ESTATES — Classic & Elegant Real Estate
   Deep Navy + Warm Gold Palette
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', 'Segoe UI', system-ui, sans-serif;
    color: #2c2c2c;
    background-color: #fdfbf7;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #b8942e;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #96761f;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
    color: #1a2744;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #1a2744;
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- NAVIGATION ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 39, 68, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fdfbf7;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.logo-icon {
    color: #c9a84c;
}

.logo-text {
    font-style: italic;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-list a {
    color: rgba(253, 251, 247, 0.85);
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.nav-list a:hover {
    color: #fdfbf7;
    background: rgba(201, 168, 76, 0.15);
}

.nav-cta {
    background: #c9a84c !important;
    color: #1a2744 !important;
    font-weight: 600 !important;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background: #d4b55a !important;
    color: #1a2744 !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fdfbf7;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a2744;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 39, 68, 0.88) 0%,
        rgba(26, 39, 68, 0.72) 50%,
        rgba(42, 56, 82, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: 2rem 1.5rem;
    padding-top: 5rem;
}

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fdfbf7;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-headline em {
    color: #c9a84c;
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(253, 251, 247, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(253, 251, 247, 0.6);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background: #c9a84c;
    color: #1a2744;
    border-color: #c9a84c;
}

.btn-primary:hover {
    background: #d4b55a;
    border-color: #d4b55a;
    color: #1a2744;
}

.btn-outline-light {
    background: transparent;
    color: #fdfbf7;
    border-color: rgba(253, 251, 247, 0.5);
}

.btn-outline-light:hover {
    background: rgba(253, 251, 247, 0.1);
    border-color: #fdfbf7;
    color: #fdfbf7;
}

.btn-gold {
    background: #c9a84c;
    color: #1a2744;
    border-color: #c9a84c;
}

.btn-gold:hover {
    background: #d4b55a;
    border-color: #d4b55a;
    color: #1a2744;
}

.btn-full {
    width: 100%;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 1rem;
}

.section-title.light {
    color: #fdfbf7;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #5a5a5a;
    line-height: 1.7;
}

.section-header .section-subtitle {
    color: rgba(253, 251, 247, 0.75);
}

/* ---------- ABOUT ---------- */
.about {
    background: #fdfbf7;
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: 4px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(26, 39, 68, 0.15);
}

.about-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 40%;
    border: 3px solid #c9a84c;
    border-radius: 4px;
    z-index: -1;
}

.about-text {
    padding: 1rem 0;
}

.about-text p {
    color: #4a4a4a;
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 39, 68, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2744;
}

.stat-label {
    font-size: 0.85rem;
    color: #6a6a6a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- SERVICES ---------- */
.services {
    background: #f4f0e8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 6px;
    padding: 2.25rem;
    border: 1px solid rgba(26, 39, 68, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26, 39, 68, 0.1);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 39, 68, 0.06);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    color: #1a2744;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a2744;
}

.card-text {
    color: #5a5a5a;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- AREAS ---------- */
.areas {
    background: #fdfbf7;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.area-card {
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(26, 39, 68, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26, 39, 68, 0.1);
}

.area-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.area-card-content {
    padding: 1.5rem;
}

.area-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a2744;
}

.area-card p {
    font-size: 0.9rem;
    color: #5a5a5a;
    line-height: 1.65;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    background: #1a2744;
    padding: 6rem 0;
}

.testimonials .section-eyebrow {
    color: #c9a84c;
}

.testimonials .section-title {
    color: #fdfbf7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 6px;
    padding: 2rem;
    position: relative;
}

.testimonial-quote {
    color: #c9a84c;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.testimonial p {
    color: rgba(253, 251, 247, 0.85);
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-style: normal;
    color: #c9a84c;
    font-weight: 500;
}

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(135deg, #2a3852 0%, #1a2744 100%);
    padding: 5rem 0;
}

.cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-text {
    color: rgba(253, 251, 247, 0.75);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact {
    background: #f4f0e8;
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-intro {
    color: #5a5a5a;
    font-size: 1.02rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    color: #c9a84c;
    margin-top: 0.15rem;
}

.contact-item strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.2rem;
}

.contact-item span,
.contact-item a {
    color: #5a5a5a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a:hover {
    color: #b8942e;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 2.5rem;
    border: 1px solid rgba(26, 39, 68, 0.08);
    box-shadow: 0 8px 32px rgba(26, 39, 68, 0.06);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #2c2c2c;
    background: #fdfbf7;
    border: 1px solid rgba(26, 39, 68, 0.15);
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9a9a9a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.8rem;
    color: #8a8a8a;
    margin-top: 1rem;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    color: #4a9c5d;
    margin-bottom: 1rem;
}

.form-success h4 {
    font-size: 1.4rem;
    color: #1a2744;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #5a5a5a;
    font-size: 0.95rem;
}

/* ---------- MAP ---------- */
.map-section {
    background: #e8e4da;
}

.map-container {
    border-radius: 0;
    overflow: hidden;
}

.map-container iframe {
    filter: saturate(0.7) contrast(1.05);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #141e33;
    color: rgba(253, 251, 247, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    color: rgba(253, 251, 247, 0.55);
}

.logo-light {
    color: #fdfbf7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(253, 251, 247, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #c9a84c;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    color: rgba(253, 251, 247, 0.6);
    font-size: 0.9rem;
}

.footer-contact a:hover {
    color: #c9a84c;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 251, 247, 0.08);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(253, 251, 247, 0.35);
}

/* ---------- SCROLL REVEAL (below fold only) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal-up.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-wrap {
        max-width: 500px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 39, 68, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.25rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
        border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    }

    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-list a {
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero-content {
        padding-top: 4rem;
    }

    .hero-headline {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .section {
        padding: 4rem 0;
    }

    .areas-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .about-accent {
        display: none;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}
