/* =====================================================
   THUNDERHAWKS — BLACK & ORANGE THEME
   Desktop-first with mobile breakpoints
   ===================================================== */

/* ── COLOUR TOKENS ── */
:root {
    --orange:        #ff6a00;
    --orange-dim:    #cc5200;
    --orange-glow:   rgba(255, 106, 0, 0.25);
    --orange-subtle: rgba(255, 106, 0, 0.08);
    --black:         #080808;
    --black-card:    #101010;
    --black-card2:   #161616;
    --black-nav:     rgba(8, 8, 8, 0.93);
    --text:          #ffffff;
    --text-muted:    #aaaaaa;
    --text-dim:      #cccccc;
    --border:        rgba(255, 106, 0, 0.12);
}
.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}
/* ── RESET & BASE ── */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: transparent;
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

/* ── BACKGROUND CANVAS ── */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--black);
}

/* ── TOP BAR ── */
.topbar {
    background: linear-gradient(90deg, #cc4400, var(--orange), #cc4400);
    padding: 8px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    position: relative;
    z-index: 30;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ══════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════ */
.navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 40px;
    height: 60px;
    background: var(--black-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 50;
    overflow: visible;
}

/* LOGO — intentionally overflows upward on desktop */
.logo {
    position: absolute;
    top: -20px;
    left: 40px;
    z-index: 60;
}

.logo img {
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 24px var(--orange-glow));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.08);
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 220px;
}

.nav-links a {
    text-decoration: none;
    color: #bbb;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.3s ease, background 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--orange);
    background: var(--orange-subtle);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 70;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ── */
.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.hero-overlay {
    position: absolute;
    bottom: 20%;
    left: 10%;
    max-width: 80%;
}

.hero-overlay h1 {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    margin: 0 0 10px;
    line-height: 1.15;
    text-shadow: 0 4px 24px rgba(0,0,0,0.8);
}

.hero-overlay p {
    font-size: clamp(0.95rem, 2.5vw, 1.3rem);
    color: #e0c8b0;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* ── VISION SECTION ── */
.vision-section {
    padding: 60px 40px;
    max-width: 1100px;
    margin: auto;
}

.vision-card.main {
    background: linear-gradient(135deg, #111008, #1a1200);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,106,0,0.05);
}

.vision-card.main h2 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-bottom: 16px;
    color: var(--orange);
}

.vision-card.main p {
    color: var(--text-dim);
    line-height: 1.8;
    margin: 0;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.vision-card {
    background: var(--black-card);
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid var(--border);
}

.vision-card h3 {
    margin: 0 0 10px;
    color: var(--orange);
}

.vision-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.vision-card:hover {
    transform: translateY(-8px);
    background: var(--black-card2);
    box-shadow: 0 15px 40px var(--orange-glow);
    border-color: rgba(255, 106, 0, 0.3);
}

/* Sports image */
.vision-image-container {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.vision-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* Sports cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: var(--black-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px var(--orange-glow);
    border-color: rgba(255, 106, 0, 0.3);
}

.card h3 {
    margin: 0 0 10px;
    color: var(--orange);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ── GALLERY ── */
.gallery-section {
    padding: 40px 20px;
    text-align: center;
}

.gallery-section h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 20px;
    color: var(--orange);
}

.gallery-container {
    position: relative;
    max-width: 1200px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid rgba(255, 106, 0, 0.3);
    box-shadow: 0 0 50px rgba(255, 106, 0, 0.07);
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.gallery-item.active {
    opacity: 1;
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 8px;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

.caption-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 900px;
    color: #fff;
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    line-height: 1.6;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
    background: rgba(0, 0, 0, 0.5);
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 6px 14px;
    border-radius: 6px;
    border-left: 3px solid var(--orange);
}

/* ── PAGE ── */
.page {
    max-width: 900px;
    margin: 60px auto;
    padding: 20px 24px;
    line-height: 1.7;
}

.page h1 {
    margin-bottom: 20px;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    color: var(--orange);
}

.page p {
    color: var(--text-dim);
}

.page h3 {
    margin-top: 28px;
    color: var(--text);
}

/* ── ABOUT HERO ── */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: grayscale(20%) sepia(20%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 40px 24px;
}

.about-hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--orange);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(255, 106, 0, 0.4);
}

.about-hero-content p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: #eee;
}

/* ── SPONSORS ── */
.sponsor-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    align-items: center;
}

.sponsor-card {
    background: var(--black-card);
    padding: 25px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.sponsor-card img {
    width: 100%;
    height: 100%;
    max-height: 150px;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.sponsor-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.sponsor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px var(--orange-glow);
    border-color: rgba(255, 106, 0, 0.35);
}

/* ── FOOTER ── */
.footer {
    margin-top: 60px;
    padding: 30px 20px;
    text-align: center;
    background: var(--black);
    border-top: 1px solid var(--border);
}

.footer p {
    color: #555;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin: 0;
}

.footer .brand {
    color: var(--orange);
    font-weight: 600;
}

.footer .brand:hover {
    text-shadow: 0 0 12px var(--orange-glow);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 900px)
   ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .navbar { padding: 16px 24px; }
    .logo { left: 24px; }
    .logo img { height: 120px; }
    .nav-links { margin-left: 160px; gap: 4px; }
    .nav-links a { font-size: 13px; padding: 6px 8px; }
    .vision-section { padding: 40px 24px; }
    .gallery-container { height: 380px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 600px)
   ══════════════════════════════════════════════════ */
@media (max-width: 600px) {

    .navbar {
        height: 56px;
        padding: 0 16px;
        justify-content: space-between;
        overflow: visible;
    }

    .logo {
        position: static;
        display: flex;
        align-items: center;
        z-index: 60;
    }

    .logo img {
        height: 44px;
        filter: drop-shadow(0 2px 10px var(--orange-glow));
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        position: fixed;
        top: 92px;
        left: 0;
        right: 0;
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(16px);
        padding: 10px 0 20px;
        z-index: 200;
        border-bottom: 2px solid var(--orange);
        border-top: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
        padding: 14px 24px;
        border-radius: 0;
        color: #ccc;
        border-left: 3px solid transparent;
        transition: border-color 0.2s, color 0.2s, background 0.2s;
    }

    .nav-links a:hover {
        background: var(--orange-subtle);
        color: var(--orange);
        border-left-color: var(--orange);
    }

    .hero { height: 55vw; min-height: 220px; }
    .hero-overlay { bottom: 12%; left: 5%; max-width: 90%; }
    .vision-section { padding: 30px 16px; }
    .vision-card.main { padding: 24px 20px; }
    .vision-grid { grid-template-columns: 1fr; }
    .grid { grid-template-columns: 1fr; }
    .gallery-section { padding: 28px 12px; }

    .gallery-container {
        height: 56vw;
        min-height: 200px;
        border-radius: 8px;
    }

    .caption-overlay {
        font-size: 0.82rem;
        bottom: 12px;
        padding: 5px 10px;
        width: 90%;
    }

    .about-hero { min-height: 50vw; }
    .about-hero-content { padding: 28px 16px; }
    .page { margin: 32px auto; padding: 16px; }

    .sponsor-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .sponsor-card { height: 140px; padding: 16px; }
    .sponsor-card img { max-height: 100px; }
    .footer { margin-top: 40px; padding: 20px 16px; }
}