/* ===================================
   11TH CITY FOOTBALL ACADEMY
   Professional Website Stylesheet
   =================================== */

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

:root {
    --primary: #0f1d3d;
    --secondary: #1ec856;
    --accent: #ffc107;
    --light-bg: #f8f9fa;
    --border: #e0e0e0;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-lighter: #999;
    --white: #ffffff;
    --success: #17a043;
    --warning: #ff9800;
    --danger: #ff6b6b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===================================
   NAVIGATION
   =================================== */

nav {
    background-color: var(--primary);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent);
}

.donate-btn {
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.donate-btn:hover {
    background-color: transparent;
    color: var(--accent);
}

/* ===================================
   CONTAINER & LAYOUTS
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    background-color: var(--light-bg);
    padding: 1rem 2rem;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-light);
    margin: 0 0.5rem;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--success);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 200, 86, 0.3);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-dark-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-dark-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, rgba(15, 29, 61, 0.9) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(30,200,86,0.1)"/></pattern></defs><rect fill="url(%23dots)" width="1200" height="600"/></svg>');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 100px 2rem 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 200, 86, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===================================
   CARDS
   =================================== */

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 2rem;
    color: var(--white);
    text-align: center;
}

.card-body {
    padding: 2rem;
}

.card-footer {
    padding: 1.5rem 2rem;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border);
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card h3 {
    margin-top: 0;
}

/* ===================================
   STATISTICS
   =================================== */

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ===================================
   GRID LAYOUTS
   =================================== */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* ===================================
   FORMS
   =================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(30, 200, 86, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-item {
    margin-bottom: 0.75rem;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkbox-item label {
    display: inline;
    margin-bottom: 0;
    font-weight: normal;
}

/* ===================================
   PROGRESS BARS
   =================================== */

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--border);
    border-radius: 5px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--success));
    border-radius: 5px;
    transition: width 0.5s ease;
}

/* ===================================
   ALERTS & BADGES
   =================================== */

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.badge-urgent {
    background-color: #ff6b6b;
    color: var(--white);
}

.badge-high {
    background-color: #ffa94d;
    color: var(--white);
}

.badge-medium {
    background-color: var(--accent);
    color: var(--primary);
}

.badge-success {
    background-color: var(--secondary);
    color: var(--white);
}

.alert {
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

.alert-success {
    background-color: #e8f5e9;
    border-color: var(--secondary);
    color: var(--success);
}

.alert-warning {
    background-color: #fff3e0;
    border-color: var(--warning);
    color: #e65100;
}

.alert-danger {
    background-color: #ffebee;
    border-color: var(--danger);
    color: #c62828;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-bottom: 2rem;
    border-top: 4px solid var(--secondary);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    color: var(--white);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

.stars {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ===================================
   TABLES
   =================================== */

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.table thead {
    background-color: var(--primary);
    color: var(--white);
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.table tbody tr:hover {
    background-color: var(--light-bg);
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--success) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem auto;
    border-radius: 8px;
    max-width: 1200px;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   IMAGE PLACEHOLDERS
   =================================== */

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder-sm {
    height: 250px;
    font-size: 1rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    nav {
        padding: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        justify-content: center;
        width: 100%;
        flex-direction: column;
        text-align: center;
        font-size: 0.9rem;
    }

    .donate-btn {
        width: 100%;
    }

    .hero {
        padding: 50px 2rem 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: 3rem 1rem;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card, .testimonial, .stat-item {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ===================================
   UTILITIES
   =================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-4 { padding-top: 2rem; }
.pb-4 { padding-bottom: 2rem; }

.bg-light { background-color: var(--light-bg); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-light { color: var(--text-light); }

/* ===================================
   11TH CITY FOOTBALL ACADEMY - MEDIA & MOTION
   =================================== */
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55;animation:kenburns 24s ease-in-out infinite alternate;z-index:0}
.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,29,61,.55),rgba(15,29,61,.15) 60%,rgba(15,29,61,.7));z-index:0;pointer-events:none}
.hero-content{position:relative;z-index:2}
.hero-content>*{opacity:0;animation:heroIn .9s cubic-bezier(.2,.7,.2,1) forwards}
.hero-content>*:nth-child(2){animation-delay:.18s}.hero-content>*:nth-child(3){animation-delay:.36s}
@keyframes heroIn{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes kenburns{from{transform:scale(1) translate(0,0)}to{transform:scale(1.12) translate(-1.5%,-1%)}}
.hero-ball{position:absolute;right:8%;bottom:28px;font-size:3.2rem;z-index:2;animation:bounce 1.6s cubic-bezier(.3,.1,.3,1) infinite;filter:drop-shadow(0 18px 10px rgba(0,0,0,.35))}
@keyframes bounce{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-120px) rotate(180deg)}}
.logo span{display:inline-block;animation:spin 8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
nav{transition:padding .3s,box-shadow .3s}nav.scrolled{padding:.55rem 2rem;box-shadow:0 6px 24px rgba(0,0,0,.35)}

.ticker{background:var(--accent);color:var(--primary);overflow:hidden;white-space:nowrap;padding:.9rem 0;font-family:'Montserrat',sans-serif;font-weight:800;font-size:1.05rem}
.ticker-track{display:inline-flex;gap:2.5rem;animation:ticker 28s linear infinite}
.ticker:hover .ticker-track{animation-play-state:paused}
@keyframes ticker{to{transform:translateX(-50%)}}

.media{margin:0;border-radius:10px;overflow:hidden;position:relative;box-shadow:0 14px 44px rgba(15,29,61,.22);background:var(--primary)}
.media img{display:block;width:100%;height:400px;object-fit:cover;transition:transform .8s ease}
.media:hover img{transform:scale(1.07)}
.media figcaption{position:absolute;left:0;right:0;bottom:0;padding:2.2rem 1.2rem .9rem;color:#fff;font-weight:600;background:linear-gradient(transparent,rgba(15,29,61,.9))}

.video-section{background:var(--primary);color:#fff}
.video-section .section-header h2,.video-section .section-header p{color:#fff}
.video-wrap{max-width:960px;margin:0 auto;border-radius:12px;overflow:hidden;box-shadow:0 0 0 4px var(--secondary),0 26px 70px rgba(0,0,0,.5)}
.video-wrap video{display:block;width:100%;height:auto;background:#000}
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.2rem}
.gallery .media img{height:260px;cursor:zoom-in}
.lightbox{position:fixed;inset:0;background:rgba(5,10,25,.92);display:flex;align-items:center;justify-content:center;z-index:3000;opacity:0;pointer-events:none;transition:opacity .3s}
.lightbox.open{opacity:1;pointer-events:auto}
.lightbox img{max-width:92vw;max-height:86vh;border-radius:8px;transform:scale(.92);transition:transform .35s}
.lightbox.open img{transform:none}

.js .reveal{opacity:0;transform:translateY(34px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}
.progress-fill{transition:width 1.5s cubic-bezier(.2,.7,.2,1)}
.btn-primary{position:relative}
.hero .btn-primary{animation:pulse 2.4s ease-in-out 1.6s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(30,200,86,.55)}50%{box-shadow:0 0 0 14px rgba(30,200,86,0)}}
.card{transition:transform .35s,box-shadow .35s}.card:hover{transform:translateY(-8px);box-shadow:0 22px 50px rgba(15,29,61,.2)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media (max-width:768px){.media img{height:260px}.hero-ball{font-size:2.4rem;right:5%}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.js .reveal,.hero-content>*{opacity:1!important;transform:none!important}}
