/* ==========================================================================
   1. CORE VARIABLES & DESIGN SYSTEM
   ========================================================================= */
:root {
    --primary-header: #132d14;    
    --bg-forest: #1c3b22;         
    --card-green: #112815;        
    --accent-gold: #e5a93b;       
    --text-white: #ffffff;        
    --text-muted: #cbd5e0;        
    
    --max-width: 1200px;
    --radius-md: 12px;
    --radius-sm: 4px;
    --shadow-deep: 0 12px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg-forest);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
}

a {
    transition: var(--transition);
}

/* ==========================================================================
   2. TOP NAVIGATION INTERFACE BAR
   ========================================================================= */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-header);
    padding: 14px 5%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 100;
}

.alert-message {
    background-color: var(--accent-gold);
    color: #112815;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    display: inline-block;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-nav a:hover {
    color: var(--accent-gold);
}

.top-nav .btn-members {
    border: 1.5px solid var(--text-white);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
}

.top-nav .btn-members:hover {
    background-color: var(--text-white);
    color: var(--primary-header);
}

/* ==========================================================================
   3. HERO BANNER
   ========================================================================= */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), 
                url('Images/Letterhead.jpeg') center/cover no-repeat fixed;
    min-height: 70vh; 
    display: flex;
    justify-content: center; 
    align-items: center;     
    padding: 40px 24px;
    text-align: center;      
}

.hero-content-box {
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    padding: 45px 35px;
    border-radius: var(--radius-md); 
    background-color: rgba(17, 40, 21, 0.8); 
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

.hero-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--accent-gold); 
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 2px;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.hero-content h2 {
    font-size: 1.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-description {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    color: var(--text-white);
    max-width: 720px;
    margin: 0 auto 40px; 
    line-height: 1.6;
}

.btn-tour {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #112815;
    padding: 14px 38px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-tour:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    background-color: #fcae3b;
}

/* ==========================================================================
   4. CONTENT STRUCTURAL LAYOUT WRAPPER
   ========================================================================= */
.content-wrapper {
    max-width: var(--max-width);
    margin: 50px auto 70px;
    padding: 0 24px;
}

.welcome-intro {
    text-align: center;
    margin-bottom: 50px;
}

.welcome-intro h2 {
    font-size: 2.3rem;
    color: var(--accent-gold);
    margin-bottom: 35px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.image-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-deep);
}

.gallery-label {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

/* ==========================================================================
   5. FEATURE CONTENT GRIDS MODULE (3 COLUMNS)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    background-color: var(--card-green);
    padding: 45px 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-deep);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item h3 {
    font-size: 1.45rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-item p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.better-together {
    background-color: rgba(11, 26, 13, 0.85);
}

.better-together p {
    font-style: normal;
}

.better-together .citation {
    margin-top: auto;
    padding-top: 25px;
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.unit-preview {
    margin-top: auto;
}

.unit-preview .preview-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.unit-preview .preview-img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.img-fallback {
    width: 100%;
    height: 160px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1.5px dashed rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.preview-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ==========================================================================
   6. SITE FOOTER
   ========================================================================= */
.site-footer {
    background: linear-gradient(rgba(18, 25, 23, 0.50), rgba(18, 25, 23, 0.85)), 
                url('Images/footer.jpg') no-repeat center bottom;
    background-size: cover; 
    padding: 60px 20px 30px; 
    position: relative;
    border-top: none; 
    text-align: center;
}

.footer-content-box {
    position: relative; 
    z-index: 2; 
    max-width: 1000px;
    margin: 0 auto; 
    padding: 45px 35px;
    border-radius: var(--radius-md); 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    background-color: rgba(17, 40, 21, 0.50);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.site-footer .acknowledgement {
    color: var(--text-muted); 
    font-weight: 500; 
    font-size: 0.85rem; 
    line-height: 1.6; 
    margin: 0 auto 25px; 
    padding-bottom: 0; 
    text-align: center;
    max-width: 900px;
    border-bottom: none;
}

.footer-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    width: 100%;
    margin: 0 auto 25px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-white);
}

.alert-wrapper {
    text-align: center; 
    width: 100%;
}

.site-footer .alert-message {
    margin-bottom: 25px; 
    display: inline-block; 
    padding: 8px 16px; 
    line-height: 1; 
    vertical-align: middle;
}

.footer-copyright {
    margin: 0; 
    padding-top: 20px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    width: 100%; 
    display: flex; 
    justify-content: center;
}

.footer-copyright p {
    margin: 0; 
    padding: 0; 
    line-height: 1.2; 
    color: var(--text-muted); 
    text-align: center;
    font-size: 0.82rem;
}

/* ==========================================================================
   7. VIEWPORT RESPONSIVENESS BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .image-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
    .top-nav {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }
    .top-nav a {
        width: 100%;
        padding: 8px 0;
        font-size: 1rem;
    }
    .top-nav .btn-members {
        width: 100%;
        text-align: center;
    }
    .hero-section {
        min-height: 85vh;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero-content h2 {
        font-size: 1.4rem;
    }
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-details {
        flex-direction: column;
        gap: 12px;
    }
}