/* ============================================
   KITSA Soccer Academy - Stylesheet
   Design: Bold Athletic — Navy + Gold
   ============================================ */

:root {
    --navy: #0d1b3e;
    --navy-mid: #1a2f5e;
    --gold: #f5c518;
    --gold-dark: #d4a614;
    --white: #ffffff;
    --off-white: #f8f7f2;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --green: #25D366;
    --radius: 4px;
    --shadow: 0 4px 24px rgba(13,27,62,0.12);
    --shadow-lg: 0 12px 48px rgba(13,27,62,0.2);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Barlow', sans-serif;
    background: var(--off-white);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    letter-spacing: 2px;
    color: var(--navy);
    line-height: 1;
}
.section-title span { color: var(--gold); }
.section-subtitle { color: var(--gray); font-size: 1.1rem; margin-top: 0.5rem; }
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,197,24,0.35); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-navy { background: var(--navy); color: var(--white); }

/* ---- NAVBAR ---- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: var(--transition);
}
.navbar.scrolled {
    background: var(--navy);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none; color: var(--white);
    font-family: 'Bebas Neue', cursive; font-size: 1.6rem; letter-spacing: 2px;
}
.nav-logo-img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: white; padding: 2px; flex-shrink: 0; }
.logo-badge {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gold); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Bebas Neue', cursive; font-size: 1.2rem;
    flex-shrink: 0;
}
.nav-links { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.nav-links a {
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
    background: var(--gold) !important; color: var(--navy) !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important; letter-spacing: 1px !important;
    text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold-dark) !important; }
.nav-cta-secondary {
    background: rgba(255,255,255,0.1) !important; color: var(--white) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

/* ---- HERO ---- */
.hero-logo-wrap { display:flex; align-items:center; justify-content:center; }
.hero-logo { width: 280px; height: 280px; object-fit: contain; filter: drop-shadow(0 8px 40px rgba(245,197,24,0.25)); animation: floatLogo 4s ease-in-out infinite; }
@keyframes floatLogo { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@media (max-width:900px) { .hero-logo { width:180px; height:180px; } }
@media (max-width:700px) { .hero-logo-wrap { display:none; } }
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0a2447 100%);
    display: flex; align-items: center; position: relative; overflow: hidden;
    padding: 8rem 0 4rem;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-diagonal {
    position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
    background: var(--gold);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    opacity: 0.07;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before {
    content: ''; display: block; width: 32px; height: 2px; background: var(--gold);
}
.hero h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: var(--white);
    line-height: 0.95;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--gold); display: block; }
.hero-motto {
    font-style: italic; font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    border-left: 3px solid var(--gold);
    padding-left: 1rem; margin-bottom: 2rem;
}
.hero-details {
    display: flex; gap: 2rem; flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-detail {
    color: rgba(255,255,255,0.8); font-size: 0.95rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.hero-detail strong { color: var(--gold); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-graphic {
    position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
    width: 400px; opacity: 0.08;
    font-family: 'Bebas Neue', cursive;
    font-size: 20rem; color: var(--gold); line-height: 1;
    user-select: none; pointer-events: none;
}

/* ---- STATS BAR ---- */
.stats-bar {
    background: var(--gold);
    padding: 2.5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem; text-align: center;
}
.stat-item {}
.stat-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem; line-height: 1; color: var(--navy);
}
.stat-label {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--navy-mid);
}

/* ---- WELCOME / ABOUT SECTION ---- */
.welcome-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.welcome-text .section-title { margin-bottom: 1rem; }
.welcome-text p { color: var(--gray); margin-bottom: 1.25rem; }
.welcome-list { list-style: none; margin-bottom: 2rem; }
.welcome-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex; align-items: center; gap: 0.75rem;
    font-weight: 600;
}
.welcome-list li::before {
    content: '⚽'; font-size: 1rem;
}
.welcome-visual {
    background: var(--navy);
    border-radius: 8px;
    padding: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.welcome-visual::after {
    content: 'KITSA';
    position: absolute; right: -1rem; bottom: -1rem;
    font-family: 'Bebas Neue', cursive;
    font-size: 5rem; color: rgba(245,197,24,0.12);
    line-height: 1; user-select: none;
}
.fees-table { width: 100%; }
.fees-table tr td { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.fees-table tr td:last-child { text-align: right; font-weight: 700; color: var(--gold); }
.fees-table tr:last-child td { border-bottom: none; }

/* ---- PROGRAMS SECTION ---- */
.programs-section { background: var(--navy); }
.programs-section .section-title { color: var(--white); }
.programs-section .section-subtitle { color: rgba(255,255,255,0.6); }
.programs-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.program-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 2rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.program-card:hover { background: rgba(245,197,24,0.08); border-color: var(--gold); transform: translateY(-4px); }
.program-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.program-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.program-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    text-align: center; padding: 5rem 0;
}
.cta-section h2 { font-family: 'Bebas Neue', cursive; font-size: clamp(2.5rem, 5vw, 4rem); color: var(--navy); margin-bottom: 1rem; }
.cta-section p { color: var(--navy-mid); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---- REGISTRATION FORM ---- */
.form-section { background: var(--off-white); }
.form-card {
    background: var(--white); border-radius: 8px;
    padding: 3rem; box-shadow: var(--shadow-lg);
    max-width: 600px; margin: 0 auto;
}
.form-card h2 { font-family: 'Bebas Neue', cursive; font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--navy); }
.form-card .subtitle { color: var(--gray); margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-light); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; color: var(--navy); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.85rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: 'Barlow', sans-serif; font-size: 1rem;
    color: var(--navy); background: var(--off-white);
    transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert {
    padding: 1rem 1.25rem; border-radius: var(--radius);
    margin-bottom: 1.5rem; font-weight: 600;
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.form-footer { margin-top: 1rem; text-align: center; color: var(--gray); font-size: 0.9rem; }
.form-footer a { color: var(--navy); font-weight: 700; }

/* ---- SCHEDULE ---- */
.schedule-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.schedule-card {
    background: var(--white); border-radius: 8px;
    border-top: 4px solid var(--gold);
    padding: 1.75rem; box-shadow: var(--shadow);
}
.schedule-day {
    font-family: 'Bebas Neue', cursive; font-size: 1.8rem;
    color: var(--navy); margin-bottom: 1rem;
}
.schedule-item { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--gray-light); font-size: 0.95rem; }
.schedule-item:last-child { border-bottom: none; }
.schedule-time { font-weight: 700; color: var(--gold-dark); font-size: 0.85rem; }

/* ---- DASHBOARD ---- */
.dashboard-header {
    background: var(--navy); padding: 8rem 0 3rem;
    color: var(--white);
}
.dashboard-header h1 { font-family: 'Bebas Neue', cursive; font-size: 3rem; }
.dashboard-header p { color: rgba(255,255,255,0.7); }
.dashboard-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.dash-card {
    background: var(--white); border-radius: 8px;
    padding: 2rem; box-shadow: var(--shadow);
    text-align: center; text-decoration: none; color: var(--navy);
    border-bottom: 4px solid var(--gray-light);
    transition: var(--transition);
    display: block;
}
.dash-card:hover { border-bottom-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dash-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.dash-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.dash-card p { color: var(--gray); font-size: 0.9rem; }

/* ---- ADMIN TABLE ---- */
.admin-header { background: var(--navy); padding: 8rem 0 3rem; color: var(--white); }
.admin-header h1 { font-family: 'Bebas Neue', cursive; font-size: 3rem; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--navy); color: var(--white); padding: 1rem 1.25rem; text-align: left; font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; }
.data-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-light); font-size: 0.95rem; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--off-white); }
.table-wrap { overflow-x: auto; border-radius: 8px; margin-top: 2rem; }
.count-badge { background: var(--gold); color: var(--navy); padding: 0.2rem 0.75rem; border-radius: 20px; font-weight: 700; font-size: 0.9rem; }

/* ---- PHOTO STRIP ---- */
.photo-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:0.75rem; }
.photo-strip-item { border-radius:6px; overflow:hidden; aspect-ratio:4/3; }
.photo-strip-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; display:block; }
.photo-strip-item:hover img { transform:scale(1.05); }
@media(max-width:600px){ .photo-strip{ grid-template-columns:repeat(2,1fr); } }
.site-footer { background: var(--navy); color: var(--white); padding: 4rem 0 0; }
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.75rem; font-family: 'Bebas Neue', cursive; font-size: 1.5rem; margin-bottom: 1rem; }
.footer-motto { color: rgba(255,255,255,0.6); font-style: italic; font-size: 0.95rem; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.footer-socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-links h4, .footer-contact h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-bottom: 0.6rem; }
.footer-contact a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-fees { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-fees h4 { margin-top: 0; }
.footer-fees strong { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding: 1.5rem; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.85rem; max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    background: var(--green); color: var(--white);
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.75rem 1.25rem; border-radius: 50px;
    text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    font-weight: 700; font-size: 0.9rem;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---- PAGE BANNER ---- */
.page-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 8rem 0 4rem; color: var(--white);
}
.page-banner h1 { font-family: 'Bebas Neue', cursive; font-size: clamp(3rem, 6vw, 5rem); }
.page-banner p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-top: 0.5rem; }

/* ---- BREADCRUMB ---- */
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span::before { content: '/'; margin-right: 0.5rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .welcome-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .hero-graphic { display: none; }
}
@media (max-width: 700px) {
    .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); justify-content: center; align-items: center; gap: 1rem; }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.3rem; }
    .nav-toggle { display: flex; }
    .footer-container { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero { padding: 7rem 0 3rem; }
    .section { padding: 3.5rem 0; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 0.85rem; border-radius: 50%; }
}
