/* Ellis Tennis - Clean Minimal Design */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700&display=swap');

:root {
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f9f9f9;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

/* NAVIGATION */
.navbar {
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.navbar-brand i {
    margin-right: 8px;
    color: #2a7d1a;
}

.navbar-logo {
    width: 50px;
    height: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.2s ease;
    margin-left: 1.5rem;
}

.nav-link:hover {
    color: #2a7d1a !important;
}

.nav-link.active {
    color: #2a7d1a !important;
    border-bottom: 3px solid #2a7d1a;
    padding-bottom: 8px !important;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #0d5005 0%, #ffffff 100%);
    padding: 40px 20px;
    min-height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 30px;
}

.hero-logo {
    max-width: 400px;
    height: auto;
    margin-top: -60px; /* Pulls the logo up */
}

.hero-catchphrase {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    white-space: nowrap;
}

.gold-text {
    color: #d7b772;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-italic {
    font-style: italic;
    color: #1d5800;
}

.hero-section .btn-primary {
    background-color: #243522;
    border-color: #243522;
    font-weight: 600;
    padding: 12px 40px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-register {
    background-color: #243522 !important;
    border-color: #243522 !important;
    padding: 18px 50px !important;
    font-size: 1.3rem !important;
}

.btn-register:hover {
    background-color: #2a7d1a70 !important;
    border-color: #2a7d1a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 125, 26, 0.2);
}

.hero-section .btn-primary:hover {
    background-color: #ffffff83;
    border-color: #ffffff00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 255, 230, 0.2);
}

/* SECTIONS */
section {
    padding: 60px 20px;
}

section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

section p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.bg-light {
    background-color: var(--bg-light) !important;
    border-bottom: 1px solid var(--border-color);
}

/* FOOTER */
footer {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.8;
}

footer a {
    color: #2a7d1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #2a7d1a;
    text-decoration: underline;
}

footer p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* BUTTONS */
.btn-primary {
    background-color: #2a7d1a;
    border-color: #2a7d1a;
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #2a7d1a70;
    border-color: #2a7d1a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        min-height: auto;
        padding-top: 80px;
        align-items: flex-start;
    }

    .hero-catchphrase {
        font-size: 1.75rem;
    }

    .hero-logo {
        max-width: 150px;
    }

    .nav-link {
        margin-left: 0;
        padding: 8px 0 !important;
    }

    .nav-link.active {
        padding-bottom: 5px !important;
    }

    section {
        padding: 40px 20px;
    }

    section h3 {
        font-size: 1.5rem;
    }

    /* Mobile forms and iframes */
    iframe {
        max-width: 100%;
        width: 100% !important;
    }

    .google-forms-container {
        padding: 20px !important;
    }

    .lessons-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 60px;
    }

    .hero-section h1 {
        font-size: 1.3rem;
    }

    .hero-section .btn-primary,
    .btn-register {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }

    section h3 {
        font-size: 1.25rem;
    }

    section p {
        font-size: 0.95rem;
    }

    .navbar-logo {
        width: 40px;
    }

    .bio-section {
        flex-direction: column;
        gap: 15px;
    }

    .bio-content,
    .bio-image {
        flex: 0 0 100%;
    }
}

/* LESSONS PAGE SECTIONS */
.lessons-scroll-container {
    width: 100%;
}

.lessons-section {
    padding: 60px 20px;
}

.lessons-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

/* PRICING TEXT COLOR */
.text-success {
    color: #2a7d1a !important;
}

/* GOOGLE FORMS CONTAINER */
.google-forms-container {
    transition: all 0.3s ease;
}

.google-forms-container.form-submitted {
    max-height: 100px;
    overflow: hidden;
}
