/* ============================================================
   District 7 Alliance — Bright Sunrise Palette
   Warm orange + sunny gold + sky blue + green life
   ============================================================ */

:root {
    --orange: #FF6B35;
    --orange-bright: #FF8C42;
    --orange-deep: #E85D26;
    --gold: #FFB627;
    --gold-light: #FFD76F;
    --gold-dark: #E5A000;
    --peach: #FFCBA4;
    --sky: #4EA8DE;
    --sky-light: #7EC8E3;
    --teal: #2DC2A8;
    --green: #5CB85C;
    --blue-bright: #3A86FF;
    --warm-bg: #FFFAF5;
    --cream: #FFF5E8;
    --navy: #1E3A8A;
    --success: #059669;
    --danger: #DC2626;
    --g50: #FAFAF8;
    --g100: #F5F3EF;
    --g200: #E8E4DD;
    --g300: #D4CFC5;
    --g400: #A09888;
    --g500: #6B6356;
    --g700: #3D3830;
    --g800: #2A2520;
    --g900: #1A1612;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(255,107,53,0.1);
    --shadow-lg: 0 12px 40px rgba(255,107,53,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--g800);
    background: var(--warm-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- NAVIGATION ---- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.35s ease;
}
.nav.scrolled {
    background: rgba(255,107,53,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { height: 48px; width: auto; border-radius: 4px; }
.nav.scrolled .nav-logo img { height: 40px; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu a {
    padding: 0.5rem 0.85rem; font-size: 0.88rem; font-weight: 600;
    color: rgba(255,255,255,0.92); border-radius: 8px; transition: all 0.2s;
}
.nav-menu a:hover { background: rgba(255,255,255,0.2); color: #fff; }
.nav-menu a.active { color: var(--gold-light); }
.nav-cta {
    background: var(--gold) !important; color: var(--g900) !important;
    font-weight: 700 !important; padding: 0.5rem 1.25rem !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 0.5rem;
}
.nav-toggle span { width: 24px; height: 2.5px; background: white; border-radius: 2px; }

/* ---- HERO ---- */
.hero {
    position: relative; min-height: auto;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% 110%, rgba(255,214,110,0.35) 0%, transparent 50%),
        linear-gradient(180deg, var(--orange) 0%, var(--orange-bright) 35%, #FFA06A 65%, #FFBE8A 100%);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding: 6rem 1.5rem 3rem;
    max-width: 760px;
}
.hero-logo {
    width: 260px; margin: 0 auto 1.25rem;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.15));
    animation: fadeInUp 0.8s ease-out;
}
.hero-tagline {
    font-size: 1.1rem; color: rgba(255,255,255,0.95);
    line-height: 1.75; margin-bottom: 1.5rem; font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

/* Hero dates */
.hero-dates {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero-date {
    background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3); border-radius: 10px;
    padding: 0.6rem 1.1rem; text-align: center; min-width: 140px;
}
.hero-date .hd-label {
    font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-light);
}
.hero-date .hd-value {
    font-family: 'Poppins', sans-serif; font-size: 0.92rem;
    font-weight: 700; color: #fff; margin-top: 0.1rem;
}
.hero-date .hd-sub { font-size: 0.72rem; color: rgba(255,255,255,0.75); }

.hero-wave {
    position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 2rem; border-radius: 10px;
    font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 700;
    transition: all 0.25s ease; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--gold); color: var(--g900); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { background: var(--cream); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #2B4FA0; }
.btn-white-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-gold-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-gold-outline:hover { background: var(--orange); color: #fff; }

/* ---- SECTIONS ---- */
.section { padding: 4.5rem 0; }
.section-badge {
    display: inline-block; background: var(--gold-light); color: var(--orange-deep);
    font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.15em;
    padding: 0.3rem 1rem; border-radius: 20px; margin-bottom: 0.75rem;
}
.section h2 { font-size: 2.1rem; color: var(--orange-deep); margin-bottom: 1.25rem; }

/* Mission */
.mission { text-align: center; background: var(--warm-bg); }
.mission-text {
    font-size: 1.12rem; color: var(--g500); max-width: 760px;
    margin: 0 auto; line-height: 1.9;
    opacity: 0; transform: translateY(20px); transition: all 0.6s ease;
}
.mission-text.visible { opacity: 1; transform: translateY(0); }

/* Map section */
.map-section { background: #fff; padding: 0; }
.map-section-header {
    text-align: center;
    padding: 3rem 1.5rem 1.5rem;
    background: var(--warm-bg);
}
.map-section-header h2 { color: var(--orange-deep); }
.map-section-header p {
    color: var(--g500); max-width: 560px;
    margin: 0 auto; font-size: 0.95rem;
}
.map-embed-flat {
    width: 100%; border: none; display: block;
    min-height: 1200px; transition: height 0.3s ease;
}

/* Features */
.features { background: #fff; }
.features .container { text-align: center; }
.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; margin-top: 2.5rem; text-align: left;
}
.feature-card {
    background: var(--warm-bg); border: 1px solid var(--g200);
    border-radius: var(--radius); padding: 1.75rem;
    transition: all 0.3s ease; display: block;
    opacity: 0; transform: translateY(20px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
    border-color: var(--orange-bright);
}
.fc-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1.05rem; color: var(--orange-deep); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; color: var(--g500); line-height: 1.65; margin-bottom: 0.75rem; }
.fc-link { font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--orange); }
.feature-card:hover .fc-link { color: var(--orange-deep); }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--orange), var(--orange-bright), var(--gold));
    color: #fff; text-align: center; padding: 5rem 0;
}
.cta-section h2 { color: #fff; font-size: 2rem; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.05rem; max-width: 580px; margin: 0 auto 2rem; }

/* ---- PAGE HEADER ---- */
.page-header {
    background: linear-gradient(135deg, var(--orange), var(--orange-bright));
    padding: 7rem 0 3rem; text-align: center; color: #fff;
    position: relative;
}
.page-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 60px; background: var(--warm-bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 { font-size: 2.4rem; margin-bottom: 0.5rem; }
.page-header p { font-size: 1rem; opacity: 0.85; max-width: 500px; margin: 0 auto; }

/* ---- IFRAME PAGES ---- */
.iframe-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.iframe-container {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--g200); background: #fff;
}
.iframe-container iframe { width: 100%; border: none; display: block; }

/* ---- STORY ---- */
.story-content { max-width: 740px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.story-content p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 1.5rem; color: var(--g700); }
.story-content .dropcap::first-letter {
    float: left; font-family: 'Poppins', sans-serif;
    font-size: 4rem; font-weight: 900; color: var(--orange);
    line-height: 0.85; margin: 0.05em 0.12em 0 0;
}
.story-content .highlight-quote {
    border-left: 4px solid var(--orange); padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 2rem 0; background: var(--cream);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.1rem; font-weight: 600; color: var(--orange-deep);
    font-style: italic; line-height: 1.7;
}

/* ---- GET INVOLVED ---- */
.involve-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; padding: 3rem 0;
}
.involve-card {
    background: #fff; border: 1px solid var(--g200); border-radius: var(--radius);
    padding: 2rem; text-align: center; transition: all 0.3s;
}
.involve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-bright); }
.involve-card .ic-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.involve-card h3 { font-size: 1.1rem; color: var(--orange-deep); margin-bottom: 0.5rem; }
.involve-card p { font-size: 0.88rem; color: var(--g500); margin-bottom: 1.25rem; line-height: 1.6; }

/* ---- FOOTER ---- */
.footer { background: var(--g900); color: rgba(255,255,255,0.7); padding: 3rem 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem; padding-bottom: 2.5rem;
}
.footer-brand p { font-size: 0.88rem; margin-top: 0.5rem; color: var(--orange-bright); font-weight: 600; }
.footer-logo { height: 64px; width: auto; border-radius: 4px; }
.footer-links h4 {
    font-family: 'Poppins', sans-serif; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3); margin-bottom: 0.75rem;
}
.footer-links a { display: block; font-size: 0.88rem; padding: 0.3rem 0; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-bright); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0; text-align: center; font-size: 0.8rem;
}
.footer-bottom a { color: var(--orange-bright); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section h2 { font-size: 1.8rem; }
    .hero-logo { width: 200px; }
}

@media (max-width: 680px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--orange-deep); flex-direction: column;
        padding: 1rem; gap: 0; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 0.85rem 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

    .hero-logo { width: 180px; }
    .hero-tagline { font-size: 0.95rem; }
    .hero-content { padding-top: 5rem; }
    .hero-dates { gap: 0.5rem; }
    .hero-date { min-width: 110px; padding: 0.5rem 0.65rem; }
    .hero-date .hd-value { font-size: 0.82rem; }

    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 1.8rem; }
    .involve-grid { grid-template-columns: 1fr; }
    .map-embed-flat { min-height: 900px; }
}
