/*
Theme Name: Caribou Guardians Coalition Theme
Theme URI: https://caribouguardianscoalition.ca
Author: Raven Web Services
Description: High-performance, cache-friendly WordPress theme supporting Lottie background mechanics.
Version: 1.0.1
Text Domain: cgc-theme
*/

/* Core Reset & Clean Typography Context */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #2c3e50;
    background-color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Base Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Sticky Navigation Design Map Context */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    transition: all 0.3s ease;
}

.site-logo a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: #1a1a1a;
    background: #edf2f7;
}

/* Fullscreen Background Lottie Layer */
.lottie-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-color: #ffffff; /* Fallback baseline background */
}

.lottie-bg-container dotlottie-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Front Page Content Overlays */
.front-page-content {
    position: relative;
    z-index: 10;
    padding-top: 120px; /* Pushes content down safely past the fixed header */
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-intro {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-intro h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-intro p {
    font-size: 1.2rem;
    color: #4a5568;
}

/* Clean Footer Standard Closure */
.site-footer {
    position: relative;
    z-index: 10;
    background: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* Mobile Layout Systems Responsive Rules */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        position: relative;
    }
    
    .front-page-content {
        padding-top: 40px;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav-menu a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .hero-intro h1 {
        font-size: 2rem;
    }
}