/* ============================================
   Kuppam Box Cricket (KBC) - Black & White Theme
   ============================================ */

/* CSS Variables */
:root {
    --black: #000000;
    --white: #FFFFFF;
    --dark-gray: #1A1A1A;
    --medium-gray: #333333;
    --light-gray: #F5F5F5;
    --border-gray: #E0E0E0;
    --text-gray: #666666;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

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

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* solid dark fallback — works even without backdrop-filter support */
    background: #0A0A0E;
    background: rgba(5,5,5,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    padding: 10px 0;
    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
}

/* gold accent line under navbar */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #FFD60A 25%, #FFD60A 75%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar.scrolled {
    background: #050508;
    padding: 7px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.navbar.scrolled::after {
    opacity: 1;
}

.navbar.scrolled .nav-brand,
.navbar.scrolled .nav-link {
    color: var(--white);
}

.nav-container {
    max-width: none;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.nav-brand .brand-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2px;
    box-shadow: 0 0 0 2px rgba(255,214,10,0.45), 0 4px 16px rgba(255,214,10,0.25);
}

.nav-brand img {
    height: 34px;
    width: auto;
    display: block;
    border-radius: 8px;
}

.nav-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.nav-brand .brand-name {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.15;
    color: #FFFFFF;
    white-space: nowrap;
}

.nav-brand .brand-name em {
    font-style: normal;
    color: #FFD60A;
}

.nav-brand .brand-text > span:last-child {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
    color: rgba(255,255,255,0.8);
    margin-top: 3px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-brand .brand-text > span:last-child {
        display: none;
    }
    .nav-brand {
        gap: 8px;
    }
}

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

.nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 12px;
    color: rgba(255,255,255,0.65);
    border-radius: 8px;
    transition: all 0.25s;
}

.nav-link:hover,
.nav-link.active {
    color: #FFD60A;
    background: rgba(255,214,10,0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: #FFD60A;
    transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-cta {
    background: #FFD60A;
    color: #000000 !important;
    padding: 9px 22px;
    border-radius: 40px;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.72rem;
    margin-left: 8px;
    box-shadow: 0 0 24px rgba(255,214,10,0.35), 0 4px 14px rgba(0,0,0,0.4);
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

.nav-cta:hover {
    background: #FFE14D;
    color: #000 !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 36px rgba(255,214,10,0.55), 0 8px 20px rgba(0,0,0,0.4);
}

.nav-cta::after {
    display: none;
}

.navbar.scrolled .nav-cta {
    background: #FFD60A;
    color: #000 !important;
}

.navbar.scrolled .nav-cta:hover {
    background: #FFE14D;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar.scrolled .menu-toggle span {
    background: var(--white);
}

/* mobile menu panel (dark) */
@media (max-width: 768px) {
    .nav-links {
        background: #0A0A0A;
        border-left: 1px solid rgba(255,214,10,0.2);
    }
    .nav-link {
        color: #FFFFFF !important;
    }
    .nav-link:hover,
    .nav-link.active {
        color: #FFD60A !important;
        background: rgba(255,214,10,0.08);
    }
    .nav-cta {
        margin: 20px 0 0;
    }
    .nav-container {
        padding: 0 12px;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--medium-gray) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 50px 50px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1;
}

.hero h1 span {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0.8;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

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

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
}

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

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

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

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

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

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 100px 0;
}

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

.section-gray {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   Features Section
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--black);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--black);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--white);
    padding: 4px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 20px;
}

.pricing-card:hover {
    border-color: var(--black);
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--black);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--black);
    font-weight: 700;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* ============================================
   Booking Section
   ============================================ */
.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-form {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--medium-gray);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--black);
}

.form-control::placeholder {
    color: #aaa;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* Slot Selection */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

/* ============================================
   Pricing Picker (Booking Page)
   ============================================ */
.pricing-picker {
    margin-top: 10px;
}

.pricing-group {
    margin-bottom: 15px;
}

.pricing-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.pricing-items-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.pricing-item-card {
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-item-card:hover {
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pricing-item-card.selected {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.pricing-item-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-item-detail {
    font-size: 0.75rem;
    opacity: 0.7;
    margin: 3px 0;
}

.pricing-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--success);
}

.pricing-item-card.selected .pricing-item-price {
    color: var(--white);
}

@media (max-width: 768px) {
    .pricing-items-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

.slot-item {
    padding: 12px 8px;
    text-align: center;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.slot-item .slot-label {
    font-weight: 600;
}

.slot-item .slot-status {
    font-size: 0.65rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slot-item:hover {
    border-color: var(--black);
}

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

.slot-item.selected .slot-status {
    opacity: 1;
}

.slot-item.multi-selected {
    background: #4A4A4A;
    color: var(--white);
    border-color: #4A4A4A;
}

.slot-item.multi-selected .slot-status {
    opacity: 1;
}

.slot-item.booked {
    background: var(--danger);
    color: var(--white);
    cursor: not-allowed;
    border-color: var(--danger);
}

.slot-item.booked .slot-status {
    opacity: 1;
}

.slot-item.blocked-duration {
    background: #FF6B6B;
    color: var(--white);
    cursor: not-allowed;
    border-color: #FF6B6B;
}

.slot-item.blocked-duration .slot-status {
    opacity: 1;
}

.slot-item.available {
    background: var(--white);
    color: var(--dark-gray);
    border-color: var(--success);
}

.slot-item.available:hover {
    background: var(--success);
    color: var(--white);
    border-color: var(--success);
}

.slot-item.partial-available {
    background: #FFF3CD;
    color: #856404;
    border-color: #FFC107;
    cursor: not-allowed;
}

.slot-item.partial-available .slot-status {
    color: #856404;
}

.slot-item.unavailable {
    background: var(--light-gray);
    color: #aaa;
    cursor: not-allowed;
    border-color: var(--border-gray);
}

.slot-info {
    margin-top: 15px;
    padding: 12px 15px;
    background: #E8F5E9;
    border: 1px solid var(--success);
    border-radius: 6px;
    display: none;
}

.slot-info-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slot-info-icon {
    font-size: 1.2rem;
}

.slot-info-text {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.slot-info-text strong {
    color: var(--black);
}

/* Booking Summary */
.booking-summary {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.booking-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--black);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 2px solid var(--black);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--black);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--medium-gray);
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   Alert Messages
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-gray);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
}

/* ============================================
   Loader
   ============================================ */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-gray);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-white {
    border-color: rgba(255,255,255,0.3);
    border-top-color: var(--white);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   Admin Styles
   ============================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--black);
    color: var(--white);
    padding: 30px 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.admin-sidebar .brand {
    padding: 0 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-sidebar .brand h3 {
    font-size: 1.3rem;
}

.admin-sidebar .brand span {
    font-size: 0.75rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.admin-nav {
    list-style: none;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.admin-nav li a:hover,
.admin-nav li a.active {
    opacity: 1;
    background: rgba(255,255,255,0.1);
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background: var(--light-gray);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.5rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--black);
}

.stat-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 800;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th {
    background: var(--black);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-gray);
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: var(--light-gray);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* ============================================
   Mobile - Cute Small Buttons
   ============================================ */
@media (max-width: 600px) {
    .btn, .btn-primary, .btn-outline, .btn-dark-outline, .btn-danger {
        padding: 9px 18px;
        font-size: 0.72rem;
        border-radius: 30px;
        letter-spacing: 0.5px;
        gap: 6px;
    }
    .btn-sm {
        padding: 5px 12px;
        font-size: 0.68rem;
        border-radius: 30px;
    }
    .btn-lg {
        padding: 12px 24px;
        font-size: 0.8rem;
        border-radius: 30px;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1100;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--black) !important;
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h1 span {
        font-size: 0.9rem;
        letter-spacing: 5px;
    }
    
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .slot-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        z-index: 100;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .slot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-cards {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: 25px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Print Styles */
@media print {
    .navbar, .footer, .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
}
