/* ========================================
   Foote's Christmas Trees — Styles
   Palette: Deep Navy + Warm Gold
   ======================================== */

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

:root {
    --navy: #0a1628;
    --navy-light: #132038;
    --navy-mid: #1a2d4a;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-pale: #f5e6b8;
    --cream: #faf8f4;
    --cream-dark: #f0ebe0;
    --white: #ffffff;
    --text-dark: #0a1628;
    --text-muted: #5a6a7e;
    --text-light: #8a9ab0;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    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 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(250, 248, 244, 0.97);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.01em;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    color: var(--white) !important;
    background: var(--navy);
    padding: 0.6rem 1.4rem;
    border-radius: 2px;
    transition: background var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--navy-light) !important;
    color: var(--white) !important;
}

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: -0.01em;
    transition: color var(--transition);
}

.mobile-menu-link:hover {
    color: var(--gold);
}

.mobile-menu-cta {
    font-family: var(--font-sans) !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    color: var(--gold) !important;
    margin-top: 1rem;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    color: var(--navy);
    line-height: 1.05;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-em {
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 440px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

.hero-meta-dot {
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

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

.btn-ghost:hover {
    background: var(--navy);
    color: var(--white);
}

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

.btn-light:hover {
    background: var(--gold-pale);
    border-color: var(--gold-pale);
}

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

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

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    overflow: hidden;
    border-radius: 2px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 70vh;
    max-height: 700px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
}

.hero-accent {
    position: absolute;
    bottom: -30px;
    left: -30px;
    color: var(--gold);
    opacity: 0.4;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

/* --- Section Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--gold);
    opacity: 0.3;
}

.section-divider svg {
    color: var(--gold);
    opacity: 0.6;
}

/* --- Trees Section --- */
.trees {
    padding: 8rem 0;
    background: var(--cream);
}

.trees .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

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

.tree-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.tree-card:hover {
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
    transform: translateY(-4px);
}

.tree-card-image {
    overflow: hidden;
    aspect-ratio: 4/5;
}

.tree-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.tree-card-content {
    padding: 2rem;
}

.tree-card-name {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.tree-card-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}

.trees-note {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.trees-note p {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

/* --- About Section --- */
.about {
    padding: 8rem 0;
    background: var(--white);
}

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

.about-image {
    overflow: hidden;
    border-radius: 2px;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content .section-title {
    margin-bottom: 2rem;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-values {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.value-label {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 500;
    white-space: nowrap;
}

.value-line {
    flex: 1;
    height: 1px;
    background: var(--gold);
    opacity: 0.4;
}

.value-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* --- Visit Section --- */
.visit {
    padding: 8rem 0;
    background: var(--cream);
}

.visit-header {
    text-align: center;
    margin-bottom: 4rem;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: stretch;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem;
    background: var(--navy);
    border-radius: 2px;
    color: var(--white);
}

.info-block h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.info-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.info-block a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

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

.info-note {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-style: italic;
}

.visit-map {
    border-radius: 2px;
    overflow: hidden;
    min-height: 400px;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* --- CTA Section --- */
.cta {
    padding: 8rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.08);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.06);
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: var(--gold);
}

.cta-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    font-weight: 300;
}

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

/* --- Footer --- */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 0 2rem;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
}

.footer-contact h4,
.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.footer-contact p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 0.3rem;
}

.footer-contact a,
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
    font-size: 0.85rem;
    font-weight: 300;
    display: block;
    line-height: 1.8;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 0.7fr;
        gap: 3rem;
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .trees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trees-grid .tree-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper img {
        height: 50vh;
        max-height: 450px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .trees-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .trees-grid .tree-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .visit-info {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}
