/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    --primary: #14a0dd; 
    --dark: #121212;
    --light: #ffffff;
    --gray: #f4f4f4;
    --accent: #fbc02d; 
    --text-muted: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

br { display: block; margin: 10px 0; content: ""; }

/* =========================================
   2. NAVIGATION & DROPDOWNS
   ========================================= */
header {
    background: var(--dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 70px;
}

nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 900; color: white; font-size: 1.4rem; }
.logo span { color: var(--primary); }

.nav-links { display: none; list-style: none; align-items: center; }
.nav-links a { 
    color: white; text-decoration: none; font-weight: 700; 
    font-size: 0.85rem; text-transform: uppercase; margin-left: 20px; transition: 0.3s;
}
.nav-links a:hover { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; background-color: var(--dark);
    min-width: 180px; box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1; list-style: none; padding: 10px 0; margin: 0;
    border-top: 2px solid var(--primary); top: 100%; left: 0;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { padding: 12px 20px; margin-left: 0; display: block; }

.menu-toggle {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 30px; height: 21px; background: transparent; border: none; cursor: pointer;
}
.menu-toggle .bar { width: 100%; height: 3px; background-color: white; transition: 0.3s; }
.arrow { font-size: 0.6rem; vertical-align: middle; margin-left: 5px; color: var(--primary); }

/* =========================================
   3. BUTTONS
   ========================================= */
.btn-primary, .btn-secondary, .btn-outline, .btn-nav {
    padding: 12px 25px; text-decoration: none; font-weight: 900;
    text-transform: uppercase; border-radius: 4px; transition: 0.3s; display: inline-block;
}
.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: white; color: var(--dark); }
.btn-outline { border: 2px solid white; color: white; }
.btn-nav { background: var(--primary); padding: 8px 15px; font-size: 0.8rem; color: white; }
.btn-nav:hover { background-color: var(--light); color: #000 !important; }

/* =========================================
   4. HOME & MISSION (RESTORED)
   ========================================= */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('img/b.jpg') center/cover;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}
.hero h1 { font-family: 'Oswald', sans-serif; font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1; margin-bottom: 1rem; }
.mission { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; color: #ccc; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }

.stats-strip { background: var(--primary); color: white; padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; }
.stat-item strong { display: block; font-size: 2.5rem; font-family: 'Oswald'; }
.stat-item span { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

.featured { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 80px 0; }
.featured-card, .charity-spotlight { padding: 40px; border-radius: 8px; border: 1px solid #eee; }
.featured-tag { 
    display: inline-block; background: var(--accent); font-size: 0.7rem; 
    font-weight: 900; padding: 5px 10px; margin-bottom: 15px; text-transform: uppercase; color: var(--dark);
}

.newsletter-box { background: var(--gray); padding: 50px; text-align: center; border-radius: 12px; margin-bottom: 80px; }
.signup-form { margin-top: 25px; display: flex; flex-direction: column; gap: 10px; }
.signup-form input { padding: 15px; border: 1px solid #ddd; border-radius: 4px; flex: 1; }
.signup-form button { background: var(--dark); color: white; border: none; padding: 15px 30px; font-weight: 700; border-radius: 4px; cursor: pointer; }

/* Mission Page Specifics */
.mission-container { padding: 80px 0; max-width: 800px; margin: 0 auto; }
.mission-content p { font-size: 1.15rem; margin-bottom: 2rem; color: #444; line-height: 1.8; }
.mission-highlight { background: var(--gray); padding: 40px; border-left: 5px solid var(--primary); margin: 3rem 0; font-style: italic; }
.final-mission { font-family: 'Oswald', sans-serif; font-size: 1.8rem; color: var(--dark); text-align: center; margin-top: 4rem; border-top: 1px solid #eee; padding-top: 3rem; line-height: 1.3; }

/* =========================================
   5. EVENT COMPONENTS (OPENER & ONEDAY)
   ========================================= */
.page-header { background: var(--dark); color: white; padding: 60px 0; text-align: center; border-bottom: 4px solid var(--primary); }
.page-header h1 { font-family: 'Oswald'; font-size: 3rem; text-transform: uppercase; }
.page-header p { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.opener-hero { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/b.jpg') center/cover; }
.oneday-hero { background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('img/b.jpg') center/cover; }

.section-title { margin-bottom: 20px; border-left: 5px solid var(--primary); padding-left: 20px; }
.section-title h2 { font-family: 'Oswald'; text-transform: uppercase; font-size: 2.2rem; }

/* Time Block Fix: No vertical line, Blue Text */
.time-block { margin-bottom: 20px; padding: 0; border: none; }
.time-block p { margin-bottom: 5px; font-weight: 700; color: var(--primary) !important; }

/* OneDay Schedule Logic */
.timeline { margin-top: 30px; max-width: 800px; }
.time-row { display: flex; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #ddd; }
.time-row .time { color: var(--primary); font-weight: 900; min-width: 120px; font-family: 'Oswald'; }

.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 60px; }
.event-card { padding: 40px; background: var(--gray); border-radius: 8px; border-top: 4px solid var(--primary); }

/* OneDay Three Column Grid & Stats */
.three-part-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-column { background: var(--gray); padding: 30px; border-radius: 8px; border-top: 4px solid var(--primary); }

.impact-stats { display: flex; justify-content: center; gap: 60px; margin: 40px 0; }
.stat-item-alt { text-align: center; }
.stat-item-alt strong { color: var(--primary); font-size: 2.5rem; display: block; font-family: 'Oswald'; }

.mini-list { list-style: none; padding: 20px 0 0; margin-top: 20px; border-top: 1px solid #ddd; }
.mini-list li { font-size: 0.9rem; margin-bottom: 8px; position: relative; padding-left: 20px; color: #555; }
.mini-list li::before { content: "›"; color: var(--primary); position: absolute; left: 0; font-weight: 900; }

.charity-highlight { background: var(--dark); color: white; padding: 50px; border-radius: 8px; text-align: center; margin-bottom: 60px; }
.donation-box { background: rgba(255,255,255,0.1); padding: 40px; border-radius: 8px; text-align: center; }
.list-wrapper { display: inline-block; margin: 0 auto; }
.donation-box ul { list-style: disc; list-style-position: inside; padding: 0; margin: 0; text-align: left; }
.donation-box li { margin-bottom: 15px; color: #ccc; text-indent: -1.2em; padding-left: 1.2em; }
.list-link { color: var(--primary); text-decoration: underline; font-weight: 700; }

/* =========================================
   6. OUR CREW (ZIGZAG RESTORED)
   ========================================= */
.crew-section { padding: 80px 0; }
.crew-card { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-bottom: 80px; }
.crew-image img { width: 280px; height: 280px; object-fit: cover; border-radius: 50%; border: 8px solid var(--gray); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.crew-info { text-align: center; }
.crew-info h2 { font-family: 'Oswald'; font-size: 2rem; }
.crew-role { display: block; color: var(--primary); font-weight: 700; text-transform: uppercase; margin-bottom: 15px; font-size: 0.9rem; }
.crew-info p { font-size: 1.1rem; color: #555; max-width: 600px; }

/* =========================================
   7. PAST EVENTS (ACCORDION RESTORED)
   ========================================= */
.latest-event { padding: 60px 0; border-bottom: 1px solid #eee; }
.latest-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-top: 20px; }
.latest-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.event-date { display: block; color: var(--primary); font-weight: 700; margin: 10px 0 20px; }

.accordion { border-top: 1px solid #ddd; margin-top: 30px; }
.accordion-item { border-bottom: 1px solid #ddd; }
.accordion-header {
    width: 100%; padding: 20px; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--dark); transition: 0.3s;
}
.accordion-header:hover { background: var(--gray); color: var(--primary); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fafafa; }
.accordion-item.active .accordion-content { max-height: 3000px; }
.accordion-inner { padding: 30px; }
.archive-stats { display: flex; gap: 30px; margin: 20px 0; padding: 15px; background: var(--gray); border-radius: 4px; }

/* =========================================
   8. FOOTER & UTILITIES
   ========================================= */
.dark-bg { background: var(--dark); color: white; padding: 60px 0; text-align: center; }
footer { padding: 40px 0; text-align: center; color: #777; font-size: 0.9rem; background: #f9f9f9; }

/* =========================================
   9. RESPONSIVE QUERIES (FIREWALL)
   ========================================= */
@media (min-width: 768px) {
    .nav-links { display: flex !important; }
    .menu-toggle { display: none !important; }
    .featured { grid-template-columns: 2fr 1fr; }
    .signup-form { flex-direction: row; justify-content: center; }
    .signup-form input { width: 300px; }
    
    .crew-card { flex-direction: row; text-align: left; }
    .crew-info { text-align: left; }
    .crew-card:nth-child(even) { flex-direction: row-reverse; }
    .crew-card:nth-child(even) .crew-info { text-align: right; }

    .latest-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: var(--dark); 
        padding: 20px 0;
        text-align: center; 
        border-top: 1px solid #333;
    }

    .nav-links.mobile-active { 
        display: flex; 
    }

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1.1rem;
        display: block;
        padding: 18px;
        border-bottom: 1px solid #222;
    }

    /* FULL WIDTH DROPDOWN LOGIC */
    .dropdown-menu {
        position: static; /* Removes the "small box" positioning */
        width: 100%;      /* Forces it to span the full width of the menu */
        display: none;    /* Still hidden until hover/click */
        box-shadow: none; /* Removes desktop shadow for a flatter mobile look */
        padding: 0;
        border-top: none;
    }

    /* Shows the dropdown at full width when active */
    .dropdown:hover .dropdown-menu,
    .dropdown.mobile-open .dropdown-menu { 
        display: block; 
    }

    .dropdown-menu li a {
        padding: 15px 20px;
        background: #1a1a1a; /* Distinct darker shade to show it's a sub-menu */
        font-size: 0.95rem;
        border-bottom: 1px solid #222;
        width: 100%;
    }

    .impact-stats { flex-direction: column; gap: 30px; }
    .time-row { flex-direction: column; gap: 5px; }
}

/* =========================================
   10. ONEDAY PAGE CUSTOMIZATIONS
   ========================================= */

/* Targeted Emoji Resizing */
.large-emoji {
    display: inline-block;
    font-size: 2.5rem; /* Adjust this number to make them bigger or smaller */
    line-height: 1;
    vertical-align: middle;
    margin-right: 10px;
}

/* Ensure they scale down slightly on small mobile screens */
@media (max-width: 480px) {
    .large-emoji {
        font-size: 2rem;
    }
}