
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --cream: #F7F6F0;
    --white: #fff;
    --green: #126B45;
    --deep: #073D29;
    --bright: #159447;
    --lime: #D7F238;
    --orange: #F26B21;
    --orange2: #D95412;
    --ink: #10251C;
    --muted: #617067;
    --line: #DCE4DE;
    --shadow: 0 18px 50px rgba(7, 61, 41, .12);
    --radius: 24px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: auto;
}

/* =========================
   HEADER AND NAVIGATION
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 246, 240, .95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(18, 107, 69, .12);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border: 2px solid var(--green);
    flex-shrink: 0;
}

.brand-mark img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    object-position: center;
}

.brand-text {
    color: var(--deep);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .03em;
}

.brand-text small {
    display: block;
    color: var(--orange);
    font-size: 9px;
    letter-spacing: .19em;
    margin-top: 5px;
}

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-links a {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: #385047;
    padding: 28px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 19px;
    height: 3px;
    border-radius: 99px;
    background: var(--lime);
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 26px;
    color: var(--deep);
    cursor: pointer;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 23px;
    border-radius: 999px;
    border: 0;
    font-weight: 800;
    font-size: 14px;
    transition: .2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: var(--orange);
    box-shadow: 0 10px 24px rgba(242, 107, 33, .24);
}

.btn-primary:hover {
    background: var(--orange2);
}

.btn-light {
    background: var(--lime);
    color: var(--deep);
}

/* =========================
   HERO SECTIONS
========================= */

.hero {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 25%, rgba(215, 242, 56, .28) 0 7%, transparent 7.3%),
        linear-gradient(120deg, var(--deep), var(--green) 62%, var(--bright));
    color: #fff;
}

.compact-hero {
    min-height: 455px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 80px 0;
}

.eyebrow {
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 13px;
}

.hero .eyebrow {
    color: var(--lime);
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.05;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(48px, 7vw, 82px);
    letter-spacing: -.055em;
    max-width: 850px;
}

h2 {
    font-size: clamp(32px, 4vw, 50px);
    letter-spacing: -.045em;
}

h3 {
    font-size: 24px;
    letter-spacing: -.025em;
}

.hero p {
    max-width: 650px;
    font-size: 19px;
    color: rgba(255, 255, 255, .84);
    margin: 0 0 30px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    right: -110px;
    top: 40px;
    border: 1px solid rgba(215, 242, 56, .45);
    border-radius: 50%;
    box-shadow: inset 0 0 0 50px rgba(215, 242, 56, .04);
}

.hero::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: 12%;
    top: 23%;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .18);
    transform: rotate(-18deg);
}

.hero .container::after {
    content: '';
    position: absolute;
    width: 105px;
    height: 105px;
    right: calc(12% + 37px);
    top: calc(23% + 37px);
    border: 3px solid rgba(18, 107, 69, .65);
    border-left-color: transparent;
    border-radius: 50%;
    transform: rotate(24deg);
}

/* =========================
   HOMEPAGE FEATURE PHOTO
========================= */

.home-photo {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(7, 61, 41, .78), rgba(18, 107, 69, .25)),
        url("../images/img5.jpg") center center / cover no-repeat;
}

.home-photo::before {
    content: 'ON THE COURT';
    position: absolute;
    top: 32px;
    right: 40px;
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.home-photo .container {
    position: relative;
    z-index: 2;
    padding: 70px 0;
}

.home-photo h2 {
    max-width: 650px;
    font-size: clamp(34px, 5vw, 60px);
}

.home-photo p {
    max-width: 580px;
    font-size: 18px;
    color: rgba(255, 255, 255, .9);
}

/* Hide old decorative court graphics when using a real photo */

.photo-fallback::after {
    content: '';
    position: absolute;
    inset: 9% 8%;
    border: 3px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    transform: perspective(700px) rotateX(35deg);
}

.photo-fallback::before {
    z-index: 3;
}

.racket-doodle {
    position: absolute;
    right: 7%;
    bottom: 5%;
    width: 150px;
    height: 150px;
    border: 12px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    transform: rotate(28deg);
    z-index: 3;
}

.racket-doodle::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 95px;
    background: var(--orange);
    left: 55px;
    top: 112px;
    border-radius: 10px;
    transform: rotate(-4deg);
}

/* =========================
   CENTERED PHOTO STYLES
========================= */

/* Homepage program card photos */

.home-program-cards .card {
    padding: 0;
    min-height: 0;
}

.program-photo {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center center;
}

/* Content below each program photo */

.program-card-content {
    position: relative;
    padding: 26px 28px 32px;
}

.program-card-content .tag {
    margin-bottom: 16px;
}

/* Coaching photo row */

.home-coaching {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.home-coaching figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: var(--deep);
}

.home-coaching img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center center;
}

.home-coaching figcaption {
    padding: 15px 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.section-action {
    margin-top: 32px;
    text-align: center;
}

/* Optional per-image positioning.
   Adjust these percentages if a player is still off-center. */

.program-photo[src*="img1"] {
    object-position: center center;
}

.program-photo[src*="img3"] {
    object-position: center center;
}

.program-photo[src*="img7"] {
    object-position: center center;
}

.home-coaching img[src*="img6"] {
    object-position: center center;
}

.home-coaching img[src*="img9"] {
    object-position: center center;
}

/* =========================
   STATS
========================= */

.stats {
    background: var(--deep);
    color: #fff;
}

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

.stat {
    min-height: 155px;
    padding: 32px 24px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--lime);
    font-size: 44px;
    line-height: 1;
}

.stat span {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 100px 0;
}

.cream {
    background: #EAF0E9;
}

.section-head {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 48px;
}

.section-head > p,
.prose > p,
.copy > p {
    color: var(--muted);
    font-size: 17px;
}

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

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.six-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    min-height: 260px;
    box-shadow: 0 10px 30px rgba(7, 61, 41, .04);
    transition: .22s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(18, 107, 69, .35);
    box-shadow: var(--shadow);
}

.card::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: var(--lime);
    opacity: .32;
    pointer-events: none;
}

.tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.card p {
    color: var(--muted);
    margin: 0;
}

.card-arrow {
    position: absolute;
    right: 25px;
    top: 28px;
    color: var(--orange);
    font-weight: 800;
    font-size: 22px;
    z-index: 2;
}

/* =========================
   SPLIT SECTIONS AND IMAGE PANELS
========================= */

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

.image-panel {
    min-height: 480px;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(145deg, rgba(18, 107, 69, .2), rgba(7, 61, 41, .2)),
        repeating-linear-gradient(0deg, transparent 0 74px, rgba(255, 255, 255, .28) 75px 77px),
        repeating-linear-gradient(90deg, transparent 0 74px, rgba(255, 255, 255, .28) 75px 77px),
        linear-gradient(135deg, #78b47a, #126B45);
    box-shadow: var(--shadow);
}

.image-panel::before {
    content: 'DOUG BOWIE';
    position: absolute;
    left: 24px;
    top: 22px;
    color: rgba(255, 255, 255, .75);
    font-weight: 800;
    letter-spacing: .14em;
    font-size: 10px;
}

.image-panel::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    right: 28px;
    bottom: 25px;
    border: 11px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    transform: rotate(25deg);
    box-shadow: 0 0 0 8px rgba(215, 242, 56, .22);
}

.mini-racket::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 105px;
    background: var(--orange);
    right: 87px;
    bottom: -8px;
    border-radius: 10px;
    transform: rotate(-8deg);
    z-index: 2;
}

.feature-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--deep);
    display: grid;
    place-items: center;
    font-weight: 800;
    flex: 0 0 auto;
}

.feature b {
    display: block;
    margin-bottom: 2px;
}

.feature span:not(.number) {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   UPDATES
========================= */

.status {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--deep);
    color: #fff;
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 7px rgba(215, 242, 56, .13);
    flex-shrink: 0;
}

.status span {
    color: rgba(255, 255, 255, .7);
}

.updates {
    display: grid;
    gap: 15px;
}

.update {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.update h3 {
    margin: 0 0 7px;
}

.update p {
    margin: 0;
    color: var(--muted);
}

/* =========================
   GALLERY MOSAIC
========================= */

.mosaic {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 15px;
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    display: flex;
    align-items: end;
    padding: 24px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    font-weight: 700;
    background:
        linear-gradient(145deg, rgba(7, 61, 41, .05), rgba(7, 61, 41, .65)),
        repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 255, 255, .22) 71px 73px),
        linear-gradient(135deg, #159447, #073D29);
}

.tile::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -55px;
    top: -55px;
    border: 10px solid rgba(215, 242, 56, .8);
    border-radius: 50%;
}

.tile span {
    position: relative;
    z-index: 2;
}

.tile-large {
    grid-row: span 2;
}

.tile-lime {
    background: linear-gradient(145deg, #D7F238, #8ab51e);
    color: var(--deep);
}

.tile-orange {
    background: linear-gradient(145deg, #F26B21, #bd4710);
}

/* If your gallery uses actual images inside .tile, center them */

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.tile:has(img)::before {
    pointer-events: none;
    z-index: 1;
}

/* =========================
   CONTACT FORM
========================= */

form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-size: 13px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #D5DED8;
    border-radius: 13px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: #FAFCF9;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--bright);
    box-shadow: 0 0 0 4px rgba(21, 148, 71, .1);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

/* =========================
   CALL TO ACTION
========================= */

.cta {
    position: relative;
    overflow: hidden;
    background: var(--green);
    color: #fff;
    padding: 65px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.cta h2 {
    margin-bottom: 7px;
}

.cta p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
}

.cta::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 30px solid rgba(215, 242, 56, .13);
    right: 7%;
    top: -120px;
}

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

.footer {
    background: var(--deep);
    color: #fff;
    padding: 35px 0;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer small {
    color: rgba(255, 255, 255, .58);
}

.footer-links {
    display: flex;
    gap: 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

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

/* =========================
   TABLET RESPONSIVENESS
========================= */

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 75px;
        padding: 15px;
        background: #fff;
        border-radius: 18px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
    }

    .nav-links a.active::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav > .btn {
        display: none;
    }

    .cards,
    .six-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-head,
    .split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero::before {
        right: -45px;
        opacity: .45;
    }

    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 230px);
    }

    .tile-large {
        grid-row: span 2;
    }
}

/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--max));
    }

    .nav {
        min-height: 72px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .brand-mark img {
        width: 44px;
        height: 44px;
    }

    .brand-text {
        font-size: 12px;
    }

    h1 {
        font-size: 48px;
    }

    .hero {
        min-height: 540px;
    }

    .compact-hero {
        min-height: 420px;
    }

    .section {
        padding: 72px 0;
    }

    .cards,
    .six-cards,
    .stats-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 220px);
    }

    .tile-large {
        grid-row: auto;
    }

    .image-panel {
        min-height: 360px;
    }

    .home-photo {
        min-height: 440px;
        background-position: center center;
    }

    .home-photo .container {
        padding: 55px 0;
    }

    .program-photo {
        height: 220px;
        object-position: center center;
    }

    .home-coaching {
        grid-template-columns: 1fr;
    }

    .home-coaching img {
        height: 260px;
        object-position: center center;
    }

    .cta-inner,
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .update {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .icon {
        width: 48px;
        height: 48px;
    }
}

/* Move subjects DOWN in selected photos */

.program-photo[src*="img7"] {
    object-position: center 30%;
}

.program-photo[src*="img3"] {
    object-position: center 30%;
}

.home-coaching img[src*="img9"] {
    object-position: center 30%;
}
.program-photo[src*="img1"] {
    object-position: center 30%;
}