/* Root palette and base reset */
:root {
    color-scheme: light;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --text: #0f172a;
    --muted: #475569;
    --accent: #22c55e;
    --accent-soft: #dcfce7;
    --accent-strong: #16a34a;
    --border: #e2e8f0;
    --shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

img,
iframe {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text);
}

.logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 1.4rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}

/* Hero */
.hero {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.78)), url('tennis-hero-bg.png') center/cover no-repeat;
    color: #f8fafc;
    text-align: center;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.4rem);
    line-height: 1.02;
    margin-bottom: 24px;
}

.hero-copy {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 34px;
    color: rgba(248, 250, 252, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    color: var(--text);
    margin-bottom: 16px;
}

.section-title p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 28px;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: var(--surface);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(34, 197, 94, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--text);
}

.card p {
    color: var(--muted);
    line-height: 1.8;
}

.testimonials {
    background: var(--surface-soft);
}

.testimonial {
    border-radius: 24px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow);
}

.testimonial p {
    color: #334155;
    margin-bottom: 18px;
}

.testimonial span {
    color: var(--accent-strong);
    font-weight: 700;
}

.about-section,
.contact-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about-section {
    align-items: start;
}

.about-content {
    text-align: left;
}

.about-content h2 {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.about-content p {
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 22px;
}

.bio-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.bio-list li {
    display: flex;
    gap: 14px;
    color: var(--text);
}

.bio-list li i {
    color: var(--accent);
    margin-top: 2px;
}

.coach-img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-card,
.contact-info-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow);
}

.contact-card h2,
.contact-info-card h3 {
    margin-bottom: 20px;
    color: var(--text);
}

.contact-card form {
    display: grid;
    gap: 18px;
}

.contact-card label {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 8px;
    display: block;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text);
}

.contact-card textarea {
    min-height: 170px;
}

.contact-card .btn {
    width: 100%;
}

.contact-detail {
    display: grid;
    gap: 18px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
}

.contact-detail-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-detail-item p,
.contact-detail-item a {
    color: var(--muted);
    line-height: 1.8;
}

.contact-info-card iframe {
    width: 100%;
    height: 300px;
    border-radius: 18px;
    border: none;
    margin-top: 24px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-weight: 600;
    margin-top: 18px;
}

.footer-social i {
    color: #ff0000;
    font-size: 1rem;
}

.footer-social:hover {
    color: #ffffff;
}

.membership-card,
.youtube-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.youtube-card {
    padding: 40px 32px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.youtube-card .card-icon {
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
}

.footer-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1200px;
    margin: 0 auto 32px;
}

.footer-brand,
.footer-links,
.footer-contact {
    display: grid;
    gap: 14px;
}

.footer-brand p,
.footer-contact p,
.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-icon {
    width: 38px;
    height: 38px;
    opacity: 0.8;
}

@media (max-width: 980px) {
    .about-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-wrap {
        padding: 16px 20px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        min-width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        padding: 16px 0 24px;
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.16);
        transform: translateY(-115%);
        transition: transform 0.25s ease, opacity 0.25s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 150;
        overflow-y: auto;
        max-height: calc(100vh - 84px);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        color: var(--text);
        font-size: 1.1rem;
        padding: 14px 24px;
        width: calc(100% - 48px);
        text-align: center;
        border-radius: 999px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--surface-soft);
        color: var(--accent-strong);
    }

    .hamburger {
        display: inline-flex;
        position: relative;
        z-index: 160;
    }

    .hero {
        min-height: auto;
        padding: 80px 20px;
    }

    .section {
        padding: 60px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


@media (max-width: 520px) {
    .hero-title {
        font-size: 2.7rem;
    }

    .card,
    .contact-card,
    .contact-info-card {
        padding: 24px;
        border-radius: 20px;
    }
}
