/* ═══════════════════════════════════════════════════════
   HEADER & NAVIGATION — Zone-All Controls
   Shared across all pages via includes/header.php
═══════════════════════════════════════════════════════ */

/* ─── RESET ──────────────────────────────────────────── */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* ─── SITE HEADER ────────────────────────────────────── */

.site-header {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    /* Transparent by default — sits over hero images on all pages */
    background: linear-gradient(
        to bottom,
        rgba(11, 31, 46, 0.65) 0%,
        rgba(11, 31, 46, 0.00) 100%
    );

    color: white;
    border-bottom: none;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
}



/* Inner pages — same transparent gradient, hero sits behind header */
body.inner-page .site-header {
    background: linear-gradient(
        to bottom,
        rgba(11, 31, 46, 0.65) 0%,
        rgba(11, 31, 46, 0.00) 100%
    );
}



/* ─── LOGO ───────────────────────────────────────────── */

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
}

.logo-main {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

/* Red dot between ZONE and ALL */
.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #e53935;
    border-radius: 50%;
    margin: 0 4px;
    transform: translateY(-1px);
}

.logo-sub {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.85;
}

/* ─── NAVIGATION ─────────────────────────────────────── */

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.main-nav a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

/* Active page underline indicator */
.main-nav a.active {
    color: white;
    position: relative;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.7);
}

.nav-toggle {
    display: none;              /* hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.25s ease;
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.18);
}

/* The three lines */
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
/* ─── SHARED FOOTER ──────────────────────────────────── */
/* Defined here since footer appears on every page */

.site-footer {
    background: #0b1f2e;
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 32px 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content p {
    margin: 6px 0;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */

/* ── Large Tablet (max 960px) ── */
@media (max-width: 960px) {

    .site-header {
        padding: 0 32px;
    }

    .main-nav { gap: 18px; }
    .main-nav a { font-size: 13px; }
    .logo-main { font-size: 24px; }
    .logo-sub { font-size: 16px; }
}

/* ── Mobile (max 768px) ── */
@media (max-width: 768px) {

    .site-header {
        padding: 0 20px;
        height: 64px;
        background: #0b1f2e;
    }

 
    /* Show hamburger */
    .nav-toggle {
        display: flex;   /* ← only thing needed here */
    }

    /* Full-screen nav overlay */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0b1f2e;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 1003;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
        height: 100vh;
    }

    .main-nav a {
        font-size: 22px;
        font-weight: 700;
        color: rgba(255,255,255,0.85);
        padding: 14px 40px;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: white;
        background: rgba(229,57,53,0.15);
        text-shadow: none;
    }

    .main-nav a.active::after { display: none; }
    .logo-sub { display: none; }
}

/* ── Small Mobile (max 480px) ── */
@media (max-width: 480px) {

    .site-header {
        padding: 0 16px;
        height: 60px;
    }

    .logo-main { font-size: 22px; }

    .main-nav a {
        font-size: 18px;
        padding: 12px 32px;
    }
}