/* Bouncing Bunnies public site — matches bouncingbunnies.online */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --yellow: #F5D547;
    --yellow-bar: #F7E04A;
    --navy: #192A56;
    --navy-dark: #0f1a38;
    --text: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --max: 1100px;
    --font: Arial, Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--navy);
    color: var(--white);
}
.skip-link:focus { left: 8px; top: 8px; }

/* ── Header ─────────────────────────────────────────── */

.site-header { position: sticky; top: 0; z-index: 100; }

.top-bar {
    background: var(--yellow-bar);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.top-bar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.hashtag {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.social-top {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-top a { line-height: 0; }

.nav-bar {
    background: var(--white);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-bar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-link { flex-shrink: 0; }

.logo-img {
    height: 72px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 20px;
}

.site-nav a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.login-icon { opacity: 0.7; }

/* ── Hero ───────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 380px;
    background: #eee center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.hero-overlay {
    width: 100%;
    padding: 40px 20px 48px;
    background: linear-gradient(transparent 20%, rgba(0,0,0,0.45));
}

.hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    color: var(--white);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero .tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-cta-wrap {
    max-width: var(--max);
    margin: -24px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

/* ── Buttons ────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .15s, transform .1s;
}

.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

/* ── Sections ───────────────────────────────────────── */

.section {
    padding: 56px 20px;
}

.section-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.section-alt { background: #f8f8f8; }

.section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    margin-bottom: 8px;
}

.section h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin: 24px 0 8px;
}

.section .subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.section p {
    margin-bottom: 16px;
    color: var(--text);
}

/* Two-column layouts */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.split-img img {
    width: 100%;
    border-radius: 4px;
}

.split-text .brand-line {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.split-text .brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

/* Cards row */

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.card-link {
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform .15s;
}
.card-link:hover { transform: translateY(-4px); }

.card-link img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-link span {
    font-weight: 700;
    color: var(--navy);
}

/* Page header (inner pages) */

.page-hero {
    background: var(--yellow-bar);
    padding: 48px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--navy);
}

/* Age group blocks */

.age-group {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}
.age-group:last-child { border-bottom: none; }

.age-group h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.age-group .age-range {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Schedule tables */

.schedule-block {
    margin-bottom: 36px;
}

.schedule-block h3 {
    background: var(--navy);
    color: var(--white);
    padding: 12px 16px;
    font-size: 1rem;
    margin: 0 0 0;
}

.schedule-block .age-label {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 400;
}

.schedule-times {
    background: #f5f5f5;
    padding: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.term-block {
    margin-bottom: 32px;
    padding: 24px;
    background: #f8f8f8;
    border-left: 4px solid var(--navy);
}

.term-block h3 { margin-top: 0; }

/* Team */

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    align-items: start;
}

.team-member:last-child { border-bottom: none; }

.team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    background: #eee;
}

.team-member h2 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 12px;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info p { margin-bottom: 12px; }

.contact-info a { word-break: break-all; }

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 16px;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.form-msg {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}
.form-msg.ok { background: #e8f5e9; color: #2e7d32; }
.form-msg.err { background: #ffebee; color: #c62828; }

/* Fees highlight */

.fees-box {
    text-align: center;
    padding: 48px 24px;
}

.fees-box .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin: 16px 0;
}

.fees-list {
    list-style: none;
    font-size: 1.1rem;
    line-height: 2;
}

/* Footer */

.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 32px 20px;
    text-align: center;
    font-size: 13px;
}

.footer-inner { max-width: var(--max); margin: 0 auto; }

.footer-copy { margin-bottom: 8px; }

.footer-tech a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}
.footer-tech a:hover { text-decoration: underline; }

/* WhatsApp float */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 90;
    transition: transform .15s;
}
.whatsapp-float:hover {
    transform: scale(1.05);
    color: var(--white);
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 900px) {
    .split,
    .cards-3,
    .contact-grid,
    .team-member {
        grid-template-columns: 1fr;
    }

    .team-photo {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .team-member { text-align: center; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        padding: 16px 20px;
    }

    .nav-bar-inner { position: relative; flex-wrap: wrap; }

    .site-nav.open { display: block; }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .social-top { right: 12px; }

    .hero-cta-wrap { justify-content: center; }

    .logo-img { height: 56px; }
}
