/* ==========================================================================
   ENTER THE ENIGMA - MASTER STYLESHEET
   
   TABLE OF CONTENTS:
   1. Variables & Base Styles
   2. Global Elements (Buttons)
   3. Header & Navigation (Desktop & Mobile)
   4. Hero Sections
   5. Layouts, Grids & Booking Wrappers
   6. Room Grids & Filters
   7. Components (FAQ, Modals, Trust Signals)
   8. Footer
   9. Mobile Floating/Sticky Elements
   10. Forms & Inputs
========================================================================== */

/* ==========================================================================
   1. VARIABLES & BASE STYLES
========================================================================== */
:root {
    --brand-red: #ed3e1d;
    --brand-red-hover: #c92d10;
    --brand-red-light: rgba(237, 62, 29, 0.1);
    
    --dark-bg: #000000;
    --bg-light: #111111;
    --card-bg: #1a1a1a;
    --border-dark: #333333;
    
    --text-white: #ffffff;
    --text-gray: #cccccc;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   2. GLOBAL ELEMENTS
========================================================================== */
.btn-primary, 
.btn-secondary {
    display: inline-block;
    text-align: center; 
    padding: 10px 20px; 
    font-weight: 800; 
    border-radius: 4px; 
    text-decoration: none; 
    transition: all 0.3s ease;
}

.btn-primary { 
    background: var(--brand-red); 
    color: #000; 
    border: 2px solid var(--brand-red);
}

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

.btn-secondary { 
    background: transparent;
    border: 2px solid var(--brand-red); 
    color: var(--brand-red); 
}

.btn-secondary:hover {
    background: var(--brand-red-light);
}

/* ==========================================================================
   3. HEADER & NAVIGATION
========================================================================== */
.main-header {
    background-color: var(--dark-bg);
    border-bottom: 2px solid var(--brand-red);
    padding: 10px 0;
    position: sticky; 
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    width: 100%; 
    max-width: none;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.nav-logo {
    max-width: 120px; 
    height: auto;
    display: block; 
}

/* --- Desktop Navigation --- */
.desktop-nav .nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95em;
    text-transform: uppercase;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--brand-red);
}

.cta-highlight {
    background-color: var(--brand-red);
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff !important;
}

.cta-highlight:hover {
    background-color: var(--brand-red-hover);
}

/* --- Dropdown Menus --- */
.nav-item.has-dropdown {
    position: relative;
    padding-bottom: 15px; 
    margin-bottom: -15px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-dark);
    border-top: 3px solid var(--brand-red);
    min-width: 220px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    padding: 10px 0;
    z-index: 1001;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-gray);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 0.9em;
}

.dropdown-item:hover {
    background-color: var(--border-dark);
    color: var(--brand-red);
}

/* --- Wide Dropdown (For Rooms) --- */
.wide-dropdown {
    display: none; 
    left: auto; 
    right: 0; 
    width: 500px;
}

.nav-item.has-dropdown:hover .wide-dropdown {
    display: flex !important; 
    gap: 20px;
    padding: 20px;
}

.dropdown-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dropdown-header {
    color: var(--brand-red);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
    display: none; 
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 9999; 
    padding: 10px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 85%; 
    max-width: 320px;
    height: 100%;
    background-color: var(--dark-bg);
    border-left: 2px solid var(--brand-red);
    z-index: 10000; 
    transition: right 0.4s ease;
    padding: 30px;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
}

.mobile-nav-overlay.active {
    right: 0; 
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.mobile-logo-container { text-align: center; margin-bottom: 30px; }
.mobile-links { list-style: none; padding: 0; }

.mobile-link {
    display: block;
    padding: 12px 0;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1.1em;
    border-bottom: 1px solid #222;
}

.mobile-divider {
    color: var(--brand-red);
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 25px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-link.highlight { color: var(--brand-red); font-weight: bold; }

.mobile-sub-header {
    color: #888;
    font-size: 0.85em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.room-link {
    padding-left: 15px !important;
    font-size: 1em !important;
    color: #ddd !important;
}

.room-link:active, .room-link:hover {
    color: var(--brand-red) !important;
    padding-left: 20px !important; 
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .nav-container { padding: 0 20px; }
}

/* ==========================================================================
   4. HERO SECTIONS
========================================================================== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section:not(.mini-hero) {
    height: 600px;
    background-image: url('/images/Hero_Image.webp'); 
}

.mini-hero {
    height: 350px;
    border-bottom: 2px solid var(--brand-red);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
}

.hero-title { 
    font-size: 3.5rem; 
    text-transform: uppercase; 
    margin-bottom: 10px; 
}

.hero-subtitle { 
    color: var(--brand-red); 
    font-size: 1.5rem; 
    font-weight: 800; 
}

.hero-cta-btn {
    background: var(--brand-red);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.hero-cta-btn:hover { 
    transform: scale(1.05); 
    background-color: var(--brand-red-hover);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-section:not(.mini-hero) { height: 450px; }
}

/* ==========================================================================
   5. LAYOUTS, GRIDS & BOOKING WRAPPERS
========================================================================== */
.booking-page-container {
    background-color: var(--dark-bg);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.booking-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-dark); 
    border-top: 3px solid var(--brand-red); 
    border-radius: 8px;
    padding: 0; 
    width: 100%;
    max-width: 1500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.iframe-loading-bg {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" width="40" height="40" style="shape-rendering: auto; display: block; background: transparent;"><circle cx="50" cy="50" fill="none" stroke="%23ed3e1d" stroke-width="8" r="35" stroke-dasharray="164.93361431346415 56.97787143782138"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform></circle></svg>');
    background-repeat: no-repeat;
    background-position: center 100px;
    min-height: 800px;
}

/* Responsive Grids for Layouts */
.room-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.party-details-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .room-details-grid,
    .party-details-grid {
        grid-template-columns: 1fr; 
        gap: 25px; 
    }
}

/* ==========================================================================
   6. ROOM GRIDS & FILTERS
========================================================================== */
.room-filter-buttons {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--brand-red);
    color: var(--brand-red);
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 5px;
}

.filter-btn:hover {
    background-color: var(--brand-red-light);
}

.filter-btn.active-state {
    background-color: var(--brand-red) !important;
    color: var(--dark-bg) !important;
}

.rooms-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.filterable-room {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-dark);
}

.filterable-room img { width: 100%; height: 250px; object-fit: cover; }
.room-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.room-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 15px 0; font-size: 0.9rem; }

/* ==========================================================================
   7. COMPONENTS (FAQ, Modals, Trust Signals, Reviews)
========================================================================== */

/* --- Trust Signals & Location Switcher --- */
.location-switcher {
    background: var(--bg-light);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-dark);
    font-size: 0.95rem;
}

.location-switcher a {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.location-switcher a:hover { color: #fff; }

.trust-signals {
    display: flex;
    justify-content: space-around;
    background: #0a0a0a;
    padding: 20px;
    border-top: 1px solid var(--border-dark);
}

.trust-item {
    color: #aaa;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.trust-item i {
    color: var(--brand-red);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .location-switcher {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .trust-signals {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* --- FAQ Section --- */
.enigma-faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-dark);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.enigma-faq-item:hover { border-color: var(--brand-red); }

.enigma-faq-item summary {
    padding: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.enigma-faq-item summary::-webkit-details-marker { display: none; }

.enigma-faq-item summary::after {
    content: '\002B'; 
    color: var(--brand-red);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.enigma-faq-item[open] summary::after {
    content: '\2212'; 
    transform: rotate(180deg);
}

/* --- Modals --- */
.modal-backdrop { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.9); 
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
}

.modal-content { 
    background: var(--card-bg); 
    border: 2px solid var(--brand-red); 
    padding: 40px; 
    border-radius: 12px; 
    max-width: 500px; 
    width: 90%; 
    position: relative; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-btn { 
    color: #aaa; 
    position: absolute; 
    top: 10px; 
    right: 20px; 
    font-size: 28px; 
    font-weight: bold; 
    cursor: pointer; 
}

.close-btn:hover { color: #fff; }

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.loc-select-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--dark-bg);
    border: 1px solid var(--border-dark);
    padding: 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.loc-select-btn:hover {
    border-color: var(--brand-red);
    background: #220505;
    transform: translateY(-2px);
}

.loc-select-btn i { font-size: 1.5rem; color: var(--brand-red); }
.btn-text { text-align: left; display: flex; flex-direction: column; }
.loc-name { font-weight: bold; font-size: 1.1rem; text-transform: uppercase; }
.loc-desc { font-size: 0.8rem; color: #aaa; }

/* --- Review Columns --- */
.review-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-col {
    background: var(--card-bg);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .review-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   8. FOOTER
========================================================================== */
.site-footer {
    background-color: var(--dark-bg);
    border-top: 4px solid var(--brand-red);
    margin-top: 40px;
}

.footer-master-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--brand-red);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
    font-size: 18px;
}

.social-circle:hover {
    transform: scale(1.1);
    background-color: #fff;
    color: var(--brand-red);
}

.directions-btn {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--brand-red);
    color: var(--brand-red);
    text-decoration: none;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
    max-width: fit-content;
}

.directions-btn:hover {
    background-color: var(--brand-red);
    color: #fff;
}

.badge-wrapper {
    display: inline-block;
    transition: transform 0.2s;
}

.badge-wrapper:hover {
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .footer-master-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-master-wrapper {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 50px;
    }
    .social-icons { justify-content: center; }
    .directions-btn { margin: 10px auto 0 auto; }
}

/* ==========================================================================
   9. MOBILE FLOATING & STICKY ELEMENTS
========================================================================== */

/* --- Mobile Sticky Booking Bar --- */
.mobile-sticky-book {
    display: none; 
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--brand-red);
    padding: 15px;
    text-align: center;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.5);
}

.mobile-sticky-book a {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
}

/* --- Expandable Contact FAB --- */
.fab-container {
    display: none; 
    position: fixed;
    bottom: 80px; 
    right: 20px;
    z-index: 9999;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.fab-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none; 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.fab-container.active .fab-options {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fab-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #222;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 1px solid #444;
    transition: background-color 0.2s, transform 0.2s;
}

.fab-item:active {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    transform: scale(0.95);
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--brand-red);
    color: #fff;
    border: none;
    outline: none;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(237, 62, 29, 0.4);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background-color 0.2s;
}

.fab-main:active {
    transform: scale(0.92);
    background-color: var(--brand-red-hover);
}

@media (max-width: 768px) {
    .mobile-sticky-book { display: block; }
    .fab-container { display: flex; }
    .site-footer { padding-bottom: 60px; }
}

/* ==========================================================================
   10. FORMS & INPUTS (Party Request, Contact, etc.)
========================================================================== */
.enigma-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    border-top: 4px solid var(--brand-red);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    color: #fff;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enigma-form input[type="text"],
.enigma-form input[type="email"],
.enigma-form input[type="number"],
.enigma-form input[type="date"],
.enigma-form input[type="time"],
.enigma-form select,
.enigma-form textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--card-bg);
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    color-scheme: dark; 
}

.enigma-form input:focus,
.enigma-form select:focus,
.enigma-form textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px var(--brand-red-light);
    background-color: #222;
}

.dynamic-checkbox-box {
    background-color: var(--card-bg);
    border: 1px solid #444;
    padding: 15px;
    border-radius: 6px;
    color: #aaa;
    font-size: 0.95rem;
}

.checkbox-wrapper {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.checkbox-wrapper input[type="checkbox"] {
    accent-color: var(--brand-red);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-weight: normal !important;
    text-transform: none !important;
    font-size: 1rem !important;
    cursor: pointer;
    margin-bottom: 0;
}

.hidden-bot-field {
    display: none;
}

.conditional-field {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
    padding: 20px;
    background: #150505;
    border-left: 3px solid var(--brand-red);
    border-radius: 4px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .enigma-form { padding: 25px 15px; }
}