/* ===== CSS Variables ===== */
:root {
    --green-darkest: #0F1A0D;
    --green-dark:    #151F11;
    --green-mid:     #1E2E18;
    --green:         #2B3D1F;
    --olive:         #556B2F;
    --olive-light:   #6B8E23;
    --gold:          #C5A55A;
    --gold-light:    #D4AF37;
    --gold-muted:    #B8976A;
    --cream:         #F5F1EB;
    --off-white:     #FAF9F6;
    --white:         #FFFFFF;
    --black:         #0A0A0A;
    --gray:          #4A4A4A;
    --gray-light:    #8A8A85;
    --gray-lighter:  #C8C8C3;
    --border:        #E5E5E0;
    --radius-sm:     8px;
    --radius:        16px;
    --radius-lg:     24px;
    --radius-xl:     32px;
    --shadow:        0 2px 20px rgba(0,0,0,0.08);
    --shadow-lg:     0 8px 40px rgba(0,0,0,0.15);
    --transition:    all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: var(--white);
    background: var(--green-darkest);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.container--narrow {
    max-width: 800px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, transparent 100%);
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.nav.scrolled::before {
    opacity: 0;
}

.nav.scrolled {
    background: rgba(15, 26, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(197, 165, 90, 0.08);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1280px;
    margin: 0 auto;
    height: 76px;
    position: relative;
    z-index: 1;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav__logo:hover {
    opacity: 0.85;
}

.nav__logo span {
    color: var(--gold);
}

.nav__logo-img {
    max-height: 58px;
    width: auto;
    display: block;
}

.nav__logo-text {
    display: none;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav__links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.nav__links a.active {
    color: var(--gold);
}

.nav__links .nav__cta {
    color: var(--gold);
    border: 1.5px solid rgba(197, 165, 90, 0.4);
    padding: 8px 24px;
    border-radius: 50px;
    margin-left: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: transparent;
}

.nav__links .nav__cta:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(197, 165, 90, 0.2);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav__toggle:hover {
    background: rgba(255,255,255,0.06);
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        url('/images/6.png')
        center / cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(15, 26, 13, 0.80) 0%,
        rgba(15, 26, 13, 0.65) 40%,
        rgba(15, 26, 13, 0.85) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 32px;
}

.hero__logo-wrap {
    margin-bottom: 1rem;
}

.hero__logo {
    max-height: 140px;
    width: auto;
    margin: 0 auto;
}

.hero__subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.hero__brand {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.4rem, 9.5vw, 9rem);
    font-weight: 700;
    color: var(--white);
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 0;
}

.hero__brand span {
    color: var(--gold);
}

.hero__divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 32px auto;
}

.hero__info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    text-align: left;
    margin-bottom: 8px;
}

.hero__description {
    max-width: 440px;
}

.hero__description h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 12px;
}

.hero__description p {
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 6px;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.45);
    font-size: 0.92rem;
    letter-spacing: 0.5px;
}

.hero__feature-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--olive);
    color: var(--white);
    border: 2px solid var(--olive);
}

.btn--primary:hover {
    background: var(--olive-light);
    border-color: var(--olive-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(85, 107, 47, 0.35);
}

.btn--gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--black);
    border: 2px solid var(--gold);
    box-shadow: 0 2px 12px rgba(197, 165, 90, 0.15);
}

.btn--gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, #E6C44A 100%);
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(197, 165, 90, 0.4);
}

.btn--gold:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(197, 165, 90, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.06);
}

.btn--outline-dark {
    background: transparent;
    color: var(--olive);
    border: 2px solid var(--olive);
}

.btn--outline-dark:hover {
    background: var(--olive);
    color: var(--white);
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.72rem;
}

.btn--danger {
    background: #9B2C2C;
    color: var(--white);
    border: 2px solid #9B2C2C;
}

.btn--danger:hover {
    background: #7B2020;
    border-color: #7B2020;
}

.btn--block {
    display: block;
    width: 100%;
}

.btn--link {
    background: none;
    border: none;
    padding: 0;
    color: var(--olive);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 0;
}

.btn--link:hover {
    color: var(--gold);
    gap: 12px;
}

/* ===== Section Helpers ===== */
.section {
    padding: 120px 0;
}

.section--dark {
    background: var(--green-darkest);
}

.section--green {
    background: var(--green-dark);
}

.section--cream {
    background: var(--cream);
    color: var(--black);
}

.section__header {
    text-align: center;
    margin-bottom: 72px;
}

.section__subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 16px;
    color: inherit;
}

.section--cream .section__title {
    color: var(--black);
}

.section__text {
    max-width: 550px;
    margin: 0 auto;
    color: var(--gray-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section--cream .section__text {
    color: var(--gray);
}

.about-club {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr;
    gap: 24px;
    margin-top: 2rem;
}

.about-club__main {
    background: linear-gradient(160deg, #1a2814 0%, #24351b 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.about-club__pill {
    display: inline-block;
    background: rgba(197, 165, 90, 0.16);
    color: #f2d49a;
    border: 1px solid rgba(197, 165, 90, 0.45);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 700;
}

.about-club__main h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.3;
}

.about-club__main p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-club__stats {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.about-club__stat {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
}

.about-club__stat strong {
    display: block;
    color: var(--white);
    font-size: 0.92rem;
    margin-bottom: 3px;
}

.about-club__stat span {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
}

.about-club__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-club__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-club__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.about-club__card h4 {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 10px;
}

.about-club__card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Feature Rows (Courts - alternating) ===== */
.feature-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row--reverse {
    direction: rtl;
}

.feature-row--reverse > * {
    direction: ltr;
}

.feature-row__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.feature-row__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-row__image:hover img {
    transform: scale(1.04);
}

.feature-row__content {
    padding: 20px 0;
}

.feature-row__label {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.feature-row__title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section--cream .feature-row__title {
    color: var(--black);
}

.feature-row__text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 28px;
}

/* ===== Gallery Mosaic ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 240px 240px;
    gap: 16px;
}

.gallery-grid__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid__item:hover img {
    transform: scale(1.06);
}

.gallery-grid__item--wide {
    grid-column: span 2;
}

.gallery-grid__item--tall {
    grid-row: span 2;
}

/* ===== Steps ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--green-mid);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    background: var(--green);
}

.step-card__number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1;
}

.step-card__title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
}

.step-card__text {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}

/* ===== News ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-card__image {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-card__body {
    padding: 20px;
}

.news-card__date {
    font-size: 0.75rem;
    color: var(--gray-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.news-card__title {
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 10px;
}

.news-card__summary {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.news-card__content {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.news-detail__image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.news-detail__summary {
    font-size: 1.08rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.news-detail__content {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.9;
}

.news-recommended {
    padding-top: 20px;
}

.news-recommended .container {
    max-width: 960px;
}

.news-detail-wrap.container {
    max-width: 960px;
}

.pagination {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.pagination__link {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--gray);
    background: var(--white);
    font-size: 0.9rem;
}

.pagination__link:hover {
    border-color: var(--gold);
    color: var(--black);
}

.pagination__link--disabled {
    pointer-events: none;
    opacity: 0.45;
}

.pagination__info {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== Stats Bar ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat__value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* ===== CTA ===== */
.cta {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            160deg,
            rgba(21, 31, 17, 0.92) 0%,
            rgba(43, 61, 31, 0.88) 50%,
            rgba(21, 31, 17, 0.95) 100%
        ),
        url('/images/2.png')
        center / cover no-repeat;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(197, 165, 90, 0.06) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.05;
    letter-spacing: -1px;
}

.cta h2 span {
    color: var(--gold);
    font-style: italic;
}

.cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 44px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta .btn {
    padding: 18px 52px;
    font-size: 0.82rem;
    letter-spacing: 3px;
}

/* ===== Footer ===== */
.footer {
    background: var(--green-darkest);
    color: rgba(255,255,255,0.5);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__brand-large {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: var(--white);
    text-align: center;
    letter-spacing: -1px;
    margin-bottom: 60px;
    line-height: 1;
}

.footer__brand-large span {
    color: var(--gold);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__heading {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer__text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.4);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    transition: var(--transition);
}

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

.footer__bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
}

/* ===== Page Header (Reserve, Status pages) ===== */
/* ===== Page Header (with background image) ===== */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    background: url('/images/3.png') center / cover no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 13, 0.75);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255,255,255,0.55);
    font-weight: 300;
}

/* ===== Reservation Page ===== */
.reservation-section {
    padding: 60px 0 100px;
    background: var(--cream);
}

.reservation-section .reservation-step__title {
    color: var(--black);
    border-bottom-color: var(--border);
}

.reservation-section .reservation-step__number {
    color: var(--gold);
}

.reservation-section .court-card {
    background: var(--white);
    box-shadow: var(--shadow);
}

.reservation-section .court-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), var(--shadow-lg);
}

.reservation-section .court-card__name {
    color: var(--black);
}

.reservation-section .date-input {
    background: var(--white);
    color: var(--black);
    border-color: var(--border);
}

.reservation-section .date-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

.reservation-section .slot {
    background: var(--white);
    color: var(--black);
    border-color: var(--border);
}

.reservation-section .slot:hover:not(.slot--disabled) {
    border-color: var(--olive);
    background: rgba(85, 107, 47, 0.06);
}

.reservation-section .slot.selected {
    background: var(--olive);
    color: var(--white);
    border-color: var(--olive);
}

.reservation-section .slot--disabled {
    background: var(--off-white);
    color: var(--gray-lighter);
}

.reservation-section .slots-placeholder {
    background: var(--off-white);
    color: var(--gray-light);
}

.reservation-section .form-group label {
    color: var(--gray);
}

.reservation-section .form-group input {
    background: var(--white);
    color: var(--black);
    border-color: var(--border);
}

.reservation-section .form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

.reservation-section .form-group input::placeholder {
    color: var(--gray-lighter);
}

.reservation-section .alert--error {
    background: rgba(155, 44, 44, 0.08);
    color: #9B2C2C;
}

.reservation-section .form-error {
    color: #9B2C2C;
}

.reservation-step {
    margin-bottom: 50px;
}

.reservation-step__title {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.reservation-step__number {
    color: var(--gold);
    margin-right: 10px;
}

/* Court Cards (reserve page) */
.courts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.court-card {
    background: var(--green-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.court-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.court-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
}

.court-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.court-card__body {
    padding: 16px;
    text-align: center;
}

.court-card__name {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2px;
}

.court-card__status {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ===== Date Input ===== */
.date-input {
    width: 100%;
    max-width: 300px;
    padding: 14px 18px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    background: var(--green-mid);
    color: var(--white);
    transition: var(--transition);
}

.date-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.12);
}

/* ===== Time Slots Grid ===== */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.slot {
    padding: 14px;
    text-align: center;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.05rem;
    background: var(--green-mid);
    color: var(--white);
}

.slot:hover:not(.slot--disabled) {
    border-color: var(--olive);
    background: rgba(85, 107, 47, 0.15);
}

.slot.selected {
    background: var(--olive);
    color: var(--white);
    border-color: var(--olive);
}

.slot--disabled {
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.2);
    cursor: not-allowed;
    text-decoration: line-through;
}

.slots-placeholder {
    padding: 40px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    background: var(--green-mid);
    border-radius: var(--radius);
    font-style: italic;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    background: var(--green-mid);
    color: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.12);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.25);
}

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

.form-error {
    color: #E57373;
    font-size: 0.8rem;
    margin-top: 6px;
}

/* ===== Alerts ===== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.alert--success {
    background: rgba(85, 107, 47, 0.15);
    border: 1px solid var(--olive);
    color: var(--olive-light);
}

.alert--error {
    background: rgba(155, 44, 44, 0.15);
    border: 1px solid #9B2C2C;
    color: #E57373;
}

.alert--info {
    background: rgba(197, 165, 90, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
}

/* ===== Status Pages ===== */
.status-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    background:
        linear-gradient(
            rgba(15, 26, 13, 0.78),
            rgba(15, 26, 13, 0.78)
        ),
        url('/images/4.png')
        center / cover no-repeat;
}

.status-page__icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.status-page h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.status-page p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.8;
}

/* ===== Admin Layout ===== */
.admin-layout {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--cream);
    color: var(--black);
}

.admin-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.admin-header h1 {
    font-size: 1.8rem;
    color: var(--black);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 3px solid var(--olive);
}

.stat-card__value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--olive);
    margin-bottom: 4px;
}

.stat-card__label {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-section {
    padding: 40px 0;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.admin-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.admin-card__header h3 {
    font-size: 1.2rem;
    color: var(--black);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--cream);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--black);
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover { background: rgba(85, 107, 47, 0.03); }

/* Admin forms (light theme) */
.admin-layout .form-group label {
    color: var(--gray);
}

.admin-layout .form-group input,
.admin-layout .form-group select,
.admin-layout .form-group textarea {
    background: var(--white);
    color: var(--black);
    border-color: var(--border);
}

.admin-layout .form-group input:focus,
.admin-layout .form-group select:focus,
.admin-layout .form-group textarea:focus {
    border-color: var(--gold);
}

.admin-layout .form-group input::placeholder {
    color: var(--gray-lighter);
}

.admin-layout .alert--success { color: var(--olive); }
.admin-layout .alert--error { color: #9B2C2C; }

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge--pending    { background: rgba(197,165,90,0.15);  color: var(--gold-muted); }
.badge--confirmed  { background: rgba(85,107,47,0.15);   color: var(--olive); }
.badge--cancelled  { background: rgba(155,44,44,0.1);    color: #9B2C2C; }
.badge--expired    { background: rgba(74,74,74,0.1);     color: var(--gray-light); }
.badge--active     { background: rgba(85,107,47,0.15);   color: var(--olive); }
.badge--inactive   { background: rgba(74,74,74,0.1);     color: var(--gray-light); }

/* ===== Admin Login ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-darkest);
    padding: 24px;
}

.login-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-card__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 8px;
}

.login-card__logo span { color: var(--gold); }

.login-card__subtitle {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.login-card .form-group label { color: var(--gray); }

.login-card .form-group input {
    background: var(--off-white);
    color: var(--black);
    border-color: var(--border);
}

.login-card .form-group input:focus { border-color: var(--gold); }
.login-card .form-group input::placeholder { color: var(--gray-lighter); }

.login-card .alert--error {
    color: #9B2C2C;
    background: rgba(155,44,44,0.08);
}

/* ===== Admin Inline Form ===== */
.inline-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.inline-form .form-group { margin-bottom: 0; }

.inline-form label {
    display: block;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 4px;
}

.inline-form input {
    padding: 10px 12px;
    font-size: 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    background: var(--white);
    color: var(--black);
}

.inline-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.admin-news-form {
    padding: 20px 24px;
    display: grid;
    gap: 14px;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-row--reverse { direction: ltr; }
    .feature-row__image img { height: 300px; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 200px 200px 200px;
    }
    .gallery-grid__item--tall { grid-row: span 1; }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(15, 26, 13, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 16px 0;
        gap: 0;
        border-top: 1px solid rgba(197, 165, 90, 0.1);
    }
    .nav__links.open { display: flex; }
    .nav__links a {
        padding: 14px 32px;
        display: block;
        border-radius: 0;
    }
    .nav__links a:hover { background: rgba(255,255,255,0.04); }
    .nav__links .nav__cta {
        margin: 12px 24px 8px;
        text-align: center;
        border-radius: 50px;
    }
    .nav__toggle { display: flex; }

    .hero__brand { font-size: clamp(3rem, 14vw, 5rem); }
    .hero__info { flex-direction: column; gap: 24px; text-align: center; }
    .hero__description { max-width: 100%; }
    .hero__features { align-items: center; }
    .about-club { grid-template-columns: 1fr; }
    .about-club__grid { grid-template-columns: 1fr; }

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

    .stats-bar { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }

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

    .admin-stats { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .courts-grid { grid-template-columns: 1fr 1fr; }

    .inline-form {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero__brand { font-size: clamp(2.5rem, 16vw, 4rem); }

    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .gallery-grid__item--wide { grid-column: span 1; }

    .courts-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
}
