/* ==========================================================================
   Fort Myers Paintball — Main Stylesheet
   Mobile-first, custom CSS, no frameworks
   Brand color: #25998c (teal-green)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --brand:        #25998c;
    --brand-dark:   #1a6e65;
    --brand-light:  #e8f7f5;
    --accent:       #e84c1e;   /* orange-red for CTAs */
    --text:         #1a1a1a;
    --text-mid:     #444;
    --text-muted:   #777;
    --bg:           #ffffff;
    --bg-off:       #f7f9f8;
    --border:       #d4e8e5;
    --nav-h:        56px;      /* mobile nav height */
    --max-w:        1200px;
    --radius:       6px;
    --font-head:    'Oswald', 'Impact', sans-serif;
    --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition:   0.2s ease;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    letter-spacing: 0.03em;
    line-height: 1.2;
    color: var(--brand);
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Layout Wrapper
   -------------------------------------------------------------------------- */
.site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.page-content {
    flex: 1;
    padding: 32px 0 48px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    background: #fff;
    border-bottom: 3px solid var(--brand);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 12px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-logo img {
    height: 38px;
    width: auto;
}

.site-logo-text {
    font-family: var(--font-head);
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    color: var(--brand);
    text-transform: uppercase;
    line-height: 1.1;
}

.site-logo-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

/* Phone in header */
.header-phone {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--brand);
    letter-spacing: 0.04em;
    white-space: nowrap;
    display: none; /* shown at tablet+ */
}

.header-phone a { color: inherit; }
.header-phone a:hover { color: var(--brand-dark); }

/* Hamburger */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-nav {
    display: none;
    background: #fff;
    border-top: 1px solid var(--border);
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.site-nav.is-open { display: block; }

/* Mobile nav list */
.nav-list {
    list-style: none;
    padding: 8px 0;
}

.nav-list li { position: relative; }

.nav-list > li > a,
.nav-list > li > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    font-family: var(--font-head);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition), color var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > button:hover {
    background: var(--brand-light);
    color: var(--brand);
}

.nav-list > li > a.active,
.nav-list > li.active > a {
    color: var(--brand);
    border-left: 3px solid var(--brand);
}

/* Dropdown arrow */
.nav-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition);
}

.nav-item--has-sub.is-open .nav-arrow { transform: rotate(180deg); }

/* Submenu */
.nav-sub {
    display: none;
    list-style: none;
    background: var(--bg-off);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.nav-item--has-sub.is-open .nav-sub { display: block; }

.nav-sub li a {
    display: block;
    padding: 10px 20px 10px 36px;
    font-size: 0.88rem;
    color: var(--text-mid);
    transition: color var(--transition), background var(--transition);
}

.nav-sub li a:hover {
    color: var(--brand);
    background: var(--brand-light);
}

/* Hours bar (mobile: hidden in nav toggle area, shown below header) */
.hours-bar {
    background: var(--brand);
    color: #fff;
    text-align: center;
    font-size: 0.82rem;
    padding: 6px 20px;
    letter-spacing: 0.03em;
}

.hours-bar a { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Desktop Navigation (768px+)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    :root { --nav-h: 64px; }

    .header-phone { display: block; }
    .nav-toggle { display: none; }

    .site-nav {
        display: flex !important;
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        align-items: center;
        flex: 1;
        justify-content: flex-end;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 0;
    }

    .nav-list > li > a,
    .nav-list > li > button {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: var(--radius);
        white-space: nowrap;
    }

    .nav-list > li > a.active,
    .nav-list > li.active > a {
        border-left: none;
        background: var(--brand-light);
        color: var(--brand);
    }

    /* Desktop dropdowns */
    .nav-item--has-sub { position: relative; }

    .nav-sub {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        z-index: 200;
        border-top: 2px solid var(--brand);
    }

    .nav-item--has-sub:hover .nav-sub,
    .nav-item--has-sub.is-open .nav-sub { display: block; }

    .nav-sub li a {
        padding: 10px 16px;
    }
}

@media (min-width: 1024px) {
    .nav-list > li > a,
    .nav-list > li > button { font-size: 0.85rem; padding: 8px 14px; }
}

/* --------------------------------------------------------------------------
   Hero / Homepage Video Block
   -------------------------------------------------------------------------- */
.hero-video {
    width: 100%;
    background: #000;
    line-height: 0;
}

.hero-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   Info Banner (hours/tagline under hero)
   -------------------------------------------------------------------------- */
.info-banner {
    background: var(--brand-light);
    border-top: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    padding: 18px 0;
    text-align: center;
}

.info-banner__tagline {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--brand);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.info-banner__details {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.info-banner__details a { color: var(--brand); }
.info-banner__details strong { color: var(--brand); }

/* --------------------------------------------------------------------------
   CTA Button
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-head);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    font-size: 0.95rem;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #c73f16;
    border-color: #c73f16;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--brand);
    border-color: var(--brand);
}

.btn-secondary:hover {
    background: var(--brand);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Content Section
   -------------------------------------------------------------------------- */
.content-section {
    padding: 40px 0;
}

.content-section + .content-section {
    border-top: 1px solid var(--border);
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--brand);
}

@media (min-width: 768px) {
    .section-title { font-size: 2rem; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--brand);
    color: #fff;
    padding: 32px 0 20px;
    margin-top: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 600px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .site-logo-text { color: #fff; }
.footer-brand .site-logo-text span { color: rgba(255,255,255,0.7); }

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
    line-height: 1.5;
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-address {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.footer-address a { color: rgba(255,255,255,0.85); }
.footer-address a:hover { color: #fff; }

.footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}
