/* 
 * The Yellow Farm Stay - Core Design & Global Responsive Stylesheet
 * Brand Colors: Golden Yellow (#EAB308) & Deep Charcoal Slate (#1C1E21)
 * Tagline: A Perfect Family & Friends Spot
 */

/* ==========================================
   1. Theme System & Variables
   ========================================== */
:root {
    --primary-color: #EAB308;      /* Golden Yellow from logo */
    --primary-dark: #D97706;       /* Deep Gold Accent */
    --primary-light: #FEF08A;      /* Light Yellow Accent */
    --brand-dark: #1C1E21;         /* Charcoal Slate Circle Badge */
    --brand-dark-surface: #272A30; /* Dark Card Surface */
    --bg-cream: #FDFBF7;           /* Warm Rustic Paper Cream */
    --text-dark: #1C1E21;          /* Dark Text */
    --text-muted: #4B5563;        /* Muted Gray Text */
    --light-surface: #FEF9C3;      /* Soft Sunlit Surface */
    --white: #FFFFFF;
    --gold-border: #E5A823;
    
    --shadow-sm: 0 2px 8px rgba(28, 30, 33, 0.06);
    --shadow-md: 0 8px 24px rgba(234, 179, 8, 0.15);
    --shadow-lg: 0 16px 36px rgba(28, 30, 33, 0.18);
    
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    
    --header-height: 80px;
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   2. Global Resets & Elements
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-dark);
    font-weight: 700;
    word-break: break-word;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--brand-dark);
}

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

/* Announcement Ribbon */
.top-announcement-bar {
    background: linear-gradient(90deg, #FDE047, #EAB308, #FDE047);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 0.88rem;
    font-family: var(--font-body);
}

/* ==========================================
   3. Buttons & UI Elements
   ========================================== */
.btn {
    border-radius: var(--border-radius-md);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-width: 2px;
}

.btn-primary, .btn-accent {
    background-color: var(--primary-color);
    border-color: var(--gold-border);
    color: var(--brand-dark);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.3);
}
.btn-primary:hover, .btn-primary:focus, .btn-accent:hover, .btn-accent:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-dark-custom {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--primary-color);
}
.btn-dark-custom:hover {
    background-color: #272A30;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--brand-dark);
    border-color: var(--primary-color);
    background: transparent;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--brand-dark);
}

.btn-outline-secondary {
    color: var(--text-dark);
    border-color: rgba(28, 30, 33, 0.2);
    background: transparent;
}
.btn-outline-secondary:hover {
    background-color: var(--brand-dark);
    color: var(--white);
}

/* Form Controls */
.form-control, .form-select {
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
    border: 1.5px solid rgba(234, 179, 8, 0.4);
    background-color: var(--white);
    color: var(--text-dark);
    transition: var(--transition-smooth);
    width: 100%;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.25rem rgba(234, 179, 8, 0.25);
    outline: none;
}

/* ==========================================
   4. Header & Navigation (Public)
   ========================================== */
.main-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.navbar-brand-custom {
    gap: 10px;
}
.navbar-brand-custom:hover .header-logo-badge {
    transform: scale(1.06) rotate(3deg);
}

.logo-badge-container {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.header-logo-badge {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.brand-text-container {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1;
    letter-spacing: 1px;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 2px;
}

/* Navigation Menu */
.desktop-nav {
    gap: 22px;
}

.nav-link-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 4px;
    position: relative;
    white-space: nowrap;
}
.nav-link-item:hover, .nav-link-item.active {
    color: var(--primary-dark);
}
.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}
.nav-link-item:hover::after, .nav-link-item.active::after {
    width: 100%;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.mobile-nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--brand-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1050;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
}
.mobile-nav-drawer.open {
    right: 0;
}

.drawer-header {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-bottom: 2px solid var(--primary-light);
}
.drawer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--brand-dark);
}
.drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.drawer-links {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}
.drawer-link-item {
    padding: 12px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    border-left: 4px solid transparent;
}
.drawer-link-item:hover, .drawer-link-item.active {
    background-color: var(--light-surface);
    color: var(--primary-dark);
    border-left-color: var(--primary-color);
}

/* Backdrop */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 1040;
    display: none;
}

/* ==========================================
   5. Hero Section (Rustic Luxury Theme)
   ========================================== */
.hero-section {
    position: relative;
    padding: 90px 0 120px 0;
    background: radial-gradient(circle at center, #272A30 0%, #1C1E21 70%, #111215 100%);
    color: var(--white);
    text-align: center;
    border-bottom: 6px solid var(--primary-color);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/logo.svg') center center no-repeat;
    background-size: contain;
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge-logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px auto;
    filter: drop-shadow(0 8px 20px rgba(234, 179, 8, 0.4));
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-subtitle {
    font-size: 1.15rem;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin: 0.8rem 0 1.2rem 0;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-location-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.location-pill {
    font-size: 0.88rem;
    background: rgba(234, 179, 8, 0.15);
    color: #FDE047;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(234, 179, 8, 0.4);
    font-weight: 500;
}

/* Welcome Summary Feature Box */
.welcome-summary-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border: 2px solid var(--primary-light);
}
.welcome-summary-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(234, 179, 8, 0.2);
}
.welcome-summary-item:last-child {
    border-right: none;
}
.welcome-icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: var(--light-surface);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 1.6rem;
    border: 2px solid var(--primary-color);
}

/* Sections */
.section-padding {
    padding: 70px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--brand-dark);
}
.section-subtitle {
    text-align: center;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

/* Amenities Icons */
.amenity-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(234, 179, 8, 0.25);
    height: 100%;
    transition: var(--transition-smooth);
}
.amenity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.amenity-icon {
    width: 65px;
    height: 65px;
    background-color: var(--light-surface);
    color: var(--brand-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.7rem;
    border: 2px solid var(--primary-color);
}
.amenity-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--brand-dark);
}

/* Pricing Card */
.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-header {
    background: var(--brand-dark);
    color: var(--white);
    padding: 25px;
    text-align: center;
    position: relative;
}
.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}
.pricing-amount {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 10px 0 0 0;
}
.pricing-features {
    padding: 25px;
    flex: 1;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(28, 30, 33, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li i {
    color: var(--primary-dark);
}

/* Location Highlight Cards */
.seo-location-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 24px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-smooth);
}
.seo-location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.seo-location-card h5 {
    color: var(--brand-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ==========================================
   6. Footer Styles & Floating Actions
   ========================================== */
.main-footer-section {
    background-color: var(--brand-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 30px 0;
    border-top: 5px solid var(--primary-color);
}

.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    animation: pulseGlow 2s infinite;
    text-decoration: none;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    color: #FFF;
}
.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: var(--brand-dark);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    border: 1px solid var(--primary-color);
}
.floating-whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================
   7. Comprehensive Responsive Breakpoints
   ========================================== */

/* Mobile Phones (Portrait & Small Screens: < 576px) */
@media (max-width: 575.98px) {
    :root {
        --header-height: 70px;
    }
    
    .brand-main {
        font-size: 1.05rem;
    }
    .brand-sub {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    .logo-badge-container {
        width: 42px;
        height: 42px;
    }
    
    .hero-section {
        padding: 60px 0 90px 0;
    }
    .hero-badge-logo {
        width: 95px;
        height: 95px;
    }
    .hero-title {
        font-size: 1.85rem;
        margin: 0.6rem 0 1rem 0;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }
    .location-pill {
        font-size: 0.78rem;
        padding: 4px 10px;
    }
    
    .welcome-summary-box {
        margin-top: -35px;
        border-radius: 12px;
    }
    .welcome-summary-item {
        padding: 20px 12px;
        border-right: none;
        border-bottom: 1px solid rgba(234, 179, 8, 0.2);
    }
    .welcome-summary-item:last-child {
        border-bottom: none;
    }
    
    .section-padding {
        padding: 45px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    
    .floating-whatsapp-btn {
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* Tablets (Portrait & Medium Screens: 576px to 991.98px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .welcome-summary-item {
        padding: 24px 16px;
    }
    .welcome-summary-item:nth-child(2) {
        border-right: none;
    }
    .welcome-summary-item:nth-child(3) {
        border-top: 1px solid rgba(234, 179, 8, 0.2);
    }
}

/* Large Screens & Desktops (>= 992px) */
@media (min-width: 992px) {
    .welcome-summary-item {
        border-right: 1px solid rgba(234, 179, 8, 0.2);
        border-bottom: none;
    }
    .welcome-summary-item:last-child {
        border-right: none;
    }
}

/* ==========================================
   8. Reservation Booking Wizard & Live Pricing Styles
   ========================================== */
.booking-wizard-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px 35px;
    border: 2px solid var(--primary-light);
    margin-bottom: 50px;
    position: relative;
}

/* Stepper Bar Container */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 45px;
    padding: 0 40px;
}

/* Background Gray Line */
.wizard-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 80px;
    right: 80px;
    height: 4px;
    background: #E2E8F0;
    z-index: 0;
    border-radius: 2px;
}

/* Active Yellow Progress Line Fill */
.wizard-progress-bar {
    position: absolute;
    top: 24px;
    left: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.5);
}

/* Individual Step Item */
.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    text-align: center;
    flex: 1;
    text-decoration: none;
    user-select: none;
}

/* Circle Badge */
.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid #CBD5E1;
    color: #64748B;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

/* Active Step Styling */
.wizard-step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-dark);
    color: var(--brand-dark);
    box-shadow: 0 6px 18px rgba(234, 179, 8, 0.45);
    transform: scale(1.15);
}

/* Completed Step Styling */
.wizard-step.completed .step-circle {
    background: #16A34A;
    border-color: #15803D;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Step Labels */
.step-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748B;
    transition: var(--transition-smooth);
    margin-top: 4px;
    white-space: nowrap;
}

.wizard-step.active .step-label {
    color: var(--brand-dark);
    font-weight: 800;
}

.wizard-step.completed .step-label {
    color: #16A34A;
    font-weight: 700;
}

/* Wizard Step Panels */
.wizard-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
}

.wizard-panel.active {
    display: block;
    opacity: 1;
    animation: fadeInStep 0.4s ease-out;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Live Pricing Summary Box (Right Column) */
.pricing-breakdown-box {
    background: var(--brand-dark);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    position: sticky;
    top: 100px;
}

.pricing-breakdown-box h4 {
    color: var(--primary-color);
    border-bottom: 1px solid rgba(234, 179, 8, 0.3);
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 1.35rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.price-row.grand-total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    border-bottom: none;
    padding-top: 14px;
}

.price-row.advance-payable {
    font-size: 1.1rem;
    font-weight: 700;
    color: #EF4444;
    border-bottom: none;
}

/* Mobile Stepper Adjustments */
@media (max-width: 575.98px) {
    .booking-wizard-container {
        padding: 24px 16px;
    }

    .wizard-steps {
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .wizard-steps::before, .wizard-progress-bar {
        top: 19px;
        left: 40px;
        right: 40px;
    }

    .step-circle {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        border-width: 2px;
        margin-bottom: 6px;
    }

    .wizard-step.active .step-circle {
        transform: scale(1.1);
    }

    .step-label {
        font-size: 0.78rem;
    }
}

/* Admin Calendar Grid Styles */
.admin-calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px !important;
    margin-top: 15px !important;
}

.calendar-day-header {
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 10px 5px !important;
    background-color: #F1F5F9 !important;
    border-radius: 8px !important;
    color: #334155 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.calendar-day {
    min-height: 95px !important;
    border-radius: 10px !important;
    padding: 8px !important;
    background: #ffffff !important;
    border: 1.5px solid #E2E8F0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.calendar-day.empty {
    background-color: #F8FAFC !important;
    border-color: #E2E8F0 !important;
    border-style: dashed !important;
    opacity: 0.4 !important;
}

.calendar-day:hover:not(.empty) {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
}

.calendar-date-number {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
    display: inline-block !important;
}

/* ==========================================================================
   Admin Panel Global Styles & Mobile View Optimizations
   ========================================================================== */

/* Stats Cards */
.stat-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #E2E8F0;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-card-info {
    flex: 1;
    min-width: 0;
}

.stat-card-info h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    color: #64748B;
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-card-info h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.55rem;
    color: #0F172A;
    margin-bottom: 0;
    font-weight: 800;
    line-height: 1.2;
}

.stat-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #FEF9C3;
    color: #B45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-left: 10px;
}

.stat-card-icon.amber {
    background-color: #FEF3C7;
    color: #D97706;
}

.stat-card-icon.green {
    background-color: #DCFCE7;
    color: #16A34A;
}

.stat-card-icon.indigo {
    background-color: #EEF2FF;
    color: #4F46E5;
}

.stat-card-icon.red {
    background-color: #FEE2E2;
    color: #DC2626;
}

/* Admin Card Table */
.admin-card-table {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 24px;
    border: 1px solid #E2E8F0;
}

.table-custom {
    width: 100%;
    margin-bottom: 0;
}

.table-custom th {
    background-color: #F8FAFC;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    padding: 12px 16px;
    border-bottom: 2px solid #E2E8F0;
    letter-spacing: 0.3px;
}

.table-custom td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.88rem;
}

.table-custom tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.badge-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-status.pending { background-color: #FEF3C7; color: #92400E; }
.badge-status.confirmed { background-color: #DCFCE7; color: #166534; }
.badge-status.cancelled { background-color: #FEE2E2; color: #991B1B; }
.badge-status.completed { background-color: #DBEAFE; color: #1E40AF; }

.badge-payment {
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-block;
}

.badge-payment.pending { color: #DC2626; }
.badge-payment.advance_paid { color: #D97706; }
.badge-payment.fully_paid { color: #16A34A; }

@media (max-width: 575px) {
    .stat-card {
        padding: 12px 14px !important;
        border-radius: 10px !important;
    }
    .stat-card-info h6 {
        font-size: 0.68rem !important;
        margin-bottom: 3px !important;
    }
    .stat-card-info h3 {
        font-size: 1.22rem !important;
    }
    .stat-card-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
        border-radius: 9px !important;
        margin-left: 6px !important;
    }
    .admin-card-table {
        padding: 14px !important;
        border-radius: 10px !important;
    }
    .admin-calendar-grid {
        gap: 3px !important;
        margin-top: 10px !important;
    }
    .calendar-day-header {
        font-size: 0.65rem !important;
        padding: 5px 2px !important;
        border-radius: 5px !important;
        letter-spacing: 0 !important;
    }
    .calendar-day {
        min-height: 52px !important;
        padding: 4px 2px !important;
        border-radius: 6px !important;
    }
    .calendar-date-number {
        font-size: 0.75rem !important;
        margin-bottom: 2px !important;
    }
    .calendar-day .badge {
        font-size: 0.58rem !important;
        padding: 2px 2px !important;
        border-radius: 3px !important;
    }
}

/* ==========================================
   Modern Luxury Website UI (Theme 2.0)
   ========================================== */
.hero-modern {
    padding: 70px 0 100px 0 !important;
    background: radial-gradient(circle at 30% 20%, #2A2615 0%, #18191C 60%, #0F1012 100%) !important;
    position: relative;
    overflow: hidden;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-badge {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #EAB308;
    box-shadow: 0 0 10px #EAB308;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title-modern {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.15;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem;
}

.gold-gradient {
    background: linear-gradient(135deg, #FDE047 0%, #EAB308 50%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline-text {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
    max-width: 620px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease;
}
.hero-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 179, 8, 0.4);
}
.hero-stat-card .stat-icon {
    color: #EAB308;
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.hero-stat-card .stat-val {
    font-weight: 800;
    font-size: 1rem;
    color: #FFFFFF;
}
.hero-stat-card .stat-lbl {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Glassmorphism Booking Card */
.hero-booking-card {
    background: rgba(24, 25, 28, 0.88);
    border: 2px solid rgba(234, 179, 8, 0.35);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* Photo Gallery Feature Cards */
.gallery-feature-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(234, 179, 8, 0.2);
    border-color: rgba(234, 179, 8, 0.4);
}
.gallery-hover-img {
    transition: transform 0.5s ease;
}
.gallery-feature-card:hover .gallery-hover-img {
    transform: scale(1.06);
}
.gallery-card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
}

/* Modern Amenity Cards */
.modern-amenity-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.modern-amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.12) !important;
    border-color: rgba(234, 179, 8, 0.35) !important;
}

/* Modern Pricing Cards */
.modern-pricing-card {
    background: #1C1E21;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.modern-pricing-card:hover {
    transform: translateY(-6px);
    border-color: #EAB308;
}
.popular-glow {
    border: 2px solid #EAB308 !important;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.18) !important;
}

/* ==========================================
   Flatpickr Luxury Dark Theme
   ========================================== */
.flatpickr-calendar {
    background: #1C1E21 !important;
    border: 2px solid #EAB308 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    font-family: var(--font-body) !important;
    overflow: hidden !important;
    color: #FFFFFF !important;
}
.flatpickr-months {
    background: #272A30 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(234, 179, 8, 0.3) !important;
}
.flatpickr-month, .flatpickr-current-month, .flatpickr-current-month input.cur-year {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    color: #EAB308 !important;
    font-weight: 700 !important;
    background: #272A30 !important;
}
.flatpickr-prev-month, .flatpickr-next-month {
    color: #EAB308 !important;
    fill: #EAB308 !important;
}
.flatpickr-prev-month:hover, .flatpickr-next-month:hover {
    color: #FFFFFF !important;
}
.flatpickr-prev-month svg, .flatpickr-next-month svg {
    fill: #EAB308 !important;
}
.flatpickr-weekdays {
    background: #1C1E21 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
span.flatpickr-weekday {
    color: #EAB308 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
}
.dayContainer {
    padding: 8px !important;
}
.flatpickr-day {
    color: #FFFFFF !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
}
.flatpickr-day:hover {
    background: rgba(234, 179, 8, 0.25) !important;
    color: #FFFFFF !important;
    border-color: #EAB308 !important;
}
.flatpickr-day.today {
    border-color: #EAB308 !important;
    color: #EAB308 !important;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
    background: #EAB308 !important;
    color: #1C1E21 !important;
    font-weight: 800 !important;
    border-color: #EAB308 !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4) !important;
}
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
    color: rgba(255, 255, 255, 0.2) !important;
    background: transparent !important;
    text-decoration: line-through !important;
    cursor: not-allowed !important;
}

/* ==========================================
   Comprehensive Mobile & Tablet UI Tuning
   ========================================== */

/* Mobile Phones (Portrait: < 576px) */
@media (max-width: 575.98px) {
    .top-announcement-bar {
        font-size: 0.76rem !important;
        padding: 4px 6px !important;
        line-height: 1.35 !important;
    }
    .brand-main {
        font-size: 1.05rem !important;
    }
    .brand-sub {
        font-size: 0.72rem !important;
    }
    .hero-modern {
        padding: 30px 0 45px 0 !important;
    }
    .hero-badge {
        margin-bottom: 0.75rem !important;
        padding: 4px 10px !important;
    }
    .hero-title-modern {
        font-size: 1.95rem !important;
        line-height: 1.16 !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-title-modern small {
        font-size: 1rem !important;
        margin-top: 3px !important;
    }
    .hero-tagline-text {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.1rem !important;
    }
    .hero-location-pills {
        gap: 5px !important;
        margin-bottom: 1.1rem !important;
    }
    .location-pill {
        font-size: 0.72rem !important;
        padding: 3px 7px !important;
    }
    .hero-stat-card {
        padding: 8px 4px !important;
        border-radius: 10px !important;
    }
    .hero-stat-card .stat-icon {
        font-size: 0.95rem !important;
        margin-bottom: 2px !important;
    }
    .hero-stat-card .stat-val {
        font-size: 0.82rem !important;
    }
    .hero-stat-card .stat-lbl {
        font-size: 0.62rem !important;
    }
    .hero-booking-card {
        padding: 16px 12px !important;
        border-radius: 14px !important;
        margin-top: 10px !important;
    }
    .hero-booking-card h4 {
        font-size: 1.2rem !important;
    }
    .gallery-feature-card img {
        height: 190px !important;
    }
    .modern-amenity-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .modern-amenity-card .amenity-icon-box {
        font-size: 1.4rem !important;
        margin-bottom: 6px !important;
    }
    .modern-pricing-card {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }
    .modern-pricing-card h3 {
        font-size: 1.3rem !important;
    }
    .display-6 {
        font-size: 1.65rem !important;
    }
    .btn-lg {
        padding: 11px 18px !important;
        font-size: 0.95rem !important;
    }
}

/* Tablets (Portrait & Medium Screens: 576px to 991.98px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-modern {
        padding: 45px 0 60px 0 !important;
    }
    .hero-title-modern {
        font-size: 2.5rem !important;
    }
    .hero-booking-card {
        padding: 22px 18px !important;
    }
    .gallery-feature-card img {
        height: 230px !important;
    }
}

/* ==========================================================================
   PHOTO GALLERY & FULLSCREEN LIGHTBOX PORTFOLIO (PREMIUM DESIGN)
   ========================================================================== */

/* Gallery Grid System */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
    margin-top: 35px;
}

@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Gallery Item Card */
.gallery-item {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(229, 231, 235, 0.9);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover,
.gallery-item:focus {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.22), 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(234, 179, 8, 0.6);
    outline: none;
}

.gallery-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111827;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.8) 0%, rgba(17, 24, 39, 0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.zoom-badge {
    background: #EAB308;
    color: #111827;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(12px);
    transition: transform 0.3s ease, background 0.2s;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-item:hover .zoom-badge {
    transform: translateY(0);
}

.gallery-caption {
    padding: 14px 18px;
    background: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(243, 244, 246, 1);
}

.gallery-caption .badge-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #B45309;
    background: #FEF3C7;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX MODAL ENGINE (TOUCH + ZOOM + PAN)
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: rgba(10, 12, 16, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-modal.active {
    display: flex !important;
    opacity: 1;
}

/* Lightbox Header */
.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    z-index: 30;
}

.lightbox-counter {
    color: #F3F4F6;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 16px;
    border-radius: 20px;
}

.lightbox-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lightbox-tool-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.lightbox-tool-btn:hover {
    background: #EAB308;
    color: #111827;
    border-color: #EAB308;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
}

.lightbox-close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lightbox-close:hover {
    background: #EF4444;
    color: #ffffff;
    border-color: #EF4444;
    transform: rotate(90deg) scale(1.08);
}

/* Lightbox Content & Viewport */
.lightbox-content-wrap {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 24px;
}

.lightbox-viewport {
    position: relative;
    max-width: 92vw;
    max-height: 76vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.lightbox-viewport:active {
    cursor: grabbing;
}

.lightbox-image {
    max-width: 92vw;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    transition: transform 0.22s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.2s ease;
    transform-origin: center center;
    will-change: transform;
}

.lightbox-image.is-zoomed {
    cursor: grab;
}

.lightbox-image.is-dragging {
    cursor: grabbing;
    transition: none;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 14px;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    padding: 8px 22px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 85%;
    backdrop-filter: blur(8px);
}

/* Navigation Arrow Buttons */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 25;
}

.lightbox-nav-btn:hover {
    background: #EAB308;
    color: #111827;
    border-color: #EAB308;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.45);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
    .lightbox-header { padding: 14px 16px; }
    .lightbox-tool-btn span { display: none; }
    .lightbox-tool-btn { padding: 8px 12px; }
    .lightbox-image {
        max-width: 95vw;
        max-height: 72vh;
        border-radius: 8px;
    }
}





