/* ============================================
   Lutz Real Estate Investments — Stylesheet
   Palette: Deep Navy (#0A1628) + Warm Gold (#C9A84C)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

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

:root {
    --navy: #0A1628;
    --navy-light: #132240;
    --navy-mid: #1A2D4A;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-pale: #F5ECC8;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --cream: #F5F3EF;
    --gray-100: #F0EDE8;
    --gray-200: #E0DCD5;
    --gray-300: #C4BFB5;
    --gray-400: #9E9890;
    --gray-500: #6B6560;
    --gray-600: #4A4540;
    --text-dark: #1A1A18;
    --text-body: #3D3834;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-body);
    background-color: var(--off-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* ---------- Typography ---------- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn--full {
    width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.4s var(--ease-out);
}

.nav.scrolled .nav__inner {
    height: 64px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav__logo-icon {
    color: var(--gold);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav__links a {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav__links a:hover {
    color: var(--white);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    border: 1px solid rgba(201, 168, 76, 0.5);
    padding: 10px 24px;
    color: var(--gold) !important;
    transition: all 0.3s ease !important;
}

.nav__cta::after {
    display: none;
}

.nav__cta:hover {
    background: var(--gold);
    color: var(--navy) !important;
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}

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

.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(
        to bottom,
        rgba(10, 22, 40, 0.55) 0%,
        rgba(10, 22, 40, 0.70) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---------- Divider ---------- */
.divider {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider__line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.divider__icon {
    color: var(--gold);
    flex-shrink: 0;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--off-white);
}

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

.about__body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 16px;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    z-index: -1;
}

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

.services__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.services__subtitle {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    padding: 48px 40px;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__number {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--gray-300);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--navy);
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    border-color: var(--gold);
    color: var(--gold);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 16px;
}

.service-card__body {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-500);
}

/* ---------- Approach ---------- */
.approach {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
}

.approach__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.approach__header .section-title {
    color: var(--white);
}

.approach__steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.approach__step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
    position: relative;
}

.approach__step-line {
    position: absolute;
    top: 48px;
    left: 28px;
    width: 1px;
    height: calc(100% - 24px);
    background: rgba(201, 168, 76, 0.2);
}

.approach__step:last-child .approach__step-line {
    display: none;
}

.approach__step-num {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--gold);
    padding-top: 4px;
}

.approach__step-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
}

.approach__step-body {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
}

/* ---------- Community ---------- */
.community {
    padding: 120px 0;
    background: var(--cream);
}

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

.community__body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 16px;
}

.community__stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 4px;
}

.stat__label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.stat-divider {
    width: 1px;
    background: var(--gray-200);
}

.community__image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.community__image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 2px;
}

/* ---------- Testimonial ---------- */
.testimonial {
    padding: 100px 0;
    background: var(--navy);
    text-align: center;
}

.testimonial__content {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial__quote {
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 32px;
}

.testimonial__text {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 32px;
}

.testimonial__attribution {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

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

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

.contact__body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__detail {
    display: flex;
    gap: 16px;
}

.contact__detail-icon {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__detail-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 15px;
    color: var(--navy);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact__detail-value:hover {
    color: var(--gold);
}

/* ---------- Form ---------- */
.contact__form-wrapper {
    background: var(--cream);
    padding: 48px;
    border-radius: 2px;
}

.contact__form-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-300);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--gold);
    border-radius: 2px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 400;
}

.form-success svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ---------- Map ---------- */
.map {
    border-top: 1px solid var(--gray-200);
}

.map iframe {
    filter: grayscale(0.6) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy);
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__logo svg {
    color: var(--gold);
}

.footer__tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer__label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer__quick-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__quick-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer__quick-links a:hover {
    color: var(--white);
}

.footer__contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer__contact a:hover {
    color: var(--gold);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ---------- Mobile Menu ---------- */
.nav__mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.97);
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.nav__mobile-overlay.active {
    display: flex;
    opacity: 1;
}

.nav__mobile-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nav__mobile-links a {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--white);
    transition: color 0.3s ease;
}

.nav__mobile-links a:hover {
    color: var(--gold);
}

.nav__mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about__grid,
    .community__grid,
    .contact__grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero__title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

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

    .about__grid,
    .community__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image {
        order: -1;
    }

    .about__image img {
        height: 350px;
    }

    .about__image-accent {
        display: none;
    }

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

    .service-card {
        padding: 36px 28px;
    }

    .approach__step {
        grid-template-columns: 40px 1fr;
        gap: 20px;
    }

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

    .community__image-grid img {
        height: 250px;
    }

    .contact__form-wrapper {
        padding: 32px 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .community__stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }
}

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

    .hero {
        min-height: 600px;
    }

    .about,
    .services,
    .approach,
    .community,
    .contact {
        padding: 80px 0;
    }

    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
