/* --- 1. THE COLOR SYSTEM --- */
:root {
    --bg-main: #1A1614;
    --bg-surface: #231F1C;
    --text-main: #F3F4F6;
    --text-muted: #A3A3A3;
    --accent-teal: #00E5FF;
    --accent-green: #4A7C59;
}

/* --- 2. BASE RESET & TYPOGRAPHY --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden; 
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

h2 { font-size: 2rem; border-bottom: 1px solid var(--bg-surface); padding-bottom: 0.5rem; }
h3 { font-size: 1.25rem; color: var(--accent-teal); }
p { margin-bottom: 1rem; }

/* --- 3. LAYOUT CONTAINERS --- */
/* Stretches the header and footer edge-to-edge on large monitors */
header, footer {
    width: 100%;
    padding: 1.25rem 5%; /* Reduced from 2rem to pull the whole page up */
}

/* Keeps the reading text centered and prevents eye-strain on wide screens */
/* Keeps the reading text centered and prevents eye-strain on wide screens */
.hero-section, .inquiries-section, .contact-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 5%;
    scroll-margin-top: 120px; 
}

/* --- A. HEADER --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bg-surface);
    
    /* THE MASTER ARCHITECT TRICK: The Sticky Header */
    position: sticky;
    top: 0;
    background-color: var(--bg-main); /* Gives it a solid background */
    z-index: 1000; /* Forces it to stay on top of all other images/text */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: cover;
    object-position: top; /* This keeps the tree cropped nicely for the top bar */
    /* Removed the mix-blend-mode math */
}

.brand-name {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.top-nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.top-nav a:hover {
    color: var(--accent-teal);
}

/* --- B. HERO SECTION & MASTER IMAGE FIX --- */
.hero-section {
    padding: 1rem 5% 4rem 5%; /* Tightened top padding from 2rem to 1rem */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main-image {
    max-width: 100%; 
    max-height: 58vh; /* Shrunk slightly from 65vh to ensure the button fits below */
    width: auto;  
    height: auto; 
    margin-bottom: 1.5rem; /* Tightened the gap between the image and the text */
}

.hero-subtext {
    max-width: 800px;
    margin: 0 auto 1.5rem auto; /* Tightened the gap between the text and the button */
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--accent-teal);
    color: var(--text-main);
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-teal);
    color: var(--bg-main);
}

/* --- C. INQUIRIES SECTION --- */
.inquiries-section {
    padding-bottom: 4rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background-color: var(--bg-surface);
    padding: 2rem;
    border-radius: 4px;
    border-left: 4px solid var(--accent-green);
}

.capacity-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: var(--bg-surface);
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

/* --- D. CONTACT SECTION --- */
.contact-section {
    text-align: center;
    background-color: var(--bg-surface);
    border-radius: 4px;
    padding: 4rem 2rem;
}

.contact-link {
    color: var(--accent-teal);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* --- E. FOOTER --- */
.site-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--bg-surface);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    .top-nav a {
        margin: 0 1rem;
    }
}