/* style.css - Worldflight Team USA | Full Site Styling */
/* Includes: index.html, about-event.html, about-charity.html, buttons, flip-board, responsive */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: #e2e8f0;
    background: #0f172a;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
    text-align: center;
    overflow: hidden;
}

.hero-image {
    max-width: 180px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.hero-image--large {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.hero-overlay {
    max-width: 900px;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-overlay h1 {
    font-size: 4.5rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    margin: 0;
}

.tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: #60a5fa;
    margin: 0;
    max-width: 800px;
}

.hero-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 24px;
    margin: 0;
}

.hero-buttons .btn {
    margin: 0;
    flex-shrink: 0;
}

/* ===== CLASSIC WIDE FLIP-BOARD DEPARTURE DISPLAY ===== */
#countdown {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #fff;
    padding: 24px 32px;
    border-radius: 16px;
    display: inline-block;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    border: 4px solid #222;
    margin: 0 auto;
    min-width: 720px;
    max-width: 900px;
    width: fit-content;
    font-weight: bold;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    overflow: hidden;
}

/* Header Row */
.ticker-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr 2fr;
    gap: 20px;
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 16px;
    padding: 0 12px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.ticker-header span {
    text-align: left;
}

.ticker-header .col-time {
    text-align: right;
}

/* Data Row */
.ticker-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 2fr;
    gap: 20px;
    align-items: center;
    font-size: 2.1rem;
    padding: 12px;
    background: #111;
    border-radius: 8px;
    margin-top: 8px;
}

.flight-code {
    font-size: 2.3rem;
    color: #fff;
    letter-spacing: 3px;
    text-align: left;
}

.dest {
    font-size: 2.1rem;
    color: #fff;
    text-align: center;
}

.timer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
}

.digit-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.digit {
    position: relative;
    width: 56px;
    height: 68px;
    background: #000;
    border: 2px solid #444;
    border-radius: 6px;
    overflow: hidden;
    font-size: 2rem;
    line-height: 64px;
    text-align: center;
    color: #fff;
    box-shadow: inset 0 0 12px rgba(255,255,255,0.1);
}

.digit::before,
.digit::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    background: #000;
    transition: transform 0.35s ease;
    backface-visibility: hidden;
}

.digit::before {
    top: 0;
    border-bottom: 1px solid #444;
    transform-origin: bottom;
}

.digit::after {
    bottom: 0;
    border-top: 1px solid #444;
    transform-origin: top;
    transform: rotateX(180deg);
}

.digit .front,
.digit .back {
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    font-weight: bold;
}

.digit .front {
    top: 0;
    background: #000;
    color: #fff;
}

.digit .back {
    bottom: 0;
    background: #000;
    color: #fff;
    transform: rotateX(180deg);
}

.digit.flip .front {
    transform: rotateX(-180deg);
}

.digit.flip .back {
    transform: rotateX(0);
}

.digit small {
    font-size: 0.65rem;
    color: #ccc;
    font-weight: normal;
    margin-left: 2px;
}

/* Live Status */
.ticker-row.live {
    grid-template-columns: 1.2fr 1fr 2fr;
}

.ticker-row.live .status {
    font-size: 1.9rem;
    color: #fff;
    text-align: right;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== NAVIGATION ===== */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(10px);
    z-index: 400;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #60a5fa;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.nav-logo i {
    margin-right: 10px;
    color: #f59e0b;
}

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

.nav-menu a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #f59e0b;
}

/* ===== MAIN CONTENT (INDEX) ===== */
main {
    padding-top: 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.mission-card {
    background: #1e293b;
    padding: 40px 20px;
    text-align: center;
    border-radius: 16px;
    color: #fff;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-card i {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 20px;
}

.mission-card.highlight {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    transform: scale(1.05);
}

.seat-banner {
    background: url('/images/dal209.jpg') center/cover fixed;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.seat-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15,23,42,0.8);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.charity-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 100px 0;
    align-items: center;
}

.spotlight-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.spotlight-text h2 {
    font-size: 2.8rem;
    color: #60a5fa;
}

.lead {
    font-size: 1.4rem;
    color: #f59e0b;
    margin: 15px 0;
}

.highlight-list {
    font-size: 1.2rem;
    line-height: 2;
    color: #e2e8f0;
    padding-left: 20px;
}

.highlight-list li {
    margin-bottom: 8px;
}

.live-stats {
    text-align: center;
    background: #1e293b;
    padding: 60px;
    border-radius: 20px;
    color: #fff;
    margin-bottom: 80px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #f59e0b;
}

.stat-number span {
    font-size: 1.5rem;
    display: block;
    color: #94a3b8;
    font-weight: normal;
}

/* ===== EVENT DESCRIPTION SECTION (ABOUT-EVENT) ===== */
.event-description {
    margin: 60px 0;
    text-align: center;
}

.event-description h2 {
    font-size: 3.2rem;
    color: #60a5fa;
    margin-bottom: 30px;
}

.event-description .lead {
    font-size: 1.4rem;
    color: #f59e0b;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.event-highlight {
    display: flex;
    align-items: center;
    background: #1e293b;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.event-highlight:hover {
    transform: translateY(-5px);
}

.event-highlight i {
    font-size: 4rem;
    color: #60a5fa;
    margin-right: 30px;
    flex-shrink: 0;
}

.event-highlight h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.event-highlight p {
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Tighter spacing on About Event page */
.about-event-page .event-description {
    margin-top: 40px;
}
/* ===== HISTORY PAGE STYLES ===== */
.about-history-page .history-intro,
.about-history-page .history-timeline,
.about-history-page .legacy-impact {
    margin: 60px 0;
    text-align: center;
}

.about-history-page .history-intro h2,
.about-history-page .history-timeline h2,
.about-history-page .legacy-impact h2 {
    font-size: 3.2rem;
    color: #60a5fa;
    margin-bottom: 30px;
}

.about-history-page .history-intro .lead,
.about-history-page .legacy-impact .lead {
    font-size: 1.4rem;
    color: #f59e0b;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Grid */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.timeline-item {
    background: #1e293b;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.timeline-item:hover {
    transform: translateY(-8px);
}

.timeline-item .year {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #f59e0b;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
}

.timeline-item .event-content {
    padding-top: 20px;
}

.timeline-item i {
    font-size: 2.5rem;
    color: #60a5fa;
    margin-bottom: 16px;
}

.timeline-item h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 12px;
}

.timeline-item p {
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Tighter spacing on History page */
.about-history-page .history-intro {
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    .timeline-item .year {
        position: static;
        text-align: center;
        margin-bottom: 16px;
    }
}
/* ===== OFFICIAL TEAMS PAGE STYLES ===== */
.official-teams-page .event-description {
    margin-top: 40px;
    text-align: center;
}
.official-teams-page .event-description h2 {
    font-size: 3.2rem;
    color: #60a5fa;
    margin-bottom: 30px;
}
.official-teams-page .event-description .lead {
    font-size: 1.4rem;
    color: #f59e0b;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.official-teams-page .event-description p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 40px;
}
.official-teams-page .event-description a {
    color: #60a5fa;
    text-decoration: none;
}
.official-teams-page .event-description a:hover {
    color: #f59e0b;
}

/* Teams Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}
.team-card {
    background: #1e293b;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.team-card:hover {
    transform: translateY(-8px);
}
.team-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.team-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 12px;
}
.team-card p {
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== CHARITY PAGE STYLES (ABOUT-CHARITY) ===== */
.about-charity-page .charity-intro,
.about-charity-page .community-impact,
.about-charity-page .our-partnership {
    margin: 60px 0;
    text-align: center;
}

.about-charity-page .charity-intro h2,
.about-charity-page .community-impact h2,
.about-charity-page .our-partnership h2 {
    font-size: 3.2rem;
    color: #60a5fa;
    margin-bottom: 30px;
}

.about-charity-page .charity-intro .lead,
.about-charity-page .community-impact .lead,
.about-charity-page .our-partnership .lead {
    font-size: 1.4rem;
    color: #f59e0b;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Highlight Grid */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 50px 0;
}

.highlight-card {
    background: #1e293b;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
}

.highlight-card i {
    font-size: 3.2rem;
    color: #60a5fa;
    margin-bottom: 16px;
}

.highlight-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 12px;
}

.highlight-card p {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Impact Items */
.impact-item {
    display: flex;
    align-items: center;
    background: #1e293b;
    padding: 28px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-item i {
    font-size: 3rem;
    color: #f59e0b;
    margin-right: 24px;
    flex-shrink: 0;
}

.impact-item h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 8px;
}

.impact-item p {
    color: #e2e8f0;
    line-height: 1.6;
}

/* Partnership CTA */
.partnership-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Tighter spacing on Charity page */
.about-charity-page .charity-intro {
    margin-top: 40px;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn.primary {
    background: #f59e0b;
    color: #0f172a;
}

.btn.primary:hover {
    background: #d97706;
    transform: scale(1.05);
}

.btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #60a5fa;
}

.btn.secondary:hover {
    background: #60a5fa;
    color: #0f172a;
}

.btn.outline {
    border: 2px solid #60a5fa;
    color: #60a5fa;
    background: transparent;
}

.btn.outline:hover {
    background: #60a5fa;
    color: #0f172a;
}

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== FOOTER ===== */
.main-footer {
    background: #0f172a;
    color: #64748b;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .hero-image--large {
        max-width: 320px;
    }
}

@media (min-width: 1200px) {
    .hero-image--large {
        max-width: 360px;
    }
}

@media (max-width: 992px) {
    .mission-grid,
    .charity-spotlight {
        grid-template-columns: 1fr;
    }

    .hero-overlay h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .charity-spotlight {
        text-align: center;
    }
}

@media (max-width: 768px) {
    #countdown {
        min-width: 100%;
        max-width: 100%;
        padding: 20px;
    }
    .ticker-header,
    .ticker-row {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    .ticker-header .col-time,
    .timer,
    .ticker-row.live .status {
        text-align: center;
        justify-content: center;
    }
    .digit {
        width: 48px;
        height: 58px;
        font-size: 1.7rem;
        line-height: 54px;
    }

    .event-highlight,
    .impact-item {
       