/* ------------------------------------------- */
/* 🎨 COLOR PALETTE & VARIABLES */
/* ------------------------------------------- */
:root {
    /* Scout Colors */
    --scout-blue: #003366;    /* Deep Navy/Royal Blue - Primary */
    --scout-gold: #F8D677;    /* Bright Yellow/Gold - Accent was #FFC72C */
    /* Neutrals */
    --white: #ffffff;
    --light-gray: #f4f7f9;
    --text-dark: #333;
}

/* ------------------------------------------- */
/* 🌐 GLOBAL STYLES & RESET */
/* ------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white;
}

/* Utility Container for centering content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    color: var(--scout-blue);
    margin-bottom: 15px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.lead-text {
    font-size: 1.15rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.mt-15 { margin-top: 30px; }

/* ------------------------------------------- */
/* ⚓ BUTTONS (CTAs) */
/* ------------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--scout-gold);
    color: var(--scout-blue);
    box-shadow: 0 4px 15px rgba(255, 199, 44, 0.4);
}

.primary-btn:hover {
    background-color: #e6b126; /* Slightly darker gold */
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--scout-blue);
    border: 2px solid var(--scout-blue);
}

.secondary-btn:hover {
    background-color: var(--scout-blue);
    color: var(--white);
}

.large-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}


/* ------------------------------------------- */
/* 🧭 HEADER & NAVIGATION */
/* ------------------------------------------- */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: var(--scout-blue);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo .pack-name {
    font-size: 2rem;
    color: var(--scout-gold);
}

.logo .tagline-small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: var(--scout-gold);
}

.cta-nav-button {
    background-color: var(--scout-gold);
    color: var(--scout-blue) !important;
    border-radius: 5px;
    padding: 8px 15px !important;
}

.cta-nav-button:hover {
    background-color: #e6b126;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    color: var(--white);
    font-size: 2rem;
    border: none;
    cursor: pointer;
}


/* ------------------------------------------- */
/* 🖼️ HERO SECTION */
/* ------------------------------------------- */

.hero-section {
    height: 500px; /* Adjust based on desired height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Placeholder for a background image */
    /* tlunde background: url('placeholder-scouts.jpg') no-repeat center center/cover;  */

    background-color: var(--scout-blue);



    color: var(--white);
    position: relative;
}

/* Forces the iframe to act like a background cover */
.bg-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: -1; /* Pushes it behind the content */
  pointer-events: none; /* Optional: stops users from clicking elements inside the iframe */
}


/* Overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
}

.hero-content {
    z-index: 1; /* Keeps content above the dark overlay */
    padding: 20px;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 10px;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ccc;
}


/* ------------------------------------------- */
/* 💡 QUICK FACTS SECTION */
/* ------------------------------------------- */
.facts-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--white);
}

.facts-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.fact-card {
    flex-basis: 30%; /* Ensures 3 cards fit easily */
    background: var(--light-gray);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.fact-card .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}
.fact-card h3 {
    color: var(--scout-blue);
    margin-bottom: 5px;
}


/* ------------------------------------------- */
/* 📰 CONTENT & SECTION LAYOUTS */
/* ------------------------------------------- */
.content-section {
    padding: 80px 0;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.content-wrapper h2 {
    text-align: left;
    margin-bottom: 0;
}

.content-wrapper p {
    font-size: 1.05rem;
}

/* Specific styles for the About Section */
.about-section {
    background-color: var(--white);
}
.mission-details {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--scout-gold);
}
.mission-details h4 {
    color: var(--scout-blue);
    margin-bottom: 10px;
}
.mission-details ul {
    list-style: none;
    padding-left: 0;
}
.mission-details li {
    margin-bottom: 10px;
}


/* Specific styles for the Meeting Section */
.meeting-section {
    background-color: var(--light-gray);
}
.schedule-line {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.note {
    margin-top: 20px;
    font-style: italic;
}

/* ------------------------------------------- */
/* ✨ CTA SECTION (JOIN US) */
/* ------------------------------------------- */
.cta-section {
    background-color: var(--scout-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}
.cta-section .lead-text {
    color: #ddd;
    font-size: 1.2rem;
}
.cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.cta-buttons .btn {
    /* Overriding button styles for the dark background */
    font-size: 1.1rem;
}
.cta-buttons .primary-btn {
    background-color: var(--scout-gold);
    color: var(--scout-blue);
}
.cta-buttons .secondary-btn {
    border-color: var(--scout-gold);
    color: var(--scout-gold);
    background-color: transparent;
}


/* ------------------------------------------- */
/* 🦶 FOOTER */
/* ------------------------------------------- */
.site-footer {
    background-color: #222;
    color: #aaa;
    padding-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-section {
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--scout-gold);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}
.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}
.footer-section ul li a:hover {
    color: var(--scout-gold);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #777;
}


/* ------------------------------------------- */
/* 📱 MEDIA QUERIES (RESPONSIVENESS) */
/* ------------------------------------------- */

/* Tablet and smaller screens */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }
    .content-wrapper.reverse {
        flex-direction: column; /* Ensure stacking */
    }
    .content-wrapper h2 {
        text-align: center;
    }
    
    .fact-card {
        flex-basis: 45%; /* Two cards per row */
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Mobile phones (up to 768px) */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 20px;
    }
    .nav-list {
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--scout-blue);
        display: none; /* Hidden by default on mobile */
        text-align: center;
    }
    .nav-list.active {
        display: flex; /* Shown when toggle is clicked */
    }
    .nav-list li {
        border-bottom: 1px solid #002244;
    }
    .nav-list li a {
        padding: 15px 20px;
    }
    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .facts-grid {
        flex-direction: column; /* Stack cards vertically */
        gap: 15px;
    }
    .fact-card {
        flex-basis: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 20px;
    }
    .cta-buttons .large-btn {
        width: 80%;
        margin: 0 auto;
    }

    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-section {
        flex-basis: 100%;
    }
}
