/* ==========================================================================
   MISTI GROUP LUXURY DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

/* --- Custom Property Configuration (Premium Warm-Neutral & Earthy Gold) --- */
:root {
    --bg-dark: #12110F;         /* Rich charcoal ebony with warm earthy undertones */
    --bg-light: #F6F4F0;        /* Elegant warm cream / champagne alabaster */
    --gold: #C5A880;            /* Muted burnished luxury gold */
    --gold-bright: #D4AF37;     /* Bright gold highlights */
    --gold-dark: #A3855C;       /* Deep warm bronze */
    --terracotta: #8C624E;      /* Earthy terracotta accent */
    --text-dark: #1A1917;       /* Soft ebony black for readable dark text */
    --text-muted-dark: #66625C; /* Medium gray-brown for muted subtext */
    --text-light: #EBE5DB;      /* Luxurious warm light gray-white */
    --text-muted-light: #A8A196;/* Alabaster muted text */
    
    --font-serif-display: 'Playfair Display', serif;
    --font-serif-body: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.3, 1);
    --transition-mid: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.25s ease;
    
    --shadow-lux: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 8px 30px rgba(26, 25, 23, 0.05);
    
    --border-gold-glass: 1px solid rgba(197, 168, 128, 0.12);
    --bg-glass-dark: rgba(18, 17, 15, 0.9);
    --bg-glass-light: rgba(246, 244, 240, 0.85);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- Universal Reset & Premium Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif-display);
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* Premium Typography Tag Polish */
.gateway-tag, .hero-tag, .section-tag, .brand-tag, .suite-size, .booking-tag, .social-modal-badge {
    font-size: 0.65rem !important;
    letter-spacing: 0.4em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

a {
    color: inherit;
    text-decoration: none;
}

button, select, input {
    font-family: inherit;
    outline: none;
    border: none;
    background: none;
}


/* ==========================================================================
   1. SPLIT-GATEWAY HOMEPAGE
   ========================================================================== */
.gateway-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: -1;
    visibility: hidden;
    overflow: hidden;
    background-color: var(--bg-dark);
    opacity: 0;
    transition: opacity var(--transition-mid), visibility var(--transition-mid), z-index var(--transition-mid);
}
.gateway-container.active {
    opacity: 1;
    z-index: 10;
    visibility: visible;
}

/* Gateway Halves */
.gateway-half {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width var(--transition-slow);
}

/* Background Image Layer with Parallax / Scale */
.gateway-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: brightness(0.4) saturate(0.8);
}

.gateway-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(18, 17, 15, 0.7) 100%);
    z-index: 2;
    transition: opacity var(--transition-slow);
}

/* Content Box on top of Image */
.gateway-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 80%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(0);
    opacity: 1;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.gateway-tag {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.gateway-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: #FFF;
    margin-bottom: 1rem;
    font-weight: 300;
}

.gateway-sub {
    font-family: var(--font-serif-body);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted-light);
    margin-bottom: 2rem;
    max-width: 450px;
}

/* Center Logo Emblem Badge */
.gateway-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: rgba(18, 17, 15, 0.95);
    border: 1px solid var(--gold);
    border-radius: 50%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(197, 168, 128, 0.3);
    pointer-events: none;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.emblem-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: var(--text-muted-light);
    font-weight: 500;
}

.emblem-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin: 2px 0;
}

.emblem-divider {
    width: 30px;
    height: 1px;
    background-color: var(--gold);
    margin: 4px 0;
}

.emblem-desc {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--gold);
}

/* --- Interactive Hover Behaviors --- */
.gateway-half:hover {
    width: 58%;
}

.gateway-half:hover .gateway-bg {
    transform: scale(1.04);
    filter: brightness(0.65) saturate(1);
}

/* Shrink counterpart half when hovering another */
.gateway-container:has(#gateway-culinary:hover) #gateway-resort {
    width: 42%;
}
.gateway-container:has(#gateway-resort:hover) #gateway-culinary {
    width: 42%;
}

/* Center Emblem Pulse when hovering sides */
.gateway-container:has(.gateway-half:hover) .gateway-emblem {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 50px rgba(197, 168, 128, 0.5);
}


/* ==========================================================================
   2. GLOBAL LUXURY BUTTONS & COMPONENTS
   ========================================================================== */
/* Premium Outline Button - Refactored to make text always visible, with color exchange on hover */
.luxury-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0.9rem 2.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    /* Normal State Settings */
    background-color: var(--bg-dark) !important;
    color: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.luxury-btn-outline::before {
    display: none; /* Strip out any sliding background animation that covers text */
}

.luxury-btn-outline:hover {
    /* Hover State Settings (Exchanged) */
    background-color: var(--gold) !important;
    color: var(--bg-dark) !important;
}

.luxury-btn-outline i {
    font-size: 0.85rem;
    transition: transform var(--transition-fast);
}

.luxury-btn-outline:hover i {
    transform: translateX(4px);
}

/* Premium Solid Button - Enforcing strict color exchange on hover */
.luxury-btn-solid, .luxury-btn-solid.small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    /* Normal State Settings */
    background-color: var(--bg-dark) !important;
    color: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.luxury-btn-solid:hover, .luxury-btn-solid.small-btn:hover {
    /* Hover State Settings (Exchanged) */
    background-color: var(--gold) !important;
    color: var(--bg-dark) !important;
    border-color: var(--gold) !important;
}

.luxury-btn-solid.small-btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.7rem;
}

/* Alternative Gold Highlight & Card Actions Buttons */
.luxury-btn-solid.gold-btn, .booking-submit-btn, .menu-card-btn, .suite-card-btn, .cart-checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Normal State Settings */
    background-color: var(--bg-dark) !important;
    color: var(--gold-bright) !important;
    border: 1px solid var(--gold-bright) !important;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.luxury-btn-solid.gold-btn:hover, .booking-submit-btn:hover, .menu-card-btn:hover, .suite-card-btn:hover, .cart-checkout-btn:hover {
    /* Hover State Settings (Exchanged) */
    background-color: var(--gold-bright) !important;
    color: var(--bg-dark) !important;
}


/* ==========================================================================
   3. PORTAL CORE ARCHITECTURE (SPA ROUTING EFFECT)
   ========================================================================== */
.portal-container {
    display: none;
    opacity: 0;
    min-height: 100vh;
}
.portal-container.active {
    display: block;
    animation: simpleFadeReveal 0.5s ease-out forwards;
}
@keyframes simpleFadeReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Theme differences */
#culinary-portal {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

#resort-portal {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

#resort-portal .nav-link {
    color: var(--text-muted-light);
}

/* --- Portal Custom Headers --- */
.luxury-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-glass-dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.12);
    z-index: 100;
}

.dark-header {
    background: rgba(18, 17, 15, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-logo {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    font-weight: 500;
}

.logo-main {
    font-family: var(--font-serif-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
}

.header-nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted-light);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* Active filter state — applied by filterMenu() JS */
.nav-link.filter-active {
    color: var(--gold-bright);
}

.nav-link.filter-active::after {
    width: 100%;
    background-color: var(--gold-bright);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-to-gateway {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    cursor: pointer;
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 8px 16px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.back-to-gateway:hover {
    border-color: var(--gold);
    background-color: rgba(197, 168, 128, 0.05);
}

/* Cart Trigger badge */
.cart-trigger {
    position: relative;
    font-size: 1.25rem;
    color: var(--gold);
    cursor: pointer;
    padding: 8px;
    transition: color var(--transition-fast);
}

.cart-trigger:hover {
    color: var(--gold-bright);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--terracotta);
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   4. PORTAL HERO SECTIONS (PARALLAX EFFECT & BANNER)
   ========================================================================== */
.portal-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: brightness(0.45);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, var(--bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: #FFF;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-desc {
    font-family: var(--font-serif-body);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-style: italic;
    color: var(--text-muted-light);
    margin-bottom: 2.5rem;
}

.hero-anchors {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Resort Specific Hero Adjustments */
.resort-hero .hero-overlay {
    background: linear-gradient(to bottom, transparent 40%, var(--bg-dark) 100%);
}


/* ==========================================================================
   5. CULINARY BRAND SHOWCASES & DIRECT MENU GRIDS
   ========================================================================== */
.catalog-section, .suites-section, .booking-widget-section, .brand-showcase, .amenities-section {
    padding: 10rem 8%;
    border-bottom: 1px solid rgba(197, 168, 128, 0.05);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.text-center {
    text-align: center;
}

.section-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #FFF;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.section-divider {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: 1.5rem auto;
}

.section-desc {
    font-family: var(--font-serif-body);
    font-size: 1.25rem;
    color: var(--text-muted-light);
    font-style: italic;
}

/* Integrated Menu Grids inside each section */
.brand-menu-box {
    margin-top: 3.5rem;
    border-top: 1px dashed rgba(197, 168, 128, 0.15);
    padding-top: 3.5rem;
}

.brand-menu-title {
    font-size: 1.6rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    background-color: rgba(18, 17, 15, 0.4);
    border: 1px solid rgba(197, 168, 128, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.menu-card:hover {
    border-color: rgba(197, 168, 128, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lux);
}

.menu-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.menu-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(18, 17, 15, 0.85);
    border: 1px solid var(--gold);
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    z-index: 5;
}

.menu-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    gap: 10px;
}

.menu-item-name {
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFF;
}

.menu-item-price {
    font-family: var(--font-serif-body);
    font-size: 1.25rem;
    color: var(--gold);
    font-weight: 600;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    margin-bottom: 1.8rem;
    flex-grow: 1;
    font-weight: 300;
    line-height: 1.5;
}

.menu-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.75rem 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* ==========================================================================
   6. CULINARY BRAND SHOWCASES (DETAILED VIEWS)
   ========================================================================== */
.brand-showcase {
    background-color: var(--bg-dark);
}

.brand-row {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 520px;
}

.brand-text {
    width: 48%;
    background-color: rgba(18, 17, 15, 0.95);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 4.5rem 3.5rem;
    z-index: 10;
    position: relative;
    margin-right: -8%;
    box-shadow: var(--shadow-lux);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand-image {
    width: 60%;
    height: 520px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(197, 168, 128, 0.12);
    box-shadow: var(--shadow-lux);
    z-index: 1;
}

.reverse .brand-row {
    flex-direction: row-reverse;
}

.reverse .brand-row .brand-text {
    margin-right: 0;
    margin-left: -8%;
    z-index: 10;
}

.brand-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.brand-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #FFF;
    margin-bottom: 1.5rem;
}

.brand-desc {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.2rem;
}

.brand-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* ==========================================================================
   7. LUXURY RESORT: VILLA SUITES & PORTAL
   ========================================================================== */
.suites-section {
    background-color: var(--bg-dark);
}

.suites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 2rem;
}

.suite-card {
    background-color: rgba(18, 17, 15, 0.3);
    border: 1px solid rgba(197, 168, 128, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.suite-card:hover {
    border-color: rgba(197, 168, 128, 0.3);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lux);
}

.suite-card-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
    transition: filter var(--transition-fast);
}

.suite-card:hover .suite-card-img {
    filter: brightness(0.95);
}

.suite-card-body {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.suite-size {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.suite-title {
    font-size: 1.6rem;
    color: #FFF;
    margin-bottom: 1rem;
    font-weight: 400;
}

.suite-desc {
    font-size: 0.88rem;
    color: var(--text-muted-light);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.suite-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 1.8rem;
}

.suite-price span:first-child {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
}

.price-val {
    font-size: 1.8rem;
    font-family: var(--font-serif-display);
    color: #FFF;
    font-weight: 600;
}

.price-per {
    font-family: var(--font-serif-body);
    font-size: 1.1rem;
    color: var(--gold);
    font-style: italic;
}

.suite-card-btn {
    text-align: center;
    padding: 0.9rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* ==========================================================================
   8. SMART BOOKING CALCULATOR WIDGET
   ========================================================================== */
.booking-widget-section {
    background: radial-gradient(circle at top right, rgba(140, 98, 78, 0.15), transparent 60%), var(--bg-dark);
}

.booking-glass-container {
    background: rgba(18, 17, 15, 0.6);
    border: 1px solid rgba(197, 168, 128, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    box-shadow: var(--shadow-lux);
}

.booking-row {
    display: flex;
    gap: 8%;
    align-items: center;
}

.booking-info {
    width: 45%;
}

.booking-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.booking-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #FFF;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.booking-desc {
    font-size: 0.95rem;
    color: var(--text-muted-light);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.booking-assurance {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.assurance-item i {
    font-size: 1rem;
    color: var(--gold);
    width: 25px;
}

.assurance-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Booking Form Box */
.booking-form-box {
    width: 47%;
    background: rgba(18, 17, 15, 0.5);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.form-group select, .form-group input {
    background-color: rgba(18, 17, 15, 0.8);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 0.9rem 1.2rem;
    font-size: 0.85rem;
    color: #FFF;
    border-radius: 0;
    width: 100%;
}

.form-group select option {
    background-color: var(--bg-dark);
    color: #FFF;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Price Breakdown box */
.price-breakdown {
    background: rgba(197, 168, 128, 0.05);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.breakdown-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-muted-light);
}

.breakdown-divider {
    height: 1px;
    background-color: rgba(197, 168, 128, 0.2);
    margin: 12px 0;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFF;
}

.breakdown-total span:last-child {
    color: var(--gold-bright);
}

.booking-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1.1rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* --- Amenities Showcase --- */
.amenities-section {
    background-color: var(--bg-dark);
}

.amenities-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 2rem;
}

.amenity-item {
    flex: 1;
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid rgba(197, 168, 128, 0.12);
    background: rgba(18, 17, 15, 0.3);
    transition: border-color var(--transition-fast);
}

.amenity-item:hover {
    border-color: rgba(197, 168, 128, 0.2);
}

.amenity-item i {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.amenity-item h4 {
    font-size: 1.25rem;
    color: #FFF;
    margin-bottom: 0.8rem;
}

.amenity-item p {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    line-height: 1.6;
    font-weight: 300;
}


/* ==========================================================================
   9. SHOPPING CART DRAWER
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 17, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-mid);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background-color: var(--bg-dark);
    border-left: 1px solid rgba(197, 168, 128, 0.15);
    box-shadow: var(--shadow-lux);
    display: flex;
    flex-direction: column;
    transition: right var(--transition-mid);
}

.cart-drawer-overlay.active .cart-drawer {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
    color: #FFF;
}

.close-cart-btn {
    font-size: 1.25rem;
    color: var(--text-muted-light);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-fast);
}

.close-cart-btn:hover {
    color: var(--gold);
}

.cart-body {
    padding: 2rem;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empty-cart-msg {
    font-family: var(--font-serif-body);
    font-size: 1.25rem;
    color: var(--text-muted-light);
    text-align: center;
    margin-top: 4rem;
    font-style: italic;
}

/* Service Style Toggle Selector */
.cart-service-toggle {
    background-color: rgba(18, 17, 15, 0.5);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 1.25rem;
    margin-bottom: 10px;
}

.service-toggle-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.service-toggle-btns {
    display: flex;
    gap: 10px;
}

.service-opt-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(197, 168, 128, 0.12);
    color: var(--text-muted-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.service-opt-btn.active {
    background-color: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}

/* Cart Item card */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.cart-item-info {
    max-width: 70%;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #FFF;
    margin-bottom: 4px;
}

.cart-item-cat {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.cart-item-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-btn {
    font-size: 0.75rem;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.qty-val {
    font-size: 0.85rem;
    color: #FFF;
}

.cart-item-price-side {
    text-align: right;
}

.cart-item-price {
    font-family: var(--font-serif-body);
    font-size: 1.15rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-remove {
    font-size: 0.75rem;
    color: var(--terracotta);
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.cart-item-remove:hover {
    opacity: 0.8;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    background-color: rgba(18, 17, 15, 0.5);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 8px;
}

#cart-subtotal-val {
    color: var(--gold-bright);
}

.cart-notice-text {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cart-checkout-btn {
    width: 100%;
    padding: 1rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}


/* ==========================================================================
   10. INTERACTIVE VIRTUAL CONCIERGE CHAT SYSTEM
   ========================================================================== */
/* Floating Concierge Bubble */
.concierge-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--gold);
    color: var(--bg-dark);
    border-radius: 50%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.4);
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.concierge-bubble:hover {
    transform: scale(1.06);
    background-color: var(--gold-bright);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    border-radius: 50%;
    animation: bubblePulse 2s infinite ease-out;
}

.bubble-tooltip {
    position: absolute;
    right: 80px;
    background: var(--bg-dark);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    pointer-events: none;
}

.concierge-bubble:hover .bubble-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Chat window panel */
.concierge-panel {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 400px;
    height: 600px;
    background-color: var(--bg-glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 168, 128, 0.12);
    box-shadow: var(--shadow-lux);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity var(--transition-mid), transform var(--transition-mid);
    will-change: transform, opacity;
}

.concierge-panel.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Chat Header */
.concierge-header {
    padding: 1.5rem;
    background-color: rgba(18, 17, 15, 0.5);
    border-bottom: 1px solid rgba(197, 168, 128, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Simulated System Terminal logs */
.concierge-console-logs {
    position: absolute;
    bottom: 74px;
    left: 0;
    width: 100%;
    height: 180px;
    background: rgba(12, 11, 10, 0.98);
    border-top: 1px solid rgba(197, 168, 128, 0.12);
    z-index: 100;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.72rem;
}

.console-logs-header {
    padding: 8px 15px;
    background: rgba(18, 17, 15, 0.95);
    border-bottom: 1px solid rgba(197, 168, 128, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gold);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.console-logs-body {
    padding: 12px 15px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-light);
}

.console-line {
    line-height: 1.4;
    word-break: break-all;
}

.console-line.gold {
    color: var(--gold-bright) !important;
    text-shadow: 0 0 4px rgba(212, 175, 55, 0.2);
}

.console-line.terracotta {
    color: var(--terracotta) !important;
    text-shadow: 0 0 4px rgba(140, 98, 78, 0.2);
}

.console-line.info {
    color: var(--text-muted-light) !important;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-status {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold);
    background-color: rgba(197, 168, 128, 0.05);
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #2ECC71;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

.header-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFF;
}

.header-info p {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.header-close-btn {
    font-size: 1rem;
    color: var(--text-muted-light);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-fast);
}

.header-close-btn:hover {
    color: var(--gold);
}

/* Chat logs list */
.concierge-body {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.msg-bubble {
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    border-radius: 0;
    word-break: break-word;
}

.bot .msg-bubble {
    background-color: rgba(197, 168, 128, 0.08);
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: var(--text-light);
}

.user .msg-bubble {
    background-color: var(--gold);
    color: var(--bg-dark);
    font-weight: 500;
}

.msg-time {
    font-size: 0.65rem;
    color: var(--text-muted-light);
    margin-top: 4px;
    padding: 0 4px;
}

.user .msg-time {
    align-self: flex-end;
}

/* Chat quick action buttons inside logs */
.chat-options-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    max-width: 90%;
    align-self: flex-start;
}

.chat-opt-btn {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
    padding: 10px 16px;
    border: 1px solid rgba(197, 168, 128, 0.25);
    background-color: rgba(18, 17, 15, 0.6);
    color: var(--gold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-opt-btn:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}

/* Ticket/Invoice style in Chat */
.chat-receipt-card {
    background: linear-gradient(135deg, rgba(18, 17, 15, 0.95), rgba(40, 36, 32, 0.95));
    border: 1px solid var(--gold);
    padding: 1.5rem;
    margin: 10px 0;
    max-width: 100%;
}

.receipt-header {
    text-align: center;
    border-bottom: 1px dashed rgba(197, 168, 128, 0.3);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.receipt-logo {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    font-weight: 600;
}

.receipt-title {
    font-size: 1.1rem;
    color: #FFF;
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: var(--text-muted-light);
}

.receipt-line.total {
    border-top: 1px solid rgba(197, 168, 128, 0.2);
    padding-top: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold-bright);
}

.receipt-footer-stamp {
    text-align: center;
    font-size: 0.6rem;
    color: #2ECC71;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 12px;
    border: 1px solid #2ECC71;
    padding: 4px;
    display: inline-block;
    width: 100%;
}

/* Chat inputs */
.concierge-input-area {
    padding: 1.2rem;
    border-top: 1px solid rgba(197, 168, 128, 0.12);
    background-color: rgba(18, 17, 15, 0.5);
    display: flex;
    gap: 10px;
}

.concierge-input-area input {
    flex-grow: 1;
    background-color: rgba(18, 17, 15, 0.8);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #FFF;
}

.send-chat-btn {
    width: 45px;
    background-color: var(--gold);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.send-chat-btn:hover {
    background-color: var(--gold-bright);
}


/* ==========================================================================
   11. FLOATING CTAS: WHATSAPP & PHONE POP-UPS
   ========================================================================== */
.persistent-cta-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.floating-cta {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #FFF;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-fast);
}

.floating-cta:hover {
    transform: scale(1.08);
}

.call-cta {
    background-color: var(--gold-dark);
}

.whatsapp-cta {
    background-color: #2ECC71; /* High quality WhatsApp brand color */
}

.cta-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.whatsapp-cta .cta-ripple {
    border: 1px solid #2ECC71;
    animation: bubblePulse 2.5s infinite ease-out;
}

.call-cta .cta-ripple {
    border: 1px solid var(--gold-dark);
    animation: bubblePulse 2.5s 0.5s infinite ease-out;
}

/* CTA Selector Popup Modal */
.cta-selector-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 17, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-mid);
    will-change: opacity;
}

.cta-selector-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.cta-modal-card {
    width: 90%;
    max-width: 500px;
    background-color: var(--bg-dark);
    border: 1px solid rgba(197, 168, 128, 0.12);
    box-shadow: var(--shadow-lux);
    transform: scale(0.92);
    transition: transform var(--transition-mid);
}

.cta-selector-modal.active .cta-modal-card {
    transform: scale(1);
}

.cta-modal-header {
    padding: 2.2rem 2.2rem 1.5rem 2.2rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.12);
    position: relative;
}

.cta-badge {
    display: inline-block;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 4px 8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cta-modal-title {
    font-size: 1.6rem;
    color: #FFF;
    margin-bottom: 4px;
}

.cta-modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    font-weight: 300;
}

.cta-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.25rem;
    color: var(--text-muted-light);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cta-close-btn:hover {
    color: var(--gold);
}

.cta-modal-body {
    padding: 2.2rem;
}

.cta-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(197, 168, 128, 0.03);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 12px 20px;
    transition: border-color var(--transition-fast);
}

.cta-card-item:hover {
    border-color: rgba(197, 168, 128, 0.3);
}

.cta-card-details {
    display: flex;
    flex-direction: column;
}

.cta-card-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #FFF;
}

.cta-card-status {
    font-size: 0.65rem;
    color: #2ECC71;
    font-weight: 600;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cta-card-status i {
    font-size: 0.4rem;
    animation: statusPulse 1.5s infinite;
}

.cta-card-actions {
    display: flex;
    gap: 10px;
}

.cta-btn {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition-fast);
}

.cta-btn:hover {
    opacity: 0.85;
}

.cta-wa-btn {
    background-color: #2ECC71;
    color: #FFF;
}

.cta-phone-btn {
    background-color: rgba(197, 168, 128, 0.15);
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: var(--gold);
}


/* ==========================================================================
   12. PREMIUM BRAND FOOTER
   ========================================================================== */
.luxury-footer {
    background-color: #0B0A09; /* Deeper black in footer */
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    padding: 5rem 8% 2rem 8%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    color: #FFF;
    margin-bottom: 1.2rem;
}

.footer-brand-statement {
    font-family: var(--font-serif-body);
    font-size: 1.15rem;
    color: var(--text-muted-light);
    font-style: italic;
    line-height: 1.6;
}

.footer-links h4, .footer-socials h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--gold);
}

.footer-socials p {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    margin-bottom: 1.2rem;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    border-color: var(--gold);
    background-color: var(--gold);
    color: var(--bg-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted-light);
}


/* ==========================================================================
   13. FOOTER SOCIAL MULTI-LINK SELECTOR MODAL
   ========================================================================== */
.social-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 17, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-mid);
}

.social-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.social-modal-card {
    width: 90%;
    max-width: 460px;
    background-color: rgba(18, 17, 15, 0.75);
    border: 1px solid rgba(197, 168, 128, 0.12);
    box-shadow: var(--shadow-lux);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: scale(0.92);
    transition: transform var(--transition-mid);
}

.social-modal-overlay.active .social-modal-card {
    transform: scale(1);
}

.social-modal-header {
    padding: 2.2rem 2.2rem 1.5rem 2.2rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.12);
    position: relative;
}

.social-modal-badge {
    display: inline-block;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 4px 8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.social-modal-title {
    font-size: 1.6rem;
    color: #FFF;
    margin-bottom: 4px;
}

.social-modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    font-weight: 300;
}

.social-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.25rem;
    color: var(--text-muted-light);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.social-modal-close:hover {
    color: var(--gold);
}

.social-modal-body {
    padding: 2.2rem;
}

.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    /* Normal State */
    background-color: var(--bg-dark) !important;
    color: var(--gold) !important;
    border: 1px solid rgba(197, 168, 128, 0.12) !important;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.social-link-card .social-link-icon-box {
    background-color: rgba(197, 168, 128, 0.1) !important;
    color: var(--gold) !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 15px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.social-link-card .social-channel-title {
    color: #FFF !important; /* Keep main text white/bright for high contrast */
    transition: color var(--transition-fast);
}

.social-link-card .social-channel-handle {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    margin-top: 2px;
    transition: color var(--transition-fast);
}

.social-link-card .social-arrow {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

/* Hover State (Exchanged) */
.social-link-card:hover {
    background-color: var(--gold) !important;
    color: var(--bg-dark) !important;
}

.social-link-card:hover .social-link-icon-box {
    background-color: var(--bg-dark) !important;
    color: var(--gold) !important;
}

.social-link-card:hover .social-channel-title {
    color: var(--bg-dark) !important;
}

.social-link-card:hover .social-channel-handle, .social-link-card:hover .social-arrow {
    color: rgba(18, 17, 15, 0.7) !important;
}

.social-link-card:hover .social-arrow {
    transform: translateX(4px);
}


/* ==========================================================================
   14. ANIMATIONS & RESPONSIVE BREAKPOINTS (MOBILE ENHANCEMENT)
   ========================================================================== */
/* Smooth Fade-in Entry */
@keyframes simpleFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Floating bubble pulsing glow */
@keyframes bubblePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Glowing green dot animation */
@keyframes statusPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}


/* --- Desktop Asymmetric Staggered Editorial Grids --- */
@media (min-width: 1025px) {
    .menu-grid, .suites-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        column-gap: 50px !important;
        row-gap: 90px !important;
        align-items: start !important;
        padding-bottom: 6rem; /* Ensures bottom elements don't clip */
    }

    .menu-grid .menu-card:nth-child(even), .suites-grid .suite-card:nth-child(even) {
        transform: translateY(40px); /* Creates structural visual friction on scroll */
    }
    
    .menu-grid .menu-card, .suites-grid .suite-card {
        transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1), border-color var(--transition-fast), opacity 0.5s ease;
    }

    /* The Focused Reveal Hover */
    .menu-grid:hover .menu-card,
    .suites-grid:hover .suite-card {
        opacity: 0.5;
    }

    .menu-grid .menu-card:hover,
    .suites-grid .suite-card:hover {
        opacity: 1 !important;
        border-color: var(--gold-bright) !important;
    }

    /* Keep the vertical translateY stagger intact on hover */
    .menu-grid .menu-card:nth-child(even):hover, 
    .suites-grid .suite-card:nth-child(even):hover {
        transform: translateY(30px) scale(1.01);
    }
    
    .menu-grid .menu-card:nth-child(odd):hover, 
    .suites-grid .suite-card:nth-child(odd):hover {
        transform: translateY(-10px) scale(1.01);
    }

    .menu-card:hover .menu-card-img,
    .suite-card:hover .suite-card-img {
        transform: scale(1.03);
    }
    
    .menu-card-img, .suite-card-img {
        transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1), filter var(--transition-fast);
    }
}


/* ==========================================================================
   MOBILE-FIRST RESPONSIVE OVERHAUL
   Immersive, editorial layout that works beautifully on all screen sizes
   ========================================================================== */

/* ── TABLET (≤1024px) ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {

    /* Brand showcase rows stack neatly */
    .brand-row {
        flex-direction: column !important;
        gap: 0;
        text-align: center;
    }
    .brand-text {
        width: 100% !important;
        max-width: 100%;
        padding: 3rem 5%;
        order: 2;
    }
    .brand-image {
        width: 100% !important;
        max-width: 100%;
        height: 300px;
        order: 1;
        border-radius: 0;
        margin: 0;
    }
    .brand-actions {
        justify-content: center;
    }

    /* Booking widget layout */
    .booking-row {
        flex-direction: column;
        gap: 40px;
    }
    .booking-info, .booking-form-box {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Amenities layout */
    .amenities-container {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        max-width: 700px;
        margin: 2rem auto 0 auto;
    }
    .amenity-item {
        flex: 1 1 180px;
        max-width: 220px;
    }
}


/* ── PHONE (≤768px) ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* ─ GATEWAY: The core fix ──────────────────────────────────────────── */
    /*
     * On mobile the two halves stack vertically (top/bottom).
     * The emblem was absolutely positioned at left:50%, top:50% of the
     * entire container — so it landed exactly on the seam between the two
     * halves and overlapped both. Fix: hide the shared emblem on mobile
     * and inject a compact brand mark inside each half's content instead.
     */
    .gateway-container {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        scroll-snap-type: y mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .gateway-half {
        width: 100% !important;
        height: 100svh !important; /* Each half = full screen height → swipe feel */
        min-height: 420px;
        transition: none; /* Disable width-based hover on touch */
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* The absolute emblem overlaps the seam on mobile – hide it */
    .gateway-emblem {
        display: none;
    }

    /* Each half gets a self-contained brand mark at the top */
    .gateway-content {
        max-width: 90%;
        padding: 2.5rem 1.5rem;
        justify-content: center;
        gap: 0;
    }

    /* Inject a top badge that replaces the circular emblem */
    .gateway-content::before {
        content: 'THE HOUSE OF MISTI';
        display: block;
        font-family: var(--font-sans);
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.35em;
        color: var(--gold);
        text-transform: uppercase;
        margin-bottom: 1.2rem;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid rgba(197, 168, 128, 0.3);
        width: 100%;
        text-align: center;
    }

    .gateway-heading {
        font-size: clamp(2.4rem, 8vw, 3.5rem);
        line-height: 1.05;
        margin-bottom: 0.75rem;
    }

    .gateway-tag {
        font-size: 0.6rem;
        letter-spacing: 0.3em;
        margin-bottom: 0.75rem;
    }

    .gateway-sub {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        max-width: 320px;
    }

    /* Buttons must fit on one line — no wrapping */
    .gateway-content .luxury-btn-outline,
    .gateway-content .luxury-btn-solid {
        white-space: nowrap;
        font-size: 0.7rem;
        padding: 12px 24px;
        letter-spacing: 0.18em;
        width: auto;
        min-width: 200px;
    }

    /* Immersive: darken overlay more on mobile for readability */
    .gateway-overlay {
        background: linear-gradient(
            to bottom,
            rgba(18,17,15,0.55) 0%,
            rgba(18,17,15,0.2) 40%,
            rgba(18,17,15,0.65) 100%
        );
    }

    /* Scroll hint – subtle chevron at bottom of first half */
    #gateway-culinary::after {
        content: '↓';
        position: absolute;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.2rem;
        color: rgba(197, 168, 128, 0.6);
        z-index: 5;
        animation: subtleBounce 2s ease-in-out infinite;
    }

    @keyframes subtleBounce {
        0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
        50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
    }

    /* ─ PORTAL HEADERS ─────────────────────────────────────────────────── */
    .luxury-header {
        height: 64px;
        padding: 0 4%;
    }

    .header-nav {
        display: none; /* Nav links hidden; use burger or tab-based nav on mobile */
    }

    .header-logo {
        gap: 4px;
    }

    .logo-sub {
        font-size: 0.55rem;
        letter-spacing: 0.25em;
    }

    .logo-main {
        font-size: 1.2rem;
        letter-spacing: 0.08em;
    }

    .back-to-gateway {
        font-size: 0.65rem;
        padding: 8px 12px;
        gap: 5px;
    }

    /* ─ PORTAL HERO ────────────────────────────────────────────────────── */
    .portal-hero {
        height: 75vh;
        min-height: 400px;
        margin-top: 64px;
    }

    .hero-content {
        padding: 0 5%;
        max-width: 100%;
    }

    .hero-tag {
        font-size: 0.58rem;
        letter-spacing: 0.28em;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 90%;
    }

    .hero-anchors {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .hero-anchors .luxury-btn-solid {
        width: 100%;
        max-width: 260px;
        text-align: center;
        justify-content: center;
    }

    /* ─ BRAND SHOWCASE (Culinary sections) ─────────────────────────────── */
    .brand-showcase {
        padding: 0 0 4rem 0 !important;
    }

    .brand-row {
        flex-direction: column !important;
        gap: 0;
    }

    .brand-image {
        width: 100% !important;
        height: 260px !important;
        order: 1;
        border-radius: 0;
        margin: 0;
        /* Remove any desktop overlap transforms */
        transform: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        box-shadow: none !important;
    }

    .brand-text {
        width: 100% !important;
        order: 2;
        padding: 2rem 5%;
        text-align: left;
        margin: 0;
        /* Remove desktop margin offsets */
        margin-top: 0 !important;
        transform: none !important;
    }

    .brand-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
        margin-bottom: 0.75rem;
    }

    .brand-desc {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .brand-actions {
        justify-content: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .brand-actions button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* ─ MENU CARDS ─────────────────────────────────────────────────────── */
    .brand-menu-box {
        padding: 2rem 5%;
    }

    .brand-menu-title {
        font-size: 1rem;
        letter-spacing: 0.2em;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        row-gap: 1.5rem !important;
        padding-bottom: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .menu-card {
        transform: translateY(0) !important;
        width: 100% !important;
        margin: 0 !important;
        opacity: 1 !important; /* Disable hover-dim on touch */
    }

    .menu-card-img {
        height: 200px;
    }

    .menu-card-body {
        padding: 1.2rem;
    }

    .menu-item-name {
        font-size: 1.05rem;
    }

    /* ─ RESORT PORTAL ──────────────────────────────────────────────────── */
    .suites-section {
        padding: 3rem 5%;
    }

    .suites-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem 0 0 0 !important;
    }

    .suite-card {
        transform: translateY(0) !important;
        opacity: 1 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .suite-card-img {
        height: 220px;
    }

    /* ─ BOOKING WIDGET ──────────────────────────────────────────────────── */
    .booking-widget-section {
        padding: 3rem 4% !important;
    }

    .booking-glass-container {
        padding: 2rem 1.2rem;
        border-radius: 0;
    }

    .booking-row {
        flex-direction: column;
        gap: 2rem;
    }

    .booking-info, .booking-form-box {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .booking-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .booking-form-box {
        padding: 1.5rem 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* ─ SECTION HEADERS ─────────────────────────────────────────────────── */
    .section-header {
        padding: 0 5%;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .section-desc {
        font-size: 0.9rem;
        max-width: 100%;
    }

    /* ─ AMENITIES ────────────────────────────────────────────────────────── */
    .amenities-section {
        padding: 3rem 5% !important;
    }

    .amenities-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        max-width: 100%;
        margin: 1.5rem 0 0 0;
    }

    .amenity-item {
        max-width: 100%;
        padding: 1.2rem;
    }

    /* ─ CONCIERGE PANEL ──────────────────────────────────────────────────── */
    .concierge-panel {
        width: calc(100vw - 24px);
        right: 12px;
        left: 12px;
        bottom: 88px;
        height: calc(100svh - 140px);
        max-height: 520px;
        border-radius: 12px 12px 0 0;
    }

    /* ─ FLOATING CTAs ────────────────────────────────────────────────────── */
    .persistent-cta-container {
        bottom: 16px;
        left: 14px;
        gap: 10px;
    }

    .floating-cta {
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }

    .cta-ripple {
        display: none; /* Skip ripple animation on mobile for perf */
    }

    .concierge-bubble {
        bottom: 16px;
        right: 14px;
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    /* ─ CART DRAWER ──────────────────────────────────────────────────────── */
    .cart-drawer {
        width: 100%;
        right: -100%;
        border-left: none;
        border-top: 1px solid rgba(197,168,128,0.15);
    }

    /* ─ MODALS ───────────────────────────────────────────────────────────── */
    .cta-modal-card,
    .social-modal-card {
        width: calc(100vw - 24px);
        max-width: 100%;
        margin: 12px;
        border-radius: 12px;
        max-height: calc(100svh - 40px);
        overflow-y: auto;
    }

    .cta-modal-header,
    .social-modal-header {
        padding: 1.4rem 1.2rem 1rem;
    }

    .cta-modal-body,
    .social-modal-body {
        padding: 1rem 1.2rem 1.5rem;
    }

    .cta-option-link,
    .social-link-card {
        padding: 1rem 1.2rem;
    }

    /* ─ FOOTER ────────────────────────────────────────────────────────────── */
    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
        padding: 3rem 5% 2rem;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-socials {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-bottom {
        padding: 1.2rem 5%;
        font-size: 0.7rem;
    }
}


/* ── SMALL PHONES (≤480px) ────────────────────────────────────────────── */
@media (max-width: 480px) {

    /* Gateway */
    .gateway-half {
        height: 100svh !important;
    }

    .gateway-heading {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .gateway-sub {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .gateway-content .luxury-btn-outline {
        font-size: 0.65rem;
        padding: 11px 20px;
        min-width: 180px;
    }

    /* Portal hero */
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    /* Section labels */
    .brand-tag,
    .section-tag,
    .hero-tag,
    .booking-tag {
        font-size: 0.55rem;
        letter-spacing: 0.3em;
    }

    /* Brand sections */
    .brand-image {
        height: 220px !important;
    }

    .brand-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    /* Menu cards: tighter on very small screens */
    .menu-card-img {
        height: 170px;
    }

    /* Amenities: single column on very small phones */
    .amenities-container {
        grid-template-columns: 1fr;
    }

    /* Booking */
    .booking-glass-container {
        padding: 1.5rem 1rem;
    }

    .booking-form-box {
        padding: 1.2rem 0.8rem;
    }

    .booking-title {
        font-size: 1.5rem;
    }

    /* Modals: full-width edge to edge */
    .cta-modal-card,
    .social-modal-card {
        width: 100%;
        margin: 0;
        border-radius: 16px 16px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
    }

    .cta-selector-modal,
    .social-modal-overlay {
        align-items: flex-end;
    }

    /* Concierge panel full height */
    .concierge-panel {
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        bottom: 76px;
        max-height: calc(100svh - 90px);
    }

    /* Floating CTAs smaller */
    .floating-cta {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .concierge-bubble {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}


/* ── TOUCH DEVICE OPTIMIZATIONS ─────────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
    /* Disable desktop hover-dim effects on touch */
    .menu-grid:hover .menu-card,
    .suites-grid:hover .suite-card {
        opacity: 1 !important;
    }

    .menu-grid .menu-card:hover,
    .suites-grid .suite-card:hover {
        transform: none !important;
    }

    /* Remove gateway half width expansion on touch */
    .gateway-half:hover {
        width: 100% !important;
    }

    .gateway-half:hover .gateway-bg {
        transform: none;
        filter: brightness(0.4) saturate(0.8);
    }

    .gateway-container:has(#gateway-culinary:hover) #gateway-resort,
    .gateway-container:has(#gateway-resort:hover) #gateway-culinary {
        width: 100% !important;
    }

    /* Ensure all tap targets are at least 44px */
    button, a, .gateway-half, .menu-card-btn, .suite-card-btn {
        min-height: 44px;
    }
}


