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

:root {
    --black: #000000;
    --black-light: #0a0a0a;
    --gray-950: #111111;
    --gray-900: #171717;
    --gray-800: #1e1e1e;
    --gray-700: #2a2a2a;
    --gray-600: #404040;
    --gray-500: #6b6b6b;
    --gray-400: #999999;
    --gray-300: #b3b3b3;
    --gray-200: #d4d4d4;
    --gray-100: #e5e5e5;
    --white: #ffffff;
    --accent: #e63224;
    --accent-dim: #c42a1e;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.smooth {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--gray-300);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--white);
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-400);
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-cta--court {
    background: transparent !important;
    border: 1px solid var(--accent) !important;
}

.nav-cta--court:hover {
    background: var(--accent) !important;
}


.nav-cta:hover {
    background: var(--accent-dim) !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: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    color: var(--white);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--accent);
}

.hero-sub {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gray-500), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    border-color: var(--white);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 14px;
}

/* ── Sections ── */
.section-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 560px;
    line-height: 1.7;
}

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--gray-950);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-desc {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.8;
    margin-top: 20px;
}

.about-desc strong {
    color: var(--white);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.stat {
    padding: 32px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ── Facilities ── */
.facilities {
    padding: 120px 0;
    background: var(--black);
}

.facility-card {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.facility-card--reverse {
    grid-template-columns: 1fr 1.2fr;
}

.facility-card--reverse .facility-images {
    order: 2;
}

.facility-card--reverse .facility-info {
    order: 1;
}

.facility-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.facility-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--gray-800);
}

.facility-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.facility-info p {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 24px;
}

.facility-features {
    list-style: none;
    display: grid;
    gap: 12px;
}

.facility-features li {
    font-size: 14px;
    color: var(--gray-300);
    padding-left: 24px;
    position: relative;
}

.facility-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.btn-facility {
    margin-top: 24px;
}


/* ── Programs ── */
.programs {
    padding: 120px 0;
    background: var(--gray-950);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.program-card {
    padding: 40px 32px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    transition: border-color 0.3s, transform 0.3s;
}

.program-card:hover {
    border-color: var(--gray-600);
    transform: translateY(-4px);
}

.program-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
    color: var(--accent);
}

.program-icon svg {
    width: 100%;
    height: 100%;
}

.program-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.program-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ── Coaches ── */
.coaches {
    padding: 120px 0;
    background: var(--black);
}

.coaches-feature {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.coaches-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--gray-800);
}

.coach {
    margin-bottom: 40px;
}

.coach:last-child {
    margin-bottom: 0;
}

.coach h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.coach-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 16px;
}

.coach p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.8;
}

/* ── CTA ── */
.cta-section {
    padding: 120px 0;
    background: var(--gray-950);
}

.cta-inner {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    border: 1px solid var(--gray-700);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.cta-inner h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-inner p {
    font-size: 17px;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-details {
    margin-top: 40px;
    display: grid;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.6;
}

.contact-item a {
    color: var(--gray-300);
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-800);
    min-height: 400px;
}

.contact-map iframe {
    display: block;
}

/* ── Footer ── */
.footer {
    padding: 64px 0 32px;
    background: var(--gray-950);
    border-top: 1px solid var(--gray-800);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 13px;
    color: var(--gray-500);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-700);
    border-radius: 50%;
    color: var(--gray-400);
    transition: color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
    color: var(--white);
    border-color: var(--white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-600);
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .facility-card,
    .facility-card--reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .facility-card--reverse .facility-images,
    .facility-card--reverse .facility-info {
        order: unset;
    }

    .coaches-feature {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--gray-950);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--gray-800);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-sub {
        font-size: 16px;
    }

    .about,
    .facilities,
    .programs,
    .coaches,
    .cta-section,
    .contact {
        padding: 80px 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .facility-images {
        grid-template-columns: 1fr;
    }

    .facility-images img {
        height: 240px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .cta-inner {
        padding: 48px 24px;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
