/* --- LuxeHaven Luxury Digital Design System & StyleSheet --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Rich Luxury Dark Palette */
    --primary-dark: #0B0F19;
    /* Onyx depth */
    --primary-light: #0F172A;
    /* Slate depth */
    --gold-accent: #F59E0B;
    /* Amber luxury gold */
    --gold-accent-hover: #D97706;
    --blue-glow: #2563EB;

    /* Luxury typography tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Responsive rounded edges */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    /* Cinematic transitions - specific property targeting for maximum performance */
    --transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.5s ease, color 0.3s ease, opacity 0.4s ease;
    --glass-blur: blur(20px);
}

html {
    scroll-behavior: auto !important;
}

/* --- Base Body & Typography Overrides --- */
body {
    background-color: var(--primary-dark) !important;
    color: #CBD5E1 !important;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: -0.1px;
}

.bg-dark-deep {
    background-color: #080C14 !important;
}

.bg-black {
    background-color: #030712 !important;
}

.section-dark-luxe {
    background-color: #0B0F19 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.font-cinzel {
    font-family: var(--font-serif) !important;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #FFE082 0%, var(--gold-accent) 50%, var(--gold-accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-light {
    background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Luxury Branding Brand-Text and Text-Gradient logo styling */
.brand-text {
    font-family: var(--font-serif) !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-size: 22px !important;
    display: inline-flex;
    align-items: center;
}

.brand-text i {
    color: var(--gold-accent) !important;
    font-size: 20px !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.text-gradient {
    background: linear-gradient(135deg, #FFE082 0%, var(--gold-accent) 50%, var(--gold-accent-hover) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}

.text-gold-accent {
    color: var(--gold-accent) !important;
}

.text-light-muted {
    color: #94A3B8 !important;
}

.tracking-widest {
    letter-spacing: 0.15em !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Cinematic Luxury Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #030712;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.preloader-brand {
    margin-bottom: 30px;
}

.preloader-logo-text {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 4px;
    display: block;
}

.preloader-subtitle {
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 8px;
    color: var(--gold-accent);
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.preloader-bar {
    width: 150px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.preloader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--gold-accent);
    transform: translateX(-100%);
    animation: preloader-loading 1.8s infinite ease-in-out;
}

@keyframes preloader-loading {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* --- Glassmorphic Navigation Header --- */
.glass-nav {
    background: rgba(11, 15, 25, 0.6) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.glass-nav.nav-scrolled {
    background: rgba(3, 7, 18, 0.9) !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-link-luxury {
    color: #E2E8F0 !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link-luxury:hover,
.nav-link-luxury.active {
    color: var(--gold-accent) !important;
}

.nav-link-luxury::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--gold-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link-luxury:hover::after,
.nav-link-luxury.active::after {
    width: 25px;
}

/* --- Premium Buttons --- */
.btn-premium {
    position: relative;
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-accent-hover) 100%);
    color: #030712 !important;
    border: none;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
    z-index: 1;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.35);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-gold-solid {
    position: relative;
    background-color: var(--gold-accent);
    color: #F1F5F9 !important;
    border: 1px solid var(--gold-accent);
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 11px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    z-index: 1;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, color 0.3s ease, box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.btn-gold-solid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #030712;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-gold-solid:hover {
    color: var(--gold-accent) !important;
    border-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15);
}

.btn-gold-solid:hover::before {
    opacity: 1;
}

.btn-outline-gold {
    position: relative;
    background-color: transparent;
    color: var(--gold-accent) !important;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 11px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    z-index: 1;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, color 0.3s ease, box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.btn-outline-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-accent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-outline-gold:hover {
    color: #030712 !important;
    border-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline-gold:hover::before {
    opacity: 1;
}

.btn-glass-light {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 1;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.btn-glass-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-glass-light:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-glass-light:hover::before {
    opacity: 1;
}

.btn-success-luxury {
    background-color: #10B981;
    color: #FFFFFF !important;
    border: none;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-success-luxury:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

/* --- Cinematic Hero Layout --- */
.hero-section-cinematic {
    min-height: 100vh;
    background: #030712;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.7) 0%, rgba(11, 15, 25, 0.95) 100%);
    z-index: 1;
}

.hero-luxe-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold-accent);
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-weight: 600;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 50px;
}

/* --- Glassmorphic Cards --- */
.glass-card-luxury {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.glass-card-dark:hover {
    border-color: rgba(245, 158, 11, 0.15);
}

.glass-floating-badge {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* --- Custom Inputs --- */
.luxury-input {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    transition: var(--transition) !important;
}

.luxury-input:focus {
    border-color: var(--gold-accent) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
}

.luxury-input-text {
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-sm) !important;
    padding: 14px 20px !important;
    transition: var(--transition) !important;
}

.luxury-input-text:focus {
    border-color: var(--gold-accent) !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15) !important;
}

.luxury-input-text-sm {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    transition: var(--transition) !important;
}

.luxury-input-text-sm:focus {
    border-color: var(--gold-accent) !important;
}

/* Custom Input Placeholder Styling - Cross Browser Support */
.luxury-input::placeholder,
.luxury-input-text::placeholder,
.luxury-input-text-sm::placeholder,
.form-control::placeholder {
    color: #64748B !important;
    opacity: 0.85 !important;
}

.luxury-input::-webkit-input-placeholder,
.luxury-input-text::-webkit-input-placeholder,
.luxury-input-text-sm::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder {
    color: #64748B !important;
    opacity: 0.85 !important;
}

.luxury-input::-moz-placeholder,
.luxury-input-text::-moz-placeholder,
.luxury-input-text-sm::-moz-placeholder,
.form-control::-moz-placeholder {
    color: #64748B !important;
    opacity: 0.85 !important;
}

.luxury-input:-ms-input-placeholder,
.luxury-input-text:-ms-input-placeholder,
.luxury-input-text-sm:-ms-input-placeholder,
.form-control:-ms-input-placeholder {
    color: #64748B !important;
    opacity: 0.85 !important;
}

/* --- Luxury Property Cards --- */
.property-luxury-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    will-change: transform, box-shadow;
}

.property-luxury-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(245, 158, 11, 0.2);
}

.property-image-holder {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-image-holder img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: contrast(1.08) brightness(0.96) saturate(1.04);
}

.property-luxury-card:hover .property-image-holder img {
    transform: scale(1.1) rotate(0.5deg) !important;
    filter: contrast(1.18) brightness(0.82) saturate(1.05) !important;
}

/* Video Testimonial Card Scaling and Blur */
.video-testimonial-card img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: contrast(1.08) brightness(0.96) saturate(1.04);
}

.video-testimonial-card:hover img {
    transform: scale(1.08) !important;
    filter: contrast(1.18) brightness(0.8) saturate(1.05) !important;
}

.image-gradient-shade {
    display: none !important;
}

.property-status-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(3, 7, 18, 0.8);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-featured-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold-accent);
    color: #030712;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.property-construction-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.8) !important;
    color: var(--gold-accent) !important;
    padding: 5px 12px !important;
    border-radius: 50px !important;
    font-family: var(--font-serif) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    z-index: 3;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

/* --- WhatsApp Float Button --- */
.whatsapp-float-luxury {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float-luxury:hover {
    transform: scale(1.1) rotate(8deg);
    color: #FFFFFF;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #030712;
}

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-accent);
}

/* --- Inner Pages Hero --- */
.luxury-inner-hero {
    height: 45vh;
    min-height: 350px;
}

html .luxury-inner-hero h1,
html .luxury-inner-hero p,
html .luxury-inner-hero .lead {
    color: #FFFFFF !important;
}

.luxury-inner-hero h1,
.luxury-inner-hero p,
.luxury-inner-hero .lead {
    color: #ffffff !important;
}

.inner-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* --- Play button pulse --- */
.play-btn-pulse {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border: 2px solid var(--gold-accent);
    color: #FFFFFF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    outline: none;
}

.play-btn-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--gold-accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: btn-pulse-wave 2s infinite ease-out;
}

@keyframes btn-pulse-wave {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* --- Detail Gallery Slider --- */
.detail-gallery-slide-img {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.swiper-nav-luxe {
    color: var(--gold-accent) !important;
}

.swiper-pagination-bullet-active {
    background: var(--gold-accent) !important;
}

/* --- Admin Panel Aesthetics --- */
.admin-sidebar-luxury {
    background: #030712;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 100vh;
    z-index: 1000;
}

.admin-nav-links .nav-link {
    color: #94A3B8;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 5px;
    transition: var(--transition);
}

.admin-nav-links .nav-link:hover,
.admin-nav-links .nav-link.active {
    color: var(--gold-accent);
    background: rgba(245, 158, 11, 0.08);
}

.glass-card-admin-stat {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.admin-stat-icon-luxe {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.bg-primary-luxe {
    background: rgba(37, 99, 235, 0.08);
}

.bg-warning-luxe {
    background: rgba(245, 158, 11, 0.08);
}

.bg-success-luxe {
    background: rgba(16, 185, 129, 0.08);
}

.bg-danger-luxe {
    background: rgba(239, 68, 68, 0.08);
}

.admin-dark-body {
    background-color: #030712;
    color: #CBD5E1;
}

/* --- Accordions --- */
.luxury-accordion .accordion-item {
    background: transparent;
}

.luxury-accordion .accordion-button {
    color: #FFFFFF;
    font-weight: 600;
}

.luxury-accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--gold-accent);
    box-shadow: none;
}

/* --- Admin Tabs --- */
.admin-luxe-tabs .nav-link {
    color: #94A3B8;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    transition: var(--transition);
}

.admin-luxe-tabs .nav-link:hover {
    color: #FFFFFF;
}

.admin-luxe-tabs .nav-link.active {
    color: var(--gold-accent) !important;
    border-bottom-color: var(--gold-accent) !important;
    background: transparent;
}

/* --- Gallery Admin details hover actions --- */
.admin-gallery-item-wrapper:hover .admin-gallery-actions {
    opacity: 1;
}

.admin-gallery-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 4px;
    z-index: 10;
    opacity: 0;
    transition: var(--transition);
}

.btn-xs {
    padding: 3px 6px;
    font-size: 10px;
}

.admin-gallery-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: var(--gold-accent);
    color: #030712;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

/* --- Media Hover overlay --- */
.media-luxury-card:hover .media-hover-overlay {
    opacity: 1 !important;
}

.amenity-checkbox-wrapper {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.amenity-checkbox-wrapper:hover {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

/* --- Luxury Pagination --- */
.pagination-luxury .page-link {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #FFFFFF !important;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.pagination-luxury .page-item.active .page-link {
    background: var(--gold-accent) !important;
    color: #030712 !important;
    border-color: var(--gold-accent) !important;
    font-weight: 700;
}

.pagination-luxury .page-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--gold-accent) !important;
}

/* --- Footer --- */
.luxury-footer {
    background-color: #080C14;
    color: #94A3B8;
}

.social-circle-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-decoration: none;
}

.social-circle-link:hover {
    background: var(--gold-accent);
    color: #030712 !important;
    transform: translateY(-3px);
}

.footer-link {
    color: #94A3B8;
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
}

.footer-link:hover {
    color: var(--gold-accent) !important;
    padding-left: 4px;
}

.newsletter-input {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

.btn-newsletter {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
    padding: 10px 20px !important;
}

/* --- LuxeHaven Premium Light Theme Overrides --- */
html.admin-light-theme {
    background-color: #F8FAFC !important;
}

html.admin-light-theme body,
html.admin-light-theme body.admin-dark-body {
    background-color: #F8FAFC !important;
    color: #334155 !important;
}

html.admin-light-theme .admin-sidebar-luxury {
    background: #FFFFFF !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html.admin-light-theme .brand-logo-sidebar,
html.admin-light-theme .admin-sidebar-luxury .text-gradient-light,
html.admin-light-theme .text-gradient-light {
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

html.admin-light-theme .glass-card-dark,
html.admin-light-theme .glass-card,
html.admin-light-theme .glass-card-admin-stat {
    background: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

html.admin-light-theme h1,
html.admin-light-theme h2,
html.admin-light-theme h3,
html.admin-light-theme h4,
html.admin-light-theme h5,
html.admin-light-theme h6,
html.admin-light-theme .text-white,
html.admin-light-theme .navbar-brand {
    color: #0F172A !important;
}

html.admin-light-theme .text-secondary,
html.admin-light-theme .text-muted {
    color: #64748B !important;
}

html.admin-light-theme .admin-nav-links .nav-link {
    color: #475569 !important;
}

html.admin-light-theme .admin-nav-links .nav-link:hover,
html.admin-light-theme .admin-nav-links .nav-link.active {
    color: var(--gold-accent) !important;
    background: rgba(245, 158, 11, 0.06) !important;
}

html.admin-light-theme .luxury-input-text,
html.admin-light-theme .luxury-input-text-sm,
html.admin-light-theme .form-select.luxury-input,
html.admin-light-theme .form-control,
html.admin-light-theme .form-select {
    background-color: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

html.admin-light-theme .luxury-input-text:focus,
html.admin-light-theme .luxury-input-text-sm:focus,
html.admin-light-theme .form-control:focus,
html.admin-light-theme .form-select:focus {
    border-color: var(--gold-accent) !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15) !important;
}

html.admin-light-theme .luxury-input-text::placeholder,
html.admin-light-theme .luxury-input-text-sm::placeholder,
html.admin-light-theme .form-control::placeholder {
    color: #94A3B8 !important;
}

html.admin-light-theme .border-secondary,
html.admin-light-theme .border-bottom,
html.admin-light-theme .border-top {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

html.admin-light-theme .amenity-checkbox-wrapper {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

html.admin-light-theme .amenity-checkbox-wrapper label {
    color: #334155 !important;
}

html.admin-light-theme .form-check-label {
    color: #334155 !important;
}

html.admin-light-theme .nav-tabs.admin-luxe-tabs .nav-link {
    color: #64748B !important;
}

html.admin-light-theme .nav-tabs.admin-luxe-tabs .nav-link:hover {
    color: #0F172A !important;
}

html.admin-light-theme .nav-tabs.admin-luxe-tabs .nav-link.active {
    color: var(--gold-accent) !important;
    border-bottom-color: var(--gold-accent) !important;
}

html.admin-light-theme .admin-sidebar-luxury .border-bottom {
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

html.admin-light-theme .admin-sidebar-luxury hr {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}

html.admin-light-theme .alert-danger.glass-card-dark {
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
    color: #EF4444 !important;
}

html.admin-light-theme .alert-success.glass-card-dark {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
    color: #10B981 !important;
}

html.admin-light-theme .table {
    color: #334155 !important;
}

html.admin-light-theme .table th {
    background-color: #F1F5F9 !important;
    color: #0F172A !important;
    border-bottom-color: #CBD5E1 !important;
}

html.admin-light-theme .table td {
    border-bottom-color: #E2E8F0 !important;
}

html.admin-light-theme .pagination-luxury .page-link {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #334155 !important;
}

html.admin-light-theme .pagination-luxury .page-item.active .page-link {
    background: var(--gold-accent) !important;
    color: #030712 !important;
    border-color: var(--gold-accent) !important;
}

html.admin-light-theme .admin-badge-unread {
    color: #FFFFFF !important;
}

html.admin-light-theme .text-white-50 {
    color: rgba(0, 0, 0, 0.5) !important;
}

html.admin-light-theme .dropdown-menu.glass-card {
    background: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

html.admin-light-theme .dropdown-item {
    color: #334155 !important;
}

html.admin-light-theme .dropdown-item:hover {
    background-color: #F1F5F9 !important;
    color: #0F172A !important;
}

html.admin-light-theme .btn-outline-light {
    border-color: #CBD5E1 !important;
    color: #334155 !important;
}

html.admin-light-theme .btn-outline-light:hover {
    background-color: #F1F5F9 !important;
    color: #0F172A !important;
}

/* Specific table-dark overrides in light theme */
html.admin-light-theme .table.table-dark {
    --bs-table-color: #334155 !important;
    --bs-table-bg: #FFFFFF !important;
    --bs-table-border-color: #E2E8F0 !important;
    --bs-table-hover-color: #0F172A !important;
    --bs-table-hover-bg: #F1F5F9 !important;
    color: #334155 !important;
    background-color: #FFFFFF !important;
}

html.admin-light-theme .table.table-dark th {
    background-color: #F1F5F9 !important;
    color: #0F172A !important;
    border-bottom: 2px solid #E2E8F0 !important;
}

html.admin-light-theme .table.table-dark td {
    background-color: #FFFFFF !important;
    color: #334155 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

html.admin-light-theme .table.table-dark a {
    color: #2563EB !important;
}

html.admin-light-theme .table.table-dark a:hover {
    color: #1D4ED8 !important;
}

/* Text white overrides under light theme */
html.admin-light-theme .text-white {
    color: #0F172A !important;
}

html.admin-light-theme .text-light-muted {
    color: #475569 !important;
}

/* Text warning overrides under light theme */
html.admin-light-theme a.text-warning,
html.admin-light-theme .text-warning {
    color: #B45309 !important;
}

/* --- Admin Modal Styling (Dark Theme default) --- */
.admin-modal-card {
    background-color: #0B0F19 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
    border-radius: 16px !important;
    color: #E2E8F0 !important;
}

.admin-modal-card .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.25rem 1.5rem;
}

.admin-modal-card .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.25rem 1.5rem;
}

.admin-modal-value {
    color: #FFFFFF !important;
}

.admin-modal-muted {
    color: #94A3B8 !important;
}

.admin-modal-link {
    color: #E2E8F0 !important;
    transition: color 0.2s ease;
}

.admin-modal-link:hover {
    color: var(--gold-accent) !important;
}

.admin-modal-label {
    color: #94A3B8 !important;
}

.admin-modal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    width: 100%;
}

.admin-message-display-box {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #CBD5E1 !important;
}

.admin-readonly-input {
    background-color: rgba(15, 23, 42, 0.7) !important;
    color: #94A3B8 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Modal styling in light theme */
html.admin-light-theme .admin-modal-card,
html.admin-light-theme .modal-content,
html.admin-light-theme .modal-content.bg-black {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15) !important;
    color: #1E293B !important;
}

html.admin-light-theme .admin-modal-card .modal-header,
html.admin-light-theme .modal-header {
    border-bottom: 1px solid #E2E8F0 !important;
}

html.admin-light-theme .admin-modal-card .modal-title,
html.admin-light-theme .modal-title {
    color: #0F172A !important;
}

html.admin-light-theme .admin-modal-card .modal-footer,
html.admin-light-theme .modal-footer {
    border-top: 1px solid #E2E8F0 !important;
}

html.admin-light-theme .admin-modal-value {
    color: #0F172A !important;
}

html.admin-light-theme .admin-modal-muted {
    color: #475569 !important;
}

html.admin-light-theme .admin-modal-link {
    color: #0F172A !important;
}

html.admin-light-theme .admin-modal-link:hover {
    color: #B45309 !important;
}

html.admin-light-theme .admin-modal-label {
    color: #334155 !important;
}

html.admin-light-theme .admin-modal-divider {
    background: #E2E8F0 !important;
}

html.admin-light-theme .admin-message-display-box {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

html.admin-light-theme .admin-message-display-box .admin-modal-muted {
    color: #334155 !important;
}

html.admin-light-theme .admin-readonly-input {
    background-color: #F1F5F9 !important;
    color: #475569 !important;
    border-color: #CBD5E1 !important;
}

html.admin-light-theme .btn-close {
    filter: none !important;
    opacity: 0.7;
}

html.admin-light-theme .btn-close:hover {
    opacity: 1;
}

/* ==========================================================================
   LuxeHaven Premium Frontend Themes & Overrides
   ========================================================================== */

/* --- 1. Blue & White Theme Variables & Base Style --- */
html.theme-blue-white {
    --primary-dark: #F8FAFC;
    /* Light slate blue-white background */
    --primary-light: #FFFFFF;
    /* Pure white */
    --gold-accent: #2563EB;
    /* Royal Blue */
    --gold-accent-hover: #1D4ED8;
    /* Darker Royal Blue */
    --blue-glow: #3B82F6;
}

/* --- 2. Westin Green Theme Variables & Base Style --- */
html.theme-green {
    --primary-dark: #F8FAF5;
    /* Cream/greenish tint */
    --primary-light: #FFFFFF;
    /* Pure white */
    --gold-accent: #2D5016;
    /* Deep Forest Green (Westin) */
    --gold-accent-hover: #3D6B1F;
    /* Medium Forest Green */
    --blue-glow: #4E8A28;
    /* Light Green */
}

/* --- 3. Sand & Taupe Theme Variables & Base Style --- */
html.theme-sand-beige {
    --primary-dark: #F4EFEA;
    /* Soft warm sand background */
    --primary-light: #FFFFFF;
    /* Pure white */
    --gold-accent: #705C4F;
    /* Deep Taupe/Bronze Accent */
    --gold-accent-hover: #544439;
    /* Darker Bronze/Taupe */
    --blue-glow: #A39081;
    /* Soft Latte Glow */
}

/* --- General Font / Text Muted overrides --- */
html.theme-blue-white .text-light-muted {
    color: #64748B !important;
    /* Muted slate gray */
}

html.theme-green .text-light-muted {
    color: #827662 !important;
    /* Muted warm gray-brown */
}

html.theme-sand-beige .text-light-muted {
    color: #8A7E74 !important;
    /* Muted warm sand-taupe */
}

/* --- Common Light Theme Rules for Frontend --- */
html.theme-blue-white,
html.theme-green,
html.theme-sand-beige {
    background-color: var(--primary-dark) !important;
}

html.theme-blue-white body,
html.theme-green body,
html.theme-sand-beige body {
    background-color: var(--primary-dark) !important;
    color: #3A322C !important;
    /* Dark warm coffee/charcoal-brown text */
}

html.theme-green body {
    color: #1A1A1A !important;
    /* Charcoal text for Westin Green */
}

/* Headings color override */
html.theme-blue-white h1,
html.theme-blue-white h2,
html.theme-blue-white h3,
html.theme-blue-white h4,
html.theme-blue-white h5,
html.theme-blue-white h6,
html.theme-blue-white .text-white,
html.theme-blue-white .navbar-brand {
    color: #0F172A !important;
    /* Deep dark blue-slate */
}

html.theme-blue-white h1,
html.theme-blue-whiteOne .navbar-brand {
    color: #E2E8F0 !important;
    /* Deep dark blue-slate */
}

html.theme-green h1,
html.theme-green h2,
html.theme-green h3,
html.theme-green h4,
html.theme-green h5,
html.theme-green h6,
html.theme-green .text-white,
html.theme-green .navbar-brand {
    color: #2D5016 !important;
    /* Deep Forest Green */
}

html.theme-sand-beige h1,
html.theme-sand-beige h2,
html.theme-sand-beige h3,
html.theme-sand-beige h4,
html.theme-sand-beige h5,
html.theme-sand-beige h6,
html.theme-sand-beige .text-white,
html.theme-sand-beige .navbar-brand {
    color: #4A3E36 !important;
    /* Deep Warm Coffee/Bronze */
}

/* Card Overrides */
html.theme-blue-white .glass-card-luxury,
html.theme-blue-white .glass-card-dark,
html.theme-blue-white .property-luxury-card,
html.theme-blue-white .glass-floating-badge {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06) !important;
}

html.theme-green .glass-card-luxury,
html.theme-green .glass-card-dark,
html.theme-green .property-luxury-card,
html.theme-green .glass-floating-badge {
    background: #FFFFFF !important;
    border: 1px solid #D8E8C8 !important;
    /* Soft green border */
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.05) !important;
}

html.theme-sand-beige .glass-card-luxury,
html.theme-sand-beige .glass-card-dark,
html.theme-sand-beige .property-luxury-card,
html.theme-sand-beige .glass-floating-badge {
    background: #FFFFFF !important;
    border: 1px solid #EADEC9 !important;
    /* Soft sand-beige border */
    box-shadow: 0 20px 40px rgba(110, 90, 75, 0.05) !important;
}

/* Ensure header/navbar is always darker and shiny (glossy) on all themes */
html.theme-blue-white .glass-nav,
html.theme-green .glass-nav,
html.theme-sand-beige .glass-nav {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96) 0%, rgba(2, 4, 10, 0.92) 100%) !important;
    backdrop-filter: blur(25px) saturate(220%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(220%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.55) !important;
}

html.theme-blue-white .glass-nav.nav-scrolled,
html.theme-green .glass-nav.nav-scrolled,
html.theme-sand-beige .glass-nav.nav-scrolled {
    background: rgba(1, 2, 5, 0.99) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 15px 50px rgba(0, 0, 0, 0.75) !important;
}

html.theme-blue-white .nav-link-luxury,
html.theme-green .nav-link-luxury,
html.theme-sand-beige .nav-link-luxury {
    color: #E2E8F0 !important;
}

html.theme-blue-white .navbar-brand,
html.theme-green .navbar-brand,
html.theme-sand-beige .navbar-brand {
    color: #FFFFFF !important;
}

html.theme-blue-white .nav-link-luxury:hover,
html.theme-blue-white .nav-link-luxury.active {
    color: #60A5FA !important;
    /* Lighter blue for dark background */
}

html.theme-blue-white .nav-link-luxury::after {
    background-color: #60A5FA !important;
}

html.theme-green .nav-link-luxury:hover,
html.theme-green .nav-link-luxury.active {
    color: #81C784 !important;
    /* Lighter green for dark background */
}

html.theme-green .nav-link-luxury::after {
    background-color: #81C784 !important;
}

html.theme-sand-beige .nav-link-luxury:hover,
html.theme-sand-beige .nav-link-luxury.active {
    color: #DCD0C4 !important;
    /* Soft light beige/latte for dark background hover */
}

html.theme-sand-beige .nav-link-luxury::after {
    background-color: #DCD0C4 !important;
}

/* Background Utility Classes */
html.theme-blue-white .bg-dark-deep,
html.theme-blue-white .bg-black,
html.theme-blue-white .section-dark-luxe {
    background-color: #F1F5F9 !important;
}

html.theme-green .bg-dark-deep,
html.theme-green .bg-black,
html.theme-green .section-dark-luxe {
    background-color: #F4F9EE !important;
    /* Soft pale green */
}

html.theme-sand-beige .bg-dark-deep,
html.theme-sand-beige .bg-black,
html.theme-sand-beige .section-dark-luxe {
    background-color: #F4EFEA !important;
    /* Soft warm sand */
}

/* Warning / Accent text color overrides on light themes */
html.theme-blue-white .text-warning {
    color: #1D4ED8 !important;
    /* High contrast blue */
}

html.theme-green .text-warning {
    color: #2D5016 !important;
    /* High contrast green */
}

html.theme-sand-beige .text-warning {
    color: #705C4F !important;
    /* High contrast bronze/taupe */
}

/* Text Gradients (remove transparent text-fills so it displays beautifully) */
html.theme-blue-white .text-gradient-light,
html.theme-blue-white .text-gradient,
html.theme-blue-white .text-gold-gradient {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #2563EB !important;
    color: #2563EB !important;
}

html.theme-green .text-gradient-light,
html.theme-green .text-gradient,
html.theme-green .text-gold-gradient {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #2D5016 !important;
    color: #2D5016 !important;
}

html.theme-sand-beige .text-gradient-light,
html.theme-sand-beige .text-gradient,
html.theme-sand-beige .text-gold-gradient {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #705C4F !important;
    color: #705C4F !important;
}

/* Buttons */
html.theme-blue-white .btn-premium {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15) !important;
}

html.theme-blue-white .btn-premium:hover {
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.3) !important;
}

html.theme-blue-white .btn-premium::before {
    background: linear-gradient(135deg, #1E40AF 0%, #1D4ED8 100%) !important;
}

html.theme-green .btn-premium {
    background: linear-gradient(135deg, #2D5016 0%, #3D6B1F 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.15) !important;
}

html.theme-green .btn-premium:hover {
    box-shadow: 0 16px 32px rgba(45, 80, 22, 0.3) !important;
}

html.theme-green .btn-premium::before {
    background: linear-gradient(135deg, #1E3A0B 0%, #3D6B1F 100%) !important;
}

html.theme-sand-beige .btn-premium {
    background: linear-gradient(135deg, #705C4F 0%, #544439 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(110, 90, 75, 0.15) !important;
}

html.theme-sand-beige .btn-premium:hover {
    box-shadow: 0 16px 32px rgba(110, 90, 75, 0.3) !important;
}

html.theme-sand-beige .btn-premium::before {
    background: linear-gradient(135deg, #544439 0%, #3A3028 100%) !important;
}

/* Outline Buttons */
html.theme-blue-white .btn-outline-gold {
    border-color: rgba(37, 99, 235, 0.4) !important;
    color: #2563EB !important;
}

html.theme-blue-white .btn-outline-gold:hover {
    color: #FFFFFF !important;
    background-color: #2563EB !important;
}

html.theme-green .btn-outline-gold {
    border-color: rgba(45, 80, 22, 0.4) !important;
    color: #2D5016 !important;
}

html.theme-green .btn-outline-gold:hover {
    color: #FFFFFF !important;
    background-color: #2D5016 !important;
}

html.theme-sand-beige .btn-outline-gold {
    border-color: rgba(110, 90, 75, 0.4) !important;
    color: #705C4F !important;
}

html.theme-sand-beige .btn-outline-gold:hover {
    color: #FFFFFF !important;
    background-color: #705C4F !important;
}

/* Glass Buttons */
html.theme-blue-white .btn-glass-light {
    background: rgba(37, 99, 235, 0.05) !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
    color: #2563EB !important;
}

html.theme-blue-white .btn-glass-light:hover {
    border-color: #2563EB !important;
    background: rgba(37, 99, 235, 0.1) !important;
}

html.theme-green .btn-glass-light {
    background: rgba(45, 80, 22, 0.05) !important;
    border: 1px solid rgba(45, 80, 22, 0.15) !important;
    color: #2D5016 !important;
}

html.theme-green .btn-glass-light:hover {
    border-color: #2D5016 !important;
    background: rgba(45, 80, 22, 0.1) !important;
}

html.theme-sand-beige .btn-glass-light {
    background: rgba(110, 90, 75, 0.05) !important;
    border: 1px solid rgba(110, 90, 75, 0.15) !important;
    color: #705C4F !important;
}

html.theme-sand-beige .btn-glass-light:hover {
    border-color: #705C4F !important;
    background: rgba(110, 90, 75, 0.1) !important;
}

/* --- Cinematic Hero Slideshow Style --- */
.hero-section-cinematic {
    height: 100vh;
    width: 100%;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
    /* GPU Hardware Acceleration to prevent blur during scale transitions */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    /* Optimize scaling contrast and avoid browser anti-aliasing blur */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
}

/* Ken Burns effect on active slide */
.swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

.hero-main-swiper .video-overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(11, 15, 25, 0.96) 100%) !important;
    z-index: 1;
}

/* Animations for active slide elements */
.hero-main-swiper .animated-hero-item {
    opacity: 0;
    transform: translateY(35px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.swiper-slide-active .animated-hero-item {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .animated-hero-item:nth-child(1) {
    transition-delay: 0.15s;
}

.swiper-slide-active .animated-hero-item:nth-child(2) {
    transition-delay: 0.35s;
}

.swiper-slide-active .animated-hero-item:nth-child(3) {
    transition-delay: 0.55s;
}

.swiper-slide-active .animated-hero-item:nth-child(4) {
    transition-delay: 0.75s;
}

/* Floating Thumbnails Gallery */
.hero-thumbs-container {
    bottom: 120px;
    right: 5%;
    width: 320px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-thumbs-swiper {
    width: 100%;
}

.thumb-preview-box {
    height: 65px;
    cursor: pointer;
    border: 2px solid transparent !important;
    transition: all 0.3s ease;
}

.thumb-preview-box img {
    transition: transform 0.6s ease;
}

.thumb-preview-box:hover img {
    transform: scale(1.1);
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.55);
    transition: background 0.3s ease;
}

.swiper-slide-thumb-active .thumb-overlay {
    background: rgba(3, 7, 18, 0.1);
}

.swiper-slide-thumb-active .thumb-preview-box {
    border-color: var(--gold-accent) !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

.thumb-title {
    position: absolute;
    bottom: 8px;
    left: 10px;
    right: 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

/* Swiper Controls */
.hero-swiper-controls {
    font-size: 11px;
    letter-spacing: 1px;
}

.hero-prev-btn,
.hero-next-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-prev-btn:hover,
.hero-next-btn:hover {
    background: var(--gold-accent);
    color: #030712 !important;
    border-color: var(--gold-accent);
}

.hero-swiper-fraction {
    font-size: 12px;
    font-weight: 600;
}

/* Light Theme overrides for Hero Slideshow */
/* Light Theme overrides for Hero Slideshow - Fading black shadow overlay to light theme background */
html.theme-blue-white .hero-main-swiper .video-overlay-tint {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, #F8FAFC 100%) !important;
}

html.theme-green .hero-main-swiper .video-overlay-tint {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, #F8FAF5 100%) !important;
}

html.theme-sand-beige .hero-main-swiper .video-overlay-tint {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, #F4EFEA 100%) !important;
}

/* Enforce high-legibility white text over dark cinematic overlay for all themes in hero */
html.theme-blue-white .hero-content-col h1,
html.theme-green .hero-content-col h1,
html.theme-sand-beige .hero-content-col h1,
.hero-content-col h1 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6) !important;
}

html.theme-blue-white .hero-content-col p.lead,
html.theme-blue-white .hero-content-col .text-light-muted,
html.theme-green .hero-content-col p.lead,
html.theme-green .hero-content-col .text-light-muted,
html.theme-sand-beige .hero-content-col p.lead,
html.theme-sand-beige .hero-content-col .text-light-muted,
.hero-content-col p.lead,
.hero-content-col .text-light-muted {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Light Theme overrides for Floating Thumbnails Panel */
html.theme-blue-white .hero-thumbs-container,
html.theme-green .hero-thumbs-container,
html.theme-sand-beige .hero-thumbs-container {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15) !important;
}

html.theme-blue-white .hero-prev-btn,
html.theme-blue-white .hero-next-btn,
html.theme-green .hero-prev-btn,
html.theme-green .hero-next-btn,
html.theme-sand-beige .hero-prev-btn,
html.theme-sand-beige .hero-next-btn {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #0F172A !important;
}

html.theme-blue-white .hero-prev-btn:hover,
html.theme-blue-white .hero-next-btn:hover {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border-color: #2563EB !important;
}

html.theme-green .hero-prev-btn:hover,
html.theme-green .hero-next-btn:hover {
    background: #2D5016 !important;
    color: #FFFFFF !important;
    border-color: #2D5016 !important;
}

html.theme-sand-beige .hero-prev-btn:hover,
html.theme-sand-beige .hero-next-btn:hover {
    background: #705C4F !important;
    color: #FFFFFF !important;
    border-color: #705C4F !important;
}

html.theme-blue-white .hero-swiper-fraction,
html.theme-green .hero-swiper-fraction,
html.theme-sand-beige .hero-swiper-fraction {
    color: #0F172A !important;
}

html.theme-blue-white .swiper-slide-thumb-active .thumb-preview-box {
    border-color: #2563EB !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3) !important;
}

html.theme-green .swiper-slide-thumb-active .thumb-preview-box {
    border-color: #2D5016 !important;
    box-shadow: 0 0 15px rgba(45, 80, 22, 0.3) !important;
}

html.theme-sand-beige .swiper-slide-thumb-active .thumb-preview-box {
    border-color: #705C4F !important;
    box-shadow: 0 0 15px rgba(110, 90, 75, 0.3) !important;
}

/* Animated Search Panel under Hero overrides */
html.theme-blue-white .search-panel-wrapper {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08) !important;
}

html.theme-green .search-panel-wrapper {
    background: #FFFFFF !important;
    border: 1px solid #D8E8C8 !important;
    box-shadow: 0 20px 50px rgba(45, 80, 22, 0.06) !important;
}

html.theme-sand-beige .search-panel-wrapper {
    background: #FFFFFF !important;
    border: 1px solid #EADEC9 !important;
    box-shadow: 0 20px 50px rgba(110, 90, 75, 0.08) !important;
}

html.theme-blue-white .search-panel-wrapper .form-label {
    color: #2563EB !important;
}

html.theme-green .search-panel-wrapper .form-label {
    color: #2D5016 !important;
}

html.theme-sand-beige .search-panel-wrapper .form-label {
    color: #705C4F !important;
}

/* Hero badges overrides */
html.theme-blue-white .hero-luxe-badge {
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563EB !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
}

html.theme-green .hero-luxe-badge {
    background: rgba(45, 80, 22, 0.08) !important;
    color: #2D5016 !important;
    border: 1px solid rgba(45, 80, 22, 0.2) !important;
}

html.theme-sand-beige .hero-luxe-badge {
    background: rgba(110, 90, 75, 0.08) !important;
    color: #705C4F !important;
    border: 1px solid rgba(110, 90, 75, 0.2) !important;
}


/* Inputs and Forms overrides */
html.theme-blue-white .luxury-input,
html.theme-blue-white .luxury-input-text,
html.theme-blue-white .luxury-input-text-sm,
html.theme-blue-white .form-control {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

html.theme-blue-white .luxury-input:focus,
html.theme-blue-white .luxury-input-text:focus,
html.theme-blue-white .luxury-input-text-sm:focus,
html.theme-blue-white .form-control:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

html.theme-green .luxury-input,
html.theme-green .luxury-input-text,
html.theme-green .luxury-input-text-sm,
html.theme-green .form-control {
    background: #FFFFFF !important;
    border: 1px solid #D8E8C8 !important;
    color: #1A1A1A !important;
}

html.theme-green .luxury-input:focus,
html.theme-green .luxury-input-text:focus,
html.theme-green .luxury-input-text-sm:focus,
html.theme-green .form-control:focus {
    border-color: #2D5016 !important;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.15) !important;
}

html.theme-sand-beige .luxury-input,
html.theme-sand-beige .luxury-input-text,
html.theme-sand-beige .luxury-input-text-sm,
html.theme-sand-beige .form-control {
    background: #FFFFFF !important;
    border: 1px solid #EADEC9 !important;
    color: #3A322C !important;
}

html.theme-sand-beige .luxury-input:focus,
html.theme-sand-beige .luxury-input-text:focus,
html.theme-sand-beige .luxury-input-text-sm:focus,
html.theme-sand-beige .form-control:focus {
    border-color: #705C4F !important;
    box-shadow: 0 0 0 3px rgba(110, 90, 75, 0.15) !important;
}



/* Badges on property card */
html.theme-blue-white .property-status-tag {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #0F172A !important;
    border-color: #E2E8F0 !important;
}

html.theme-blue-white .property-featured-tag {
    background: #2563EB !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

html.theme-blue-white .property-construction-tag {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #2563EB !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
}

html.theme-green .property-status-tag {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1A1A1A !important;
    border-color: #D8E8C8 !important;
}

html.theme-green .property-featured-tag {
    background: #2D5016 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3) !important;
}

html.theme-green .property-construction-tag {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #2D5016 !important;
    border-color: rgba(45, 80, 22, 0.25) !important;
}

html.theme-sand-beige .property-status-tag {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #3A322C !important;
    border-color: #EADEC9 !important;
}

html.theme-sand-beige .property-featured-tag {
    background: #705C4F !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(110, 90, 75, 0.3) !important;
}

html.theme-sand-beige .property-construction-tag {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #705C4F !important;
    border-color: rgba(110, 90, 75, 0.25) !important;
}

/* Scrollbars overrides */
html.theme-blue-white ::-webkit-scrollbar-track {
    background: #F1F5F9;
}

html.theme-blue-white ::-webkit-scrollbar-thumb {
    background: #CBD5E1;
}

html.theme-blue-white ::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

html.theme-green ::-webkit-scrollbar-track {
    background: #F4F9EE;
}

html.theme-green ::-webkit-scrollbar-thumb {
    background: #D8E8C8;
}

html.theme-green ::-webkit-scrollbar-thumb:hover {
    background: #2D5016;
}

html.theme-sand-beige ::-webkit-scrollbar-track {
    background: #F4EFEA;
}

html.theme-sand-beige ::-webkit-scrollbar-thumb {
    background: #EADEC9;
}

html.theme-sand-beige ::-webkit-scrollbar-thumb:hover {
    background: #705C4F;
}

/* Preloader custom overrides */
html.theme-blue-white #preloader {
    background-color: #F8FAFC !important;
}

html.theme-blue-white .preloader-logo-text {
    color: #0F172A !important;
}

html.theme-blue-white .preloader-bar {
    background: rgba(37, 99, 235, 0.1) !important;
}

html.theme-blue-white .preloader-bar-fill {
    background: #2563EB !important;
}

html.theme-green #preloader {
    background-color: #F8FAF5 !important;
}

html.theme-green .preloader-logo-text {
    color: #2D5016 !important;
}

html.theme-green .preloader-bar {
    background: rgba(45, 80, 22, 0.1) !important;
}

html.theme-green .preloader-bar-fill {
    background: #2D5016 !important;
}

html.theme-sand-beige #preloader {
    background-color: #F4EFEA !important;
}

html.theme-sand-beige .preloader-logo-text {
    color: #705C4F !important;
}

html.theme-sand-beige .preloader-bar {
    background: rgba(110, 90, 75, 0.1) !important;
}

html.theme-sand-beige .preloader-bar-fill {
    background: #705C4F !important;
}

/* Swiper navigation bullets */
html.theme-blue-white .swiper-nav-luxe,
html.theme-blue-white .swiper-pagination-bullet-active {
    color: #2563EB !important;
    background: #2563EB !important;
}

html.theme-green .swiper-nav-luxe,
html.theme-green .swiper-pagination-bullet-active {
    color: #2D5016 !important;
    background: #2D5016 !important;
}

html.theme-sand-beige .swiper-nav-luxe,
html.theme-sand-beige .swiper-pagination-bullet-active {
    color: #705C4F !important;
    background: #705C4F !important;
}

/* Play button pulse */
html.theme-blue-white .play-btn-pulse {
    background: #FFFFFF !important;
    border-color: #2563EB !important;
    color: #2563EB !important;
}

html.theme-blue-white .play-btn-pulse::after {
    border-color: #2563EB !important;
}

html.theme-green .play-btn-pulse {
    background: #FFFFFF !important;
    border-color: #2D5016 !important;
    color: #2D5016 !important;
}

html.theme-green .play-btn-pulse::after {
    border-color: #2D5016 !important;
}

html.theme-sand-beige .play-btn-pulse {
    background: #FFFFFF !important;
    border-color: #705C4F !important;
    color: #705C4F !important;
}

html.theme-sand-beige .play-btn-pulse::after {
    border-color: #705C4F !important;
}

/* Footer style overrides (Keeping a dark sleek luxury footer for contrast is great, but let's make it match perfectly) */
html.theme-blue-white .luxury-footer {
    background-color: #0F172A !important;
    color: #94A3B8 !important;
}

html.theme-green .luxury-footer {
    background-color: #15250A !important;
    color: #C0CFB2 !important;
}

html.theme-sand-beige .luxury-footer {
    background-color: #2C241E !important;
    color: #C5BCB5 !important;
}

/* Enforce light colors for text elements in the footer to prevent leakage from global light theme styles */
html.theme-blue-white .luxury-footer h1,
html.theme-blue-white .luxury-footer h2,
html.theme-blue-white .luxury-footer h3,
html.theme-blue-white .luxury-footer h4,
html.theme-blue-white .luxury-footer h5,
html.theme-blue-white .luxury-footer h6,
html.theme-blue-white .luxury-footer .text-white,
html.theme-blue-white .luxury-footer .brand-logo-footer,
html.theme-blue-white .luxury-footer .navbar-brand,
html.theme-green .luxury-footer h1,
html.theme-green .luxury-footer h2,
html.theme-green .luxury-footer h3,
html.theme-green .luxury-footer h4,
html.theme-green .luxury-footer h5,
html.theme-green .luxury-footer h6,
html.theme-green .luxury-footer .text-white,
html.theme-green .luxury-footer .brand-logo-footer,
html.theme-green .luxury-footer .navbar-brand,
html.theme-sand-beige .luxury-footer h1,
html.theme-sand-beige .luxury-footer h2,
html.theme-sand-beige .luxury-footer h3,
html.theme-sand-beige .luxury-footer h4,
html.theme-sand-beige .luxury-footer h5,
html.theme-sand-beige .luxury-footer h6,
html.theme-sand-beige .luxury-footer .text-white,
html.theme-sand-beige .luxury-footer .brand-logo-footer,
html.theme-sand-beige .luxury-footer .navbar-brand {
    color: #FFFFFF !important;
}

/* Enforce accent gold for headings in both footer themes */
html.theme-blue-white .luxury-footer .text-gold-accent,
html.theme-green .luxury-footer .text-gold-accent,
html.theme-sand-beige .luxury-footer .text-gold-accent {
    color: #F59E0B !important;
}

/* Enforce appropriate secondary text/paragraph colors inside footer */
html.theme-blue-white .luxury-footer p,
html.theme-blue-white .luxury-footer .text-secondary {
    color: #94A3B8 !important;
}

html.theme-green .luxury-footer p,
html.theme-green .luxury-footer .text-secondary {
    color: #C0CFB2 !important;
}

html.theme-sand-beige .luxury-footer p,
html.theme-sand-beige .luxury-footer .text-secondary {
    color: #C5BCB5 !important;
}

/* Enforce appropriate link styles in footer */
html.theme-blue-white .luxury-footer .footer-link,
html.theme-blue-white .luxury-footer a.footer-link {
    color: #94A3B8 !important;
    transition: color 0.3s ease;
}

html.theme-blue-white .luxury-footer .footer-link:hover,
html.theme-blue-white .luxury-footer a.footer-link:hover {
    color: #FFFFFF !important;
}

html.theme-green .luxury-footer .footer-link,
html.theme-green .luxury-footer a.footer-link {
    color: #C0CFB2 !important;
    transition: color 0.3s ease;
}

html.theme-green .luxury-footer .footer-link:hover,
html.theme-green .luxury-footer a.footer-link:hover {
    color: #FFFFFF !important;
}

html.theme-sand-beige .luxury-footer .footer-link,
html.theme-sand-beige .luxury-footer a.footer-link {
    color: #C5BCB5 !important;
    transition: color 0.3s ease;
}

html.theme-sand-beige .luxury-footer .footer-link:hover,
html.theme-sand-beige .luxury-footer a.footer-link:hover {
    color: #FFFFFF !important;
}

html.theme-blue-white .social-circle-link {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-blue-white .social-circle-link:hover {
    background: #2563EB !important;
    color: #FFFFFF !important;
}

html.theme-green .social-circle-link {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-green .social-circle-link:hover {
    background: #2D5016 !important;
    color: #FFFFFF !important;
}

html.theme-sand-beige .social-circle-link {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-sand-beige .social-circle-link:hover {
    background: #705C4F !important;
    color: #FFFFFF !important;
}

/* Newsletter Input */
html.theme-blue-white .newsletter-input,
html.theme-green .newsletter-input,
html.theme-sand-beige .newsletter-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
}

/* Amenity checkbox wrapper */
html.theme-blue-white .amenity-checkbox-wrapper {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

html.theme-blue-white .amenity-checkbox-wrapper:hover {
    background: rgba(37, 99, 235, 0.05) !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
}

html.theme-green .amenity-checkbox-wrapper {
    background: #FFFFFF !important;
    border-color: #D8E8C8 !important;
}

html.theme-green .amenity-checkbox-wrapper:hover {
    background: rgba(45, 80, 22, 0.05) !important;
    border-color: rgba(45, 80, 22, 0.2) !important;
}

html.theme-sand-beige .amenity-checkbox-wrapper {
    background: #FFFFFF !important;
    border-color: #EADEC9 !important;
}

html.theme-sand-beige .amenity-checkbox-wrapper:hover {
    background: rgba(110, 90, 75, 0.05) !important;
    border-color: rgba(110, 90, 75, 0.2) !important;
}

/* Pagination overrides */
html.theme-blue-white .pagination-luxury .page-link {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #334155 !important;
}

html.theme-blue-white .pagination-luxury .page-item.active .page-link {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border-color: #2563EB !important;
}

html.theme-blue-white .pagination-luxury .page-link:hover {
    background: #F1F5F9 !important;
    border-color: #2563EB !important;
}

html.theme-green .pagination-luxury .page-link {
    background: #FFFFFF !important;
    border-color: #D8E8C8 !important;
    color: #334155 !important;
}

html.theme-green .pagination-luxury .page-item.active .page-link {
    background: #2D5016 !important;
    color: #FFFFFF !important;
    border-color: #2D5016 !important;
}

html.theme-green .pagination-luxury .page-link:hover {
    background: #F4F9EE !important;
    border-color: #2D5016 !important;
}

html.theme-sand-beige .pagination-luxury .page-link {
    background: #FFFFFF !important;
    border-color: #EADEC9 !important;
    color: #3A322C !important;
}

html.theme-sand-beige .pagination-luxury .page-item.active .page-link {
    background: #705C4F !important;
    color: #FFFFFF !important;
    border-color: #705C4F !important;
}

html.theme-sand-beige .pagination-luxury .page-link:hover {
    background: #F4EFEA !important;
    border-color: #705C4F !important;
}


/* --- Endorsements Section Overrides & Redesign --- */
html.theme-blue-white .testimonials-swiper .glass-card-dark,
html.theme-green .testimonials-swiper .glass-card-dark,
html.theme-sand-beige .testimonials-swiper .glass-card-dark {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.3s;
}

html.theme-blue-white .testimonials-swiper .glass-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1) !important;
    border-color: #2563EB !important;
}

html.theme-green .testimonials-swiper .glass-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(45, 80, 22, 0.08) !important;
    border-color: #2D5016 !important;
}

html.theme-sand-beige .testimonials-swiper .glass-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(110, 90, 75, 0.08) !important;
    border-color: #705C4F !important;
}

/* Quote icons inside testimonials */
html.theme-blue-white .testimonials-swiper .fa-quote-left {
    color: #2563EB !important;
    opacity: 0.15 !important;
}

html.theme-green .testimonials-swiper .fa-quote-left {
    color: #2D5016 !important;
    opacity: 0.15 !important;
}

html.theme-sand-beige .testimonials-swiper .fa-quote-left {
    color: #705C4F !important;
    opacity: 0.15 !important;
}

/* Swiper navigation bullets for testimonials pagination */
html.theme-blue-white .testimonials-pagination .swiper-pagination-bullet-active {
    background: #2563EB !important;
}

html.theme-green .testimonials-pagination .swiper-pagination-bullet-active {
    background: #2D5016 !important;
}

html.theme-sand-beige .testimonials-pagination .swiper-pagination-bullet-active {
    background: #705C4F !important;
}

/* Keep video review card text white against the dark video thumbnail background */
html.theme-blue-white .video-testimonial-card .text-white,
html.theme-green .video-testimonial-card .text-white,
html.theme-sand-beige .video-testimonial-card .text-white,
html.theme-blue-white .video-testimonial-card h6,
html.theme-green .video-testimonial-card h6,
html.theme-sand-beige .video-testimonial-card h6 {
    color: #FFFFFF !important;
}


/* ==========================================================================
   Floating Theme Switcher Widget Styling
   ========================================================================== */
.theme-switcher-wrapper {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.theme-switcher-btn {
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gold-accent);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, border-color 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.theme-switcher-btn:hover {
    transform: scale(1.1) rotate(20deg);
}

/* Custom icon styling based on light theme status */
html.theme-blue-white .theme-switcher-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(37, 99, 235, 0.2);
    color: #2563EB;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

html.theme-green .theme-switcher-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 80, 22, 0.2);
    color: #2D5016;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.15);
}

html.theme-sand-beige .theme-switcher-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(110, 90, 75, 0.2);
    color: #705C4F;
    box-shadow: 0 10px 30px rgba(110, 90, 75, 0.15);
}

.theme-switcher-panel {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 280px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.theme-switcher-panel.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

html.theme-blue-white .theme-switcher-panel {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

html.theme-green .theme-switcher-panel {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(45, 80, 22, 0.12);
}

html.theme-sand-beige .theme-switcher-panel {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(110, 90, 75, 0.12);
}

.theme-switcher-title {
    font-family: var(--font-serif);
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

html.theme-blue-white .theme-switcher-title {
    color: #2563EB;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.theme-green .theme-switcher-title {
    color: #2D5016;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.theme-sand-beige .theme-switcher-title {
    color: #705C4F;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.theme-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.theme-option-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-accent);
    color: #FFFFFF;
}

.theme-option-btn.active {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--gold-accent);
    color: var(--gold-accent);
    font-weight: 600;
}

html.theme-blue-white .theme-option-btn {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #475569;
}

html.theme-blue-white .theme-option-btn:hover {
    background: #E2E8F0;
    border-color: #2563EB;
    color: #0F172A;
}

html.theme-blue-white .theme-option-btn.active {
    background: rgba(37, 99, 235, 0.08);
    border-color: #2563EB;
    color: #2563EB;
    font-weight: 600;
}

html.theme-green .theme-option-btn {
    background: #F4F9EE;
    border-color: #D8E8C8;
    color: #58595B;
}

html.theme-green .theme-option-btn:hover {
    background: #EAF2DF;
    border-color: #2D5016;
    color: #2D5016;
}

html.theme-green .theme-option-btn.active {
    background: rgba(45, 80, 22, 0.08);
    border-color: #2D5016;
    color: #2D5016;
    font-weight: 600;
}

html.theme-sand-beige .theme-option-btn {
    background: #F4EFEA;
    border-color: #EADEC9;
    color: #5C524A;
}

html.theme-sand-beige .theme-option-btn:hover {
    background: #EADEC9;
    border-color: #705C4F;
    color: #3A322C;
}

html.theme-sand-beige .theme-option-btn.active {
    background: rgba(110, 90, 75, 0.08);
    border-color: #705C4F;
    color: #705C4F;
    font-weight: 600;
}

.theme-preview-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.theme-preview-dark {
    background: linear-gradient(135deg, #0B0F19 50%, #F59E0B 50%);
}

.theme-preview-blue {
    background: linear-gradient(135deg, #FFFFFF 50%, #2563EB 50%);
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.theme-preview-green {
    background: linear-gradient(135deg, #F8FAF5 50%, #2D5016 50%);
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.theme-preview-sand {
    background: linear-gradient(135deg, #F4EFEA 50%, #705C4F 50%);
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Video & Luxury Modal Close Button */
.modal-video-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    line-height: 1;
}

.modal-video-close-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #000000;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.modal-video-close-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
}