/* ==========================================================================
   Base & Variables
   ========================================================================== */
   :root {
    --bg-primary: #FCFBF9; /* Ivory Base */
    --bg-secondary: #F5EEDB; /* Champagne Beige */
    --text-main: #1A1A1A; /* Deep Charcoal */
    --text-light: #5A5A5A; /* Muted Charcoal */
    --accent-gold: #c2a775; /* Muted Gold */
    --accent-blue: #8fa3b0; /* Soft Blue-grey */
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 15px 40px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --radius-lg: 16px;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 100px 0;
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 48px;
}

.placeholder-img {
    background-color: #E2DCCF;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    position: relative;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-weight: 600;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.large-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(252, 251, 249, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75); /* Soft gray-white over hero image */
}

.navbar.scrolled .nav-links a {
    color: #888888; /* Gray when navbar is solid/scrolled */
}

.nav-links a:hover, .navbar.scrolled .nav-links a:hover {
    color: var(--accent-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
    background-color: #2D2D2D; /* Dark fallback */
    background-image: url('https://i.ibb.co/TqJMtHbt/Firefly-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.full-width-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
}

.hero-container-full {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container-full .hero-content {
    max-width: 650px;
}

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

.white-text-sub {
    color: rgba(255, 255, 255, 0.85) !important;
}

.outline-white {
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: var(--white) !important;
}

.outline-white:hover {
    background-color: var(--white);
    color: var(--text-main) !important;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.trust-line {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-line i {
    color: var(--accent-gold);
}

.tall-placeholder {
    height: 600px;
    border-radius: var(--radius-lg);
}

/* Booking Strip */
.booking-strip {
    margin-top: -40px; /* Reduced negative margin to pull it less up, effectively pushing it down */
    position: relative;
    z-index: 10;
    transform: translateY(20px); /* Pushing it down even more */
}

.booking-form {
    background: var(--white);
    padding: 24px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input, 
.form-group select {
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #E2DCCF;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus {
    border-bottom-color: var(--accent-gold);
}

.book-strip-btn {
    padding: 16px 32px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.main-about-placeholder {
    height: 500px;
}

.about-text {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* ==========================================================================
   USP Section
   ========================================================================== */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.usp-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.usp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.usp-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.usp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.usp-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ==========================================================================
   Rooms Section
   ========================================================================== */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* VIP suite spans wider occasionally, but keeping grid uniform is cleaner */

.room-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.room-card:hover .room-img-placeholder {
    transform: scale(1.03); /* micro-animation */
}

.room-img-placeholder {
    height: 240px;
    border-radius: 0;
    transition: var(--transition);
}

.room-details {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
}

.room-header h3 {
    font-size: 1.1rem; /* Scaled down for better fit */
    flex: 1;
    margin-right: 12px;
}


.price {
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 0.95rem; /* Slightly smaller for one-line fit */
    white-space: nowrap;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
}


.best-for {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.room-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 24px;
    flex: 1;
}

.room-amenities {
    display: flex;
    gap: 8px; /* Reduced gap to fit */
    margin-bottom: 24px;
    flex-wrap: nowrap; /* Force one line */
    overflow-x: auto; /* Enable scroll if they overflow */
    padding-bottom: 4px;
    scrollbar-width: none;
}

.room-amenities::-webkit-scrollbar {
    display: none;
}

.room-amenities span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-main);
    background: var(--bg-primary);
    padding: 6px 12px;
    border-radius: 40px;
    white-space: nowrap; /* Prevent text wrap */
}

/* Discount Badge Styles */
.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(194, 167, 117, 0.3);
    z-index: 5;
    pointer-events: none;
    animation: badge-pulse 3s infinite ease-in-out;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.75rem;
    opacity: 0.5;
    font-weight: 400;
    white-space: nowrap;
}




/* ==========================================================================
   Dining Section
   ========================================================================== */
.dining-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.dining-text {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.timings {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timing-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
}

.timing-item .time {
    color: var(--text-light);
}

.dining-images {
    display: grid;
    gap: 24px;
}

.dining-main-img {
    height: 350px;
}

.dining-sub-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dining-sub-images .placeholder-img {
    height: 200px;
}

/* ==========================================================================
   Amenities Section
   ========================================================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.amenity-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    font-weight: 500;
}

.amenity-card i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

/* ==========================================================================
   Events Section
   ========================================================================== */
.events-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.events-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.events-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.events-list i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.events-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.events-img-1 {
    height: 400px;
    margin-top: 40px;
}

.events-img-2 {
    height: 400px;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    text-align: center;
    padding: 32px;
}

.why-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 50%;
}

.why-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

/* A slightly nice masonry-ish layout */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 2; }

.gallery-item {
    cursor: pointer;
}

.gallery-item span {
    opacity: 0;
    transition: var(--transition);
    background: rgba(26,26,26,0.6);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
}

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

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.quotes-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
    opacity: 0.5;
}

.testimonial-card p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.testimonial-card h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-card {
    background: var(--text-main);
    color: var(--white);
    padding: 48px;
    border-radius: var(--radius);
}

.contact-card h2 {
    color: var(--white);
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.map-placeholder {
    border-radius: var(--radius);
    height: 100%;
    min-height: 400px;
}

/* ==========================================================================
   Booking Rules
   ========================================================================== */
.rules-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.rules-card h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.rules-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.rules-list i {
    color: var(--accent-gold);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #111111;
    color: #aaaaaa;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--accent-gold);
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p, .footer-dining p {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid #222222;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure visibility if JS fails or for the first visible section */
.hero .visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .booking-form { flex-wrap: wrap; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .amenities-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn-primary { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-container, .about-container, .dining-container, 
    .events-container, .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .booking-strip { margin-top: 24px; position: static; }
    .hero { 
        padding-top: 100px;
        background-position: 25% center; /* Keep the hotel sign on the building visible on mobile */
    }
    .tall-placeholder { height: 400px; }
    
    .usp-grid, .rooms-grid, .amenities-grid, 
    .why-us-grid, .gallery-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .rules-list { grid-template-columns: 1fr; }
    .section-title { font-size: 2.2rem; }
    
    .main-about-placeholder {
        background-position: 30% center;
    }
    
    .gallery-item:nth-child(1), .gallery-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
}
/* ==========================================================================
   Room Modal Styles
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    width: 90%;
    max-width: 1000px;
    height: 85vh; /* Lock height to enable inner scrolling */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 50;
    box-shadow: var(--shadow-soft);
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.modal-gallery {
    background: #000;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    position: relative;
}

.modal-main-img {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Prevent image bleed */
}

.modal-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Professional look: fits image dynamically without breaking */
}

/* Gallery Navigation Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.gallery-nav:hover {
    background: var(--accent-gold);
    color: white;
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.modal-info {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.modal-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.modal-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 32px;
}

.modal-price .original-price {
    font-size: 1.1rem;
    opacity: 0.4;
}


.modal-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.modal-amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.modal-amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.modal-amenity-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.modal-actions {
    margin-top: auto;
}

/* Modal Responsive */
@media (min-width: 992px) {
    .modal-content {
        flex-direction: row;
        overflow: hidden; /* Stop global scrolling, let columns scroll */
    }
    
    .modal-gallery {
        flex: 1.3; /* Make images take slightly more space on desktop */
        height: 100%;
    }
    
    .modal-info {
        flex: 1;
        height: 100%;
        overflow-y: auto; /* info column scrolls independently */
        padding-right: 24px; /* Scrollbar padding */
    }
    /* Custom scrollbar for professional look */
    .modal-info::-webkit-scrollbar {
        width: 8px;
    }
    .modal-info::-webkit-scrollbar-track {
        background: transparent;
    }
    .modal-info::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.1);
        border-radius: 10px;
    }
}

@media (max-width: 991px) {
    .modal-info {
        padding: 40px 32px;
    }
    
    .modal-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        transform: translateY(0) scale(1);
        overflow-y: auto; /* Let the container scroll on mobile */
    }

    .modal-content {
        flex-direction: column; /* Stack gallery on top, info below */
        height: auto; /* Let it grow naturally */
        overflow-y: visible; /* Don't clip inner content */
    }

    .modal-gallery {
        width: 100%;
        height: 85vw; /* Near-square: slightly less than full width for visual balance */
        min-height: 280px; /* Fallback minimum */
        flex-shrink: 0; /* Prevent it from collapsing */
        background: #000;
        position: relative;
        overflow: hidden;
    }

    .modal-main-img {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .modal-main-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #modalThumbnails {
        padding: 8px !important;
    }

    .modal-info {
        padding: 32px 24px;
    }
    
    .modal-amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Mobile Drawer
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 85vw;
    max-width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 3000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px;
    border-bottom: 1px solid #f0ece4;
    background: var(--bg-secondary);
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-main);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-drawer-close:hover {
    background: var(--accent-gold);
    color: var(--white);
}

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    flex: 1;
}

.mobile-drawer-links a {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #888888;
    border-bottom: 1px solid #f5f5f5;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.mobile-drawer-links a:hover {
    color: var(--accent-gold);
    background: var(--bg-secondary);
    padding-left: 32px;
}
