@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #111111;
    --secondary: #f4f4f4;
    --accent: #000000;
    --accent-hover: #333333;
    --bg-main: #ffffff;
    --text-main: #111111;
    --text-muted: #666666;
    --border: #e0e0e0;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --radius: 12px;
    --font-base: 'Prompt', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Site Preloader */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#site-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: preloader-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.preloader-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.preloader-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-base);
}

.preloader-progress {
    width: 100px;
    height: 2px;
    background: rgba(0,0,0,0.05);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #111;
    animation: preloader-load 1.5s linear forwards;
}

@keyframes preloader-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes preloader-load {
    0% { width: 0; }
    100% { width: 100%; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-base);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--bg-main);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.logo { font-weight: 700; font-size: 1.5rem; text-decoration: none; color: var(--primary); letter-spacing: -0.5px; }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: var(--transition); }
nav a:hover { color: var(--accent-hover); }
.lang-switch button {
    background: none; border: 1px solid var(--border); padding: 0.4rem 0.8rem;
    border-radius: 6px; cursor: pointer; font-weight: 500; font-family: var(--font-base);
    transition: var(--transition);
}
.lang-switch button:hover { border-color: var(--primary); }

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: radial-gradient(circle at center, #ffffff 0%, var(--bg-main) 100%);
}
.hero h1 { 
    font-weight: 700; 
    margin-bottom: 1rem; 
    color: var(--primary); 
    letter-spacing: -1.5px;
    min-height: 1.2em;
}
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: currentColor;
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 0.8s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.hero p { 
    font-size: 1.2rem; 
    color: var(--text-muted); 
    margin-bottom: 2.5rem; 
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s, transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}
.hero.loaded p { opacity: 0.9; transform: translateY(0); }
.hero .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s, transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s, background-color 0.3s, color 0.3s;
}
.hero.loaded .btn-primary {
    opacity: 1;
    transform: translateY(0);
}
.btn-primary {
    background-color: var(--primary); color: var(--secondary);
    border: none; padding: 1rem 2.5rem; font-size: 1.1rem;
    border-radius: 50px; cursor: pointer; font-weight: 600;
    transition: var(--transition); text-decoration: none;
    display: inline-block;
}
.btn-primary:hover {
    background-color: var(--accent); color: var(--primary);
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}

/* Sections */
section { padding: 5rem 5%; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; font-weight: 700; }

/* Booking Widget */
.booking-container {
    max-width: 800px; margin: 0 auto; background: var(--secondary);
    padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.step-indicator { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 2rem; 
    border-bottom: 2px solid var(--border); 
    padding-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 15px;
}
.step { 
    color: var(--text-muted); 
    font-weight: 600; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    padding-bottom: 1rem;
    position: relative;
    flex-shrink: 0;
}
.step.active { 
    color: var(--primary); 
}
.step.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Calendar & Slots */
.slots-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); 
    gap: 1rem; 
    margin-top: 1rem;
}
.slot-btn {
    background: #fff; 
    border: 1.5px solid #eee;
    padding: 1.2rem 1rem; 
    text-align: center; 
    border-radius: 12px; 
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.slot-btn:not(:disabled):hover { 
    border-color: var(--primary); 
    background: #fdfdfd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.slot-btn.selected { 
    background: var(--primary); 
    color: var(--secondary); 
    border-color: var(--primary); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.slot-btn:disabled { 
    opacity: 0.3; 
    cursor: not-allowed; 
    background: #fafafa;
    border-color: #eee;
    color: #ccc;
    text-decoration: line-through;
}
.slot-btn.selected::before { display: none; }

/* Reviews Rating */
.rating { color: #FFD700; font-size: 1.1rem; margin-top: 0.5rem; }
.star-outline { color: #ddd; }
.form-control {
    width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border);
    border-radius: 8px; font-family: var(--font-base); font-size: 1rem;
    transition: var(--transition); background: var(--bg-main);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.email-shortcuts { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.shortcut-btn {
    background: #eaeaea; border: none; padding: 0.3rem 0.6rem;
    border-radius: 4px; font-size: 0.8rem; cursor: pointer; transition: 0.2s;
}
.shortcut-btn:hover { background: #dcdcdc; }

.btn-block { width: 100%; margin-top: 2rem; }
.d-none { display: none !important; }

/* Cards (Reviews, Team, Portfolio) */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card {
    background: var(--secondary); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; /* simple mobile approach */ }
    .booking-container { padding: 1.5rem; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--border); }
    .step-indicator { gap: 10px; margin-bottom: 1.5rem; }
    .step { font-size: 0.75rem; padding-bottom: 0.8rem; letter-spacing: 0.5px; }
}

/* Custom Calendar */
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.btn-cal { background: none; border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; transition: var(--transition); }
.btn-cal:hover { background: var(--secondary); border-color: var(--primary); }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.calendar-grid-cells { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; }
.cal-cell { padding: 0.8rem 0; text-align: center; border-radius: 8px; cursor: pointer; transition: var(--transition); border: 1px solid transparent; font-weight: 500; }
.cal-cell:hover:not(.disabled):not(.empty) { background: var(--secondary); border-color: var(--border); box-shadow: var(--shadow-sm); }
.cal-cell.selected { background: var(--primary); color: var(--secondary); font-weight: 600; border-color: var(--primary); }
.cal-cell.disabled { color: #ccc; cursor: not-allowed; }
.cal-cell.empty { cursor: default; }

/* Premium Admin UI (Monochrome Minimalist) */
.admin-layout { display: flex; min-height: 100vh; background: #fafafa; font-family: 'Prompt', sans-serif;}
.admin-sidebar { 
    width: 280px; 
    background: #ffffff;
    border-right: 1px solid #eeeeee;
    color: #111111; 
    padding: 2.5rem 1.5rem; 
    display: flex; 
    flex-direction: column; 
    position: sticky;
    top: 0;
    height: 100vh;
}
.sidebar-logo { font-size: 1.5rem; font-weight: 700; margin-bottom: 3rem; text-align: center; letter-spacing: 2px; color: #111111; }
.admin-nav { flex: 1; }
.admin-nav a { 
    display: flex; 
    align-items: center; 
    color: #666666; 
    text-decoration: none; 
    padding: 1rem 1.2rem; 
    margin-bottom: 0.5rem; 
    border-radius: 12px; 
    transition: all 0.3s ease;
    font-weight: 500;
}
.admin-nav a:hover, .admin-nav a.active { 
    background: #000000; 
    color: #ffffff; 
    transform: translateX(5px);
}
.admin-main { flex: 1; padding: 3rem; background: #fafafa; }
.admin-card { 
    background: #fff; 
    padding: 2rem; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.admin-title { font-size: 2rem; font-weight: 700; color: #1a1a1a; }

/* Admin Calendar Grid */
.admin-cal-container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.admin-calendar-box { background: #fff; border-radius: 20px; padding: 2rem; border: 1px solid rgba(0,0,0,0.05); }
.admin-slots-box { background: #fff; border-radius: 20px; padding: 2rem; border: 1px solid rgba(0,0,0,0.05); }

.admin-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 1.5rem; }
.admin-cal-day-header { text-align: center; font-weight: 700; font-size: 0.8rem; color: #999; padding-bottom: 10px; }
.admin-cal-cell { 
    aspect-ratio: 1/1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    background: #f8f8f8; 
    border-radius: 12px; 
    cursor: pointer; 
    transition: all 0.2s ease;
    border: 2px solid transparent;
}
.admin-cal-cell:hover:not(.empty) { background: #eee; border-color: var(--accent); }
.admin-cal-cell.selected { background: #1a1a1a; color: #fff; }

.cal-cell { position: relative; }
.indicator-dot {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.dot-green { background-color: #4BB543; }
.dot-red { background-color: #ff6b6b; box-shadow: 0 0 5px rgba(255,107,107,0.5); }
.dot-gray { background-color: #ccc; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.stat-item { 
    background: #fff; 
    padding: 2rem; 
    border-radius: 20px; 
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.stat-item:hover { transform: translateY(-5px); }
.stat-label { color: #888; font-size: 0.9rem; margin-bottom: 0.5rem; display: block; }
.stat-value { font-size: 2.2rem; font-weight: 800; color: #1a1a1a; }

/* User Greeting Popup */
.user-popup {
    background: #111; 
    color: #fff; 
    padding: 1.2rem 1.5rem;
    border-radius: 12px; 
    margin-bottom: 1.5rem; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.user-popup #welcome-message {
    font-weight: 500;
    font-size: 1rem;
}
.user-popup button { 
    background: rgba(255,255,255,0.1); 
    border: none; 
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer; 
    color: #FFD700; 
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}
.user-popup button:hover { background: rgba(255,255,255,0.2); }

/* Flip Card Portfolio */
.flip-card {
    background: transparent;
    perspective: 1000px;
    cursor: pointer;
    border-radius: 12px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: var(--shadow-sm);
}
.flip-card-back {
    transform: rotateY(180deg);
}
.flip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}
.flip-label {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 1.5rem; font-weight: 800; color: #fff;
    letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    pointer-events: none;
}
.flip-hint {
    position: absolute;
    bottom: 15px; left: 0; width: 100%;
    font-size: 0.8rem; color: #fff; opacity: 0.7;
    animation: pulse 2s infinite; pointer-events: none;
}
@keyframes pulse { 0% {opacity:0.4;} 50% {opacity:1;} 100% {opacity:0.4;} }

/* Premium Review Card */
.review-card-premium {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.review-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.review-quote-icon {
    font-size: 3rem;
    color: #f0f0f0;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: serif;
    z-index: 0;
}
.review-text {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
}
.review-author {
    margin-top: 1.5rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Share Button */
.btn-share {
    background: transparent; border: 1px solid #eee;
    padding: 0.6rem 1.2rem; border-radius: 25px; font-size: 0.8rem; 
    font-weight: 700; cursor: pointer; transition: all 0.3s;
    margin-top: 1.5rem; color: #888; display: inline-flex; align-items: center; gap: 6px;
}
.btn-share:hover { border-color: #000; color: #000; background: #fff; transform: translateY(-2px); }
.review-card-premium { position: relative; overflow: hidden; }

/* Service Cards */
/* --- REFINED SERVICE STYLES --- */

/* 1. Landing Page Card Display */
.service-card-premium {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

/* 2. Step 2: Booking Selection List */
.service-booking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1.5px solid #eee;
    padding: 1.2rem 1.5rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.8rem;
    user-select: none;
}

.service-booking-item:hover {
    border-color: var(--primary);
    background: #fafafa;
    transform: translateX(4px);
}

.service-booking-item.selected {
    border-color: #111; /* Stronger border for visibility */
    background: rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 0; /* Reduced gap since icon is gone */
}

.service-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.05rem;
    letter-spacing: -0.3px;
}

.service-price-tag {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}


/* --- PREMIUM HEADER & NAVIGATION --- */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 150px 1fr 150px; /* Slimmer side columns for more edge reach */
    align-items: center;
    padding: 0.5rem 1rem; /* Minimum padding for maximum width */
    position: relative;
    width: 100%;
}

.logo {
    display: flex;
    justify-content: flex-start;
    padding-left: 1.5rem; /* Nudge right a bit as requested */
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.main-nav {
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem; /* Larger font as requested */
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.main-nav ul li a i {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    background: rgba(0, 0, 0, 0.08); /* More visible gray */
    color: #000;
}

/* Language Switcher Premium */
.lang-switch button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.75rem;
    font-family: var(--font-base);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.lang-switch button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.lang-switch {
    grid-column: 3;
    justify-content: flex-end;
}

/* Mobile: Docked Bottom Bar */
@media (max-width: 991px) {
    body {
        padding-bottom: 75px; 
    }

    .main-header {
        position: sticky;
        top: 0;
        background: #fff !important;
        backdrop-filter: none !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .header-content {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important; /* Perfect 3-way balance */
        align-items: center;
        padding: 0 1.2rem;
        height: 65px;
        width: 100% !important;
        position: relative;
    }

    /* Left spacer column */
    .header-content::before {
        content: "";
        display: block;
    }

    .logo {
        position: static !important;
        transform: none !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 !important;
    }

    .logo img { 
        height: 32px !important; 
        max-width: 150px;
        width: auto;
    }

    .lang-switch {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin: 0 !important;
    }

    .lang-switch button {
        padding: 0.4rem 0.65rem;
        font-size: 0.75rem;
    }

    .main-nav {
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 100000;
        padding: 10px 0 env(safe-area-inset-bottom);
        box-shadow: 0 -5px 25px rgba(0,0,0,0.05);
    }

    .main-nav ul {
        display: flex;
        list-style: none;
        justify-content: space-around;
        width: 100%;
        padding: 0 5px;
        margin: 0;
    }

    .main-nav ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 0.65rem;
        padding: 5px;
        min-width: 65px;
        text-align: center;
        text-decoration: none;
        color: #666;
    }

    .main-nav ul li a i {
        font-size: 1.35rem;
    }

    .main-nav ul li a.active {
        color: var(--primary);
        font-weight: 700;
    }
}

/* Booking Loader */
.booking-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease, visibility 0.4s;
    border-radius: var(--radius);
}

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

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loader-content span {
    font-weight: 600;
    color: var(--text-main);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,0.05);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Hero Title Adjustment for better readability */
.hero h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --- ADMIN RESPONSIVE --- */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
        padding-bottom: 80px; /* Space for bottom nav */
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        z-index: 10001;
        padding: 10px 10px env(safe-area-inset-bottom);
        flex-direction: column; /* Stack Nav and Logout vertically */
        border-right: none;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.05);
        background: #fff;
    }

    .sidebar-logo, .sidebar-logo + div {
        display: none !important;
    }

    .admin-nav {
        display: flex;
        flex-wrap: wrap; /* Allow wrapping into 2 rows */
        justify-content: center;
        width: 100%;
        margin: 0 0 5px 0;
        gap: 2px;
    }

    .admin-nav a {
        flex: 0 0 19%; /* roughly 5 per row */
        flex-direction: column;
        padding: 8px 2px;
        margin: 0;
        font-size: 0.6rem;
        gap: 2px;
        border-radius: 8px;
        text-align: center;
        background: transparent;
        color: #666;
    }

    .admin-nav a.active {
        color: #000 !important;
        background: transparent !important; /* Ensure no black background */
        font-weight: 800 !important;
        transform: none !important; /* Remove horizontal shift from desktop style */
    }
    
    .admin-nav a.active i {
        font-size: 1.3rem; /* Slightly larger active icon */
    }

    .admin-sidebar > div[style*="margin-top: auto"] {
        margin-top: 5px !important;
        border-top: 1px solid #f5f5f5;
        width: 100%;
        text-align: center;
    }
    
    .admin-sidebar > div[style*="margin-top: auto"] a {
        padding: 8px !important;
        font-size: 0.8rem !important;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .admin-nav a i {
        margin-right: 0 !important;
        font-size: 1.1rem;
    }
    
    .admin-layout {
        flex-direction: column;
        padding-bottom: 150px !important; /* Increase space for 2-row nav + logout */
    }

    .admin-main {
        padding: 1.5rem 1rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .admin-title {
        font-size: 1.5rem;
    }

    .admin-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .admin-cal-container {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Table adjustments */
    th, td {
        padding: 0.8rem !important;
        font-size: 0.8rem !important;
    }
}
