:root {
    /* Deep Navy & Gold palette */
    --green-dark: #0b1c33;   /* deep navy - headers, dark buttons, footer */
    --green: #0f2a4d;        /* secondary navy */
    --green-bright: #d4af37; /* gold - primary buttons/accents */
    --lime: #e8c468;         /* bright gold - hovers, highlights, badges */
    --success: #16a34a;      /* semantic green, used ONLY for discounts/savings, not brand chrome */
    --dark: #12151a;
    --gray-900: #14181f;
    --gray-700: #4b5563;
    --gray-400: #94a3b8;
    --gray-100: #f4f6f8;
    --white: #ffffff;
    --danger: #e11d48;
    --warning: #f59e0b;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,.12);
    --header-h: 68px;

    /* Header / footer / nav chrome - separate from the brand accent colors
       above so a super admin can restyle the "shell" of the site independently. */
    --header-bg: #0e1512;
    --footer-bg: #12151a;
    --nav-text: #f2f7f3;
    --nav-hover: #e8c468;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.55;
    padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.section-title { font-size: 2rem; font-weight: 800; margin: 0 0 8px; text-align: center; }
.section-subtitle { text-align: center; color: var(--gray-700); max-width: 600px; margin: 0 auto 40px; }
.badge { display: inline-block; background: var(--lime); color: var(--green-dark); font-weight: 700; padding: 4px 12px; border-radius: 100px; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-weight: 700; padding: 13px 26px; border-radius: 10px; font-size: .95rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green-bright); color: var(--green-dark); box-shadow: 0 8px 20px rgba(212,175,55,.35); }
.btn-primary:hover { background: var(--lime); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-dark { background: var(--green-dark); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: var(--header-bg); backdrop-filter: blur(6px); z-index: 1000; display: flex; align-items: center; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--nav-text); font-weight: 800; font-size: 1.15rem; }
.logo span { color: var(--nav-hover); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--nav-text); font-weight: 600; font-size: .92rem; }
.nav-links a:hover { color: var(--nav-hover); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; color: var(--nav-text); font-size: 1.6rem; cursor: pointer; }
.account-chip { color: var(--nav-text); font-weight: 600; font-size: .85rem; padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; background: #f7f2e7; border-radius: 50%; padding: 5px; box-shadow: 0 2px 8px rgba(0,0,0,.25); overflow: hidden; }
.logo-img { height: 46px; width: 46px; object-fit: contain; display: block; }
.logo-badge.logo-badge-lg { padding: 12px; }
.logo-badge.logo-badge-lg .logo-img { height: 130px; width: 130px; }
.cart-icon-link { position: relative; font-size: 1.3rem; color: var(--nav-text); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.cart-badge { position: absolute; top: -2px; right: -4px; background: var(--lime); color: var(--green-dark); font-size: .68rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--white); background: linear-gradient(135deg, var(--green-dark), var(--dark)); }
.hero-content { max-width: 640px; }
.hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.1; margin: 16px 0; }
.hero p { font-size: 1.1rem; color: var(--gray-100); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.6rem; color: var(--lime); }
.hero-stats div span { font-size: .8rem; color: var(--gray-400); }

/* Sports available */
.sports-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.sport-chip { background: var(--gray-100); border: 1.5px solid #e3ece5; border-radius: 100px; padding: 10px 20px; font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }

/* Booking widget */
.booking-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.booking-controls { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 700; font-size: .85rem; color: var(--gray-700); }
input, select, textarea { font-family: inherit; font-size: .95rem; padding: 11px 14px; border-radius: 8px; border: 1.5px solid #dfe6e1; background: var(--white); color: var(--gray-900); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-bright); }

.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 10px; }
.slot-card { border: 2px solid #e3ece5; border-radius: 10px; padding: 12px 10px; text-align: center; cursor: pointer; transition: all .15s ease; user-select: none; background: var(--white); }
.slot-card .time { font-weight: 700; font-size: .85rem; }
.slot-card .price { font-size: .8rem; color: var(--gray-700); margin-top: 4px; }
.slot-card.available:hover { border-color: var(--green-bright); }
.slot-card.selected { background: var(--green-bright); border-color: var(--green-bright); color: var(--dark); }
.slot-card.selected .price { color: var(--dark); }
.slot-card.booked { background: #f1f1f1; color: #b3b3b3; filter: blur(.2px); cursor: not-allowed; border-color: #eee; }
.slot-card.past { background: #f7f7f7; color: #cfcfcf; cursor: not-allowed; border-color: #f0f0f0; }
.slot-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .8rem; color: var(--gray-700); }
.slot-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

.cart-summary { margin-top: 22px; border-top: 1px dashed #ddd; padding-top: 18px; }
.cart-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; }
.cart-row.total { font-weight: 800; font-size: 1.1rem; border-top: 1px solid #eee; margin-top: 8px; padding-top: 12px; }
.cart-row.discount { color: var(--success); font-weight: 600; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.price-card { background: var(--gray-100); border-radius: var(--radius); padding: 28px; }
.price-card h3 { margin-top: 0; }
.price-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e4ebe6; }
.price-row:last-child { border-bottom: none; }
.discount-table { width: 100%; margin-top: 30px; border-collapse: collapse; }
.discount-table th, .discount-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #e4ebe6; }
.discount-table th { background: var(--green-dark); color: var(--white); }

/* Why choose us */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.feature-card { text-align: center; padding: 30px 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.feature-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: var(--green-bright); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }

/* About */
.about-section { background: var(--gray-100); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.about-slider-track { position: relative; width: 100%; aspect-ratio: 4/3; }
.about-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.about-slide.active { opacity: 1; visibility: visible; }
.about-slide img, .about-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.45); color: #fff; border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.about-slider-nav.prev { left: 12px; }
.about-slider-nav.next { right: 12px; }
.about-slider-nav:hover { background: rgba(0,0,0,.7); }
.about-slider-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.about-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; padding: 0; }
.about-dot.active { background: var(--green-bright); }

/* Location */
.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.address-card { background: var(--gray-100); border-radius: var(--radius); padding: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.contact-item .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--green-bright); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--gray-400); padding: 46px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-grid h4 { color: var(--white); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.owner-details { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); line-height: 1.8; }
.owner-details a { color: var(--gray-400); }
.owner-details a:hover { color: var(--nav-hover); }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; font-size: .82rem; }
.footer-bottom p { margin: 4px 0; }
.footer-bottom .credit-line { color: var(--gray-400); font-size: .78rem; }
.footer-bottom .credit-line a { color: var(--lime); }

/* Floating buttons */
.floating-actions { position: fixed; right: 18px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 999; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .15s ease; }
.fab:hover { transform: scale(1.08); }
.fab-call { background: #1d4ed8; }
.fab-whatsapp { background: #25d366; }

/* Auth forms / cards */
.auth-wrapper { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 40px 16px; background: var(--gray-100); }
.auth-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; max-width: 420px; width: 100%; }
.auth-card h2 { margin-top: 0; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; }
.otp-inputs input { width: 46px; height: 54px; text-align: center; font-size: 1.4rem; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: .88rem; margin-bottom: 16px; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-info { background: #e0f2fe; color: #075985; }
.muted-link { font-size: .85rem; color: var(--gray-700); text-align: center; margin-top: 14px; }

table.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data-table th, table.data-table td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; }
.status-pill { padding: 4px 10px; border-radius: 100px; font-size: .75rem; font-weight: 700; display: inline-block; }
.status-confirmed, .status-success, .status-active { background: #dcfce7; color: #166534; }
.status-pending_payment, .status-pending { background: #fef3c7; color: #92400e; }
.status-cancelled, .status-failed, .status-blocked { background: #fee2e2; color: #991b1b; }
.status-completed { background: #e0e7ff; color: #3730a3; }
.status-rescheduled { background: #f3e8ff; color: #6b21a8; }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn { padding: 8px 18px; border-radius: 100px; border: 1.5px solid #dfe6e1; background: var(--white); cursor: pointer; font-weight: 600; font-size: .85rem; }
.tab-btn.active { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

.page-shell { max-width: 960px; margin: 40px auto; padding: 0 20px 60px; }
.card-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 20px; }
.card-box h2 { margin: 28px 0 10px; font-size: 1.25rem; }
.card-box h3 { margin: 18px 0 6px; font-size: 1.05rem; color: var(--gray-700); }
.card-box p { line-height: 1.7; margin: 0 0 14px; }
.card-box ul { line-height: 1.7; padding-left: 22px; margin: 0 0 14px; }
.card-box ul li { margin-bottom: 6px; }

@media (max-width: 860px) {
    .nav-links, .nav-cta .account-chip { display: none; }
    .nav-toggle { display: block; }
    .about-grid, .location-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.1rem; }
    .hero { min-height: auto; padding: 110px 0 60px; }
    section { padding: 44px 0; }
}

@media (max-width: 500px) {
    .otp-inputs input { width: 40px; height: 48px; font-size: 1.2rem; }
    .hero-actions .btn { width: 100%; }
}

.mobile-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--header-bg); z-index: 999; padding: 16px 20px 24px; display: none; flex-direction: column; gap: 16px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--nav-text); font-weight: 600; }
