/* ========================================
   HAWAII TITANS FASTPITCH — RED / NAVY SPORTY THEME
   ======================================== */

:root {
    --primary: #1b2a4a;
    --primary-light: #2c3e6b;
    --accent: #e63946;
    --accent-hover: #c5303c;
    --gold: #f4a623;
    --bg: #f5f6fa;
    --card-bg: #ffffff;
    --text: #222;
    --text-light: #555;
    --radius: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text); line-height: 1.65; background: var(--bg); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1rem; }

/* ---------- HEADER ---------- */
.header {
    position: sticky; top: 0; z-index: 900;
    background: var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 0; gap: 1rem; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-icon { font-size: 2rem; }
.logo-text h1 { font-size: 1.35rem; color: #fff; font-weight: 700; line-height: 1.2; }
.logo .tagline { font-size: .75rem; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }

.desktop-nav { display: flex; gap: 1.5rem; }
.desktop-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.desktop-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; padding: .4rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block; padding: .6rem 1.3rem; border: none; border-radius: var(--radius);
    font-size: .95rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .25s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(230,57,70,.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; text-align: center; }

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
    display: none; flex-direction: column;
    background: var(--primary-light); position: sticky; top: 60px; z-index: 899;
}
.mobile-nav a { color: #fff; text-decoration: none; padding: .85rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav a:hover { background: rgba(255,255,255,.06); }

/* ---------- HERO ---------- */
.hero {
    position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center;
    overflow: hidden; text-align: center; color: #fff;
}
.hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(27,42,74,.75) 0%, rgba(27,42,74,.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 3rem 1rem; }
.hero-content h2 { font-size: 2.6rem; margin-bottom: .75rem; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-lead { font-size: 1.2rem; margin-bottom: .5rem; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- SECTIONS ---------- */
.section { padding: 4rem 0; }
.section-title {
    text-align: center; font-size: 2rem; color: var(--primary); margin-bottom: 2.5rem;
    position: relative;
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 4px; background: var(--accent);
    margin: .6rem auto 0; border-radius: 2px;
}

/* ---------- ABOUT ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.about-img img { width: 100%; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.about-body h3 { font-size: 1.3rem; color: var(--primary); margin: 1.2rem 0 .5rem; }
.about-body h3:first-child { margin-top: 0; }
.about-body p { margin-bottom: .75rem; color: var(--text-light); }

.stat-row { display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.stat { text-align: center; flex: 1; min-width: 100px; background: var(--bg); padding: 1rem; border-radius: var(--radius); }
.stat-num { display: block; font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: .85rem; color: var(--text-light); }

/* ---------- PROGRAMS / CARDS ---------- */
.programs { background: var(--bg); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card {
    background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 1.4rem; }
.card-body h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: .5rem; }
.card-body p { color: var(--text-light); font-size: .95rem; }

/* ---------- EVENTS / INVOLVE ---------- */
.events { background: #fff; }
.involve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.involve-card {
    background: var(--bg); padding: 1.5rem; border-radius: var(--radius);
    border-left: 5px solid var(--accent); transition: transform .25s;
}
.involve-card:hover { transform: translateY(-4px); }
.involve-icon { font-size: 2rem; margin-bottom: .5rem; }
.involve-card h4 { color: var(--primary); margin-bottom: .4rem; font-size: 1.05rem; }
.involve-card p { color: var(--text-light); font-size: .93rem; }

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff; padding: 2.5rem; border-radius: var(--radius); text-align: center;
}
.cta-box h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.cta-box p { margin-bottom: 1.2rem; color: rgba(255,255,255,.85); }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--primary); color: rgba(255,255,255,.9); padding: 3rem 0 1rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--gold); margin-bottom: .8rem; font-size: 1.05rem; }
.footer-col p { margin-bottom: .6rem; font-size: .93rem; line-height: 1.6; }
.footer-col a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.email-highlight { font-size: 1.1rem; font-weight: 600; color: var(--gold) !important; }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- MODALS ---------- */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.55); align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
    background: #fff; border-radius: var(--radius); padding: 2rem; width: 92%; max-width: 480px;
    max-height: 85vh; overflow-y: auto; position: relative;
    animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal-sm { max-width: 360px; text-align: center; }
.modal-icon { font-size: 3rem; margin-bottom: .5rem; }
.modal-close {
    position: absolute; top: .8rem; right: 1rem; background: none; border: none;
    font-size: 1.5rem; cursor: pointer; color: var(--text-light);
}
.modal-close:hover { color: var(--accent); }
.modal h2 { color: var(--primary); margin-bottom: 1rem; font-size: 1.4rem; }
.modal h3 { color: var(--primary-light); margin: 1rem 0 .5rem; font-size: 1.05rem; }
.modal p { color: var(--text-light); margin-bottom: .75rem; line-height: 1.6; }

/* ---------- FORM ---------- */
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .93rem; color: var(--text); }
.field input, .field select, .field textarea {
    width: 100%; padding: .65rem .8rem; border: 2px solid #ddd; border-radius: 6px;
    font-family: inherit; font-size: .95rem; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero { min-height: 400px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stat-row { justify-content: center; }
}
@media (max-width: 480px) {
    .logo-text h1 { font-size: 1.1rem; }
    .hero-content h2 { font-size: 1.5rem; }
    .section-title { font-size: 1.6rem; }
    .card-grid { grid-template-columns: 1fr; }
    .involve-grid { grid-template-columns: 1fr; }
    .btn-lg { padding: .7rem 1.4rem; font-size: .95rem; }
}
