/* ============================================
   LAYOUT & STRUCTURE
   ============================================ */

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.1s linear;
}

/* Three.js Canvas */
#scene-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Vignette Overlay */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(24, 49, 38, 0.15) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 134, 27, 0.1);
    transition: all var(--transition-base);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.25rem var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-title {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    color: var(--green-dark);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    padding: 0.5rem 1rem;
    border: 1px solid var(--gold);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--green-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 3rem;
    border-top: 1px solid rgba(184, 134, 27, 0.2);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.metric strong {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 600;
}

.metric span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-mono);
}

/* Sections */
section {
    position: relative;
    z-index: 10;
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--green-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.section-intro {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
    border-top: 1px solid rgba(184, 134, 27, 0.15);
    padding: var(--space-3xl) 0 var(--space-lg);
    position: relative;
    z-index: 10;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(184, 134, 27, 0.15);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--green-dark);
    font-weight: 600;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-tagline {
    font-style: italic;
    color: var(--gold);
    font-size: 0.875rem !important;
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-location {
    font-style: italic;
}

/* Responsive Layout */
@media (max-width: 900px) {
    :root {
        --container-padding: 1.5rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-metrics {
        gap: 2rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 500px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}