@import url('true-masterpiece.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Tight:wght@600;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
    /* Theme override for Dark Bento Theme */
    --kaz-light: #0f172a;
    --kaz-dark: #f8fafc;
    --kaz-gray-100: #020617;
    --kaz-gray-200: rgba(255, 255, 255, 0.08);
    --kaz-gray-300: rgba(255, 255, 255, 0.12);
    --kaz-gray-400: #94a3b8;
    --kaz-gray-500: #64748b;
    --kaz-gray-600: #334155;
    
    --kaz-blue: #7c3aed; /* Premium Purple */
    --kaz-blue-light: #8b5cf6; /* Violet Neon */
    --kaz-blue-dark: #0b1120;
    
    --kaz-yellow: #f59e0b;
    
    --booking-blue: #7c3aed;
    --booking-blue-dark: #0b1120;
    --booking-blue-light: #8b5cf6;
    --booking-yellow: #f59e0b;
    --booking-bg: #020617;
    --booking-white: #0f172a;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-light: #9ca3af;
    
    --glass-bg: rgba(11, 17, 32, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
}

body {
    background-color: #020617 !important;
    color: #e5e7eb !important;
    background-image: radial-gradient(circle at 80% -10%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
                      radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.04) 0%, transparent 50%) !important;
    background-attachment: fixed !important;
    font-family: 'Inter', sans-serif !important;
}

/* Typography alignment */
h1, h2, h3, h4, h5, h6, .brand-font, .font-display, .booking-header__logo {
    font-family: 'Outfit', sans-serif !important;
}

.price, .price-value, .price-amount, .discount, .rating, .counter, .stat-value, .hotel-card__price, .price-per-day, .text-warning {
    font-family: 'Inter Tight', sans-serif !important;
}

/* Layout overrides for Desktop Fixed Sidebar */
@media (min-width: 992px) {
    .booking-layout {
        margin-top: 0 !important; /* Sidebar handles its own top margin */
    }
    
    .booking-sidebar {
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        position: fixed !important;
        z-index: 1020 !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: rgba(11, 17, 32, 0.9) !important;
    }
    
    .booking-header {
        position: fixed !important;
        top: 0 !important;
        left: var(--sidebar-width) !important;
        width: calc(100% - var(--sidebar-width)) !important;
        z-index: 1010 !important;
        background: rgba(2, 6, 23, 0.75) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    
    .booking-page-wrapper {
        margin-left: var(--sidebar-width) !important;
        margin-top: var(--header-height) !important;
    }
}

/* Sidebar Logo Header */
.sidebar-logo-container {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}
.sidebar-logo-container .logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-logo-container .logo-title i {
    color: #8b5cf6;
}
.sidebar-logo-container .logo-sub {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 2px;
    display: block;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Header Elements styling */
.booking-header {
    background: rgba(11, 17, 32, 0.75) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
    height: var(--header-height);
    padding: 0 24px;
}

.booking-header__search {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 8px 14px !important;
    max-width: 420px !important;
    width: 100%;
}

.booking-header__input {
    background: transparent !important;
    border: none !important;
    padding: 0 8px !important;
    font-size: 13.5px !important;
    color: #ffffff !important;
    width: 100%;
}

.booking-header__input::placeholder {
    color: #9ca3af !important;
    opacity: 0.65;
}

/* Header Icons */
.header-icon-btn {
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: all 0.2s;
    text-decoration: none;
}
.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}
.header-icon-btn .badge-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: white;
    font-size: 9px;
    font-weight: 700;
    border-radius: 50px;
    padding: 1px 4.5px;
    line-height: 1;
    min-width: 14px;
    text-align: center;
    border: 1.5px solid #0b1120;
}

.header-btn-premium {
    background: linear-gradient(135deg, #7C3AED 0%, #4c1d95 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(139, 92, 246, 0.4) !important;
    border-radius: 12px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25) !important;
}
.header-btn-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45) !important;
    color: #ffffff !important;
}

/* Horizontal Sub-navigation Tabs */
.sub-nav-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 17, 32, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.sub-nav-tabs::-webkit-scrollbar {
    display: none;
}
.sub-nav-tab-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 16px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.sub-nav-tab-item i {
    font-size: 14px;
    color: #94a3b8;
}
.sub-nav-tab-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.sub-nav-tab-item:hover i {
    color: #ffffff;
}
.sub-nav-tab-item.active {
    background: #7C3AED !important;
    border-color: #8B5CF6 !important;
    color: #ffffff !important;
    font-weight: 600;
}
.sub-nav-tab-item.active i {
    color: #ffffff;
}

/* Sidebar Menu Item Custom Styling */
.booking-sidebar {
    background: rgba(11, 17, 32, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.booking-menu__item {
    color: #cbd5e1 !important;
    padding: 11px 24px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
}

.booking-menu__item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

.booking-menu__item.active {
    background: rgba(124, 58, 237, 0.16) !important;
    color: #a78bfa !important;
    border-left: 3px solid #8b5cf6 !important;
    font-weight: 600 !important;
}

.booking-menu__icon {
    font-size: 16px !important;
    margin-right: 12px !important;
}

/* Bento Cards / Glassmorphic Containers */
.card, 
.premium-card, 
.bento-card, 
.stat-card, 
.promo-card, 
.rental-glass-card, 
.hotel-preview-card,
.partner-premium-card,
.hotel-card {
    background: rgba(11, 17, 32, 0.78) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e5e7eb !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35) !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.card:hover, 
.premium-card:hover, 
.bento-card:hover, 
.stat-card:hover, 
.promo-card:hover, 
.rental-glass-card:hover,
.partner-premium-card:hover,
.hotel-card:hover {
    border-color: rgba(139, 92, 246, 0.35) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12) !important;
}

.card-title, .stat-value, .rental-card-title, .partner-card-title, .hotel-card__title {
    color: #ffffff !important;
}

.text-muted, .stat-label, .rental-meta-info, .partner-card-tagline {
    color: #9ca3af !important;
}

/* Form Controls & Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px 15px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: rgba(139, 92, 246, 0.5) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15) !important;
}

/* Buttons */
.btn-primary, .btn-tm-neon, .btn-premium-rentals {
    background: linear-gradient(90deg, #7C3AED, #8B5CF6) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3) !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
}

.btn-primary:hover, .btn-tm-neon:hover, .btn-premium-rentals:hover {
    background: linear-gradient(90deg, #6D28D9, #7C3AED) !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5) !important;
    transform: translateY(-2px) !important;
}

.btn-warning, .btn-tm-gold, .btn-premium-gold {
    background: linear-gradient(90deg, #D4AF37, #F59E0B) !important;
    color: #020617 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
}

.btn-warning:hover, .btn-tm-gold:hover, .btn-premium-gold:hover {
    background: linear-gradient(90deg, #C5A028, #E08E00) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
    transform: translateY(-2px) !important;
}

.btn-outline-primary {
    border: 1px solid #7c3aed !important;
    color: #a78bfa !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: #7c3aed !important;
    color: #ffffff !important;
}

/* Offcanvas */
.offcanvas {
    background: #0b1120 !important;
    color: #f8fafc !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 25px 25px 0 !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-offcanvas-menu .list-group-item {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #cbd5e1 !important;
    border: none !important;
}

.mobile-offcanvas-menu .list-group-item:active,
.mobile-offcanvas-menu .list-group-item.active {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #c084fc !important;
}

.offcanvas-divider {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Footer */
.booking-footer {
    background: rgba(11, 17, 32, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

.booking-footer h6, .booking-footer h4 {
    color: #ffffff !important;
}

.booking-footer a {
    color: #94a3b8 !important;
}

.booking-footer a:hover {
    color: #ffffff !important;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    background: rgba(11, 17, 32, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

.mobile-nav-item {
    color: #94a3b8 !important;
}

.mobile-nav-item.active {
    color: #c084fc !important;
}

.mobile-nav-center-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
    border: 4px solid #020617 !important;
}

/* Tooltips & Dropdowns */
.dropdown-menu {
    background: rgba(11, 17, 32, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.dropdown-item {
    color: #cbd5e1 !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.dropdown-item.active {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #c084fc !important;
}

.dropdown-divider {
    background-color: rgba(255, 255, 255, 0.08) !important;
}
