/* ==========================================================================
   Single Hotel Room - Luxury Layout
   ========================================================================== */

/* Base & Layout */
.lavie-room-main {
    background-color: #FFFBF4;
    min-height: 100vh;
    padding-bottom: 60px;
    margin-top: -20px; /* Offset for header if needed */
}

.lavie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.font-playfair {
    font-family: "Playfair Display", serif;
}

/* Hero Section */
.lavie-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-color: #1a1a1a;
}

.lavie-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.lavie-hero-overlay {
    position: absolute;
    inset: 0;
/*     background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.2) 50%, transparent 100%); */
}

/* Floating Title Card */
.lavie-title-wrapper {
    position: relative;
    z-index: 20;
    margin-top: -120px;
}

.lavie-title-card {
    background-color: #fdfaf4;
    padding: 40px 20px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    border-top: 4px solid #d4af37;
}

.lavie-title-ornament {
    width: 60px;
    height: auto;
    margin: 0 auto 15px auto;
}

.lavie-title-card h1 {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    margin-top: 0;
}

.lavie-title-divider {
    width: 100px;
    height: 2px;
    background-color: #d4af37;
    margin: 0 auto;
}

/* Main Grid Layout */
.lavie-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 50px;
}

.lavie-main-col {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lavie-sidebar-col {
    flex: 1 1 30%;
    min-width: 300px;
}

/* Content & Description */
.lavie-description {
    color: #4a4a4a;
    font-size: 1.1rem;
    line-height: 1.8;
	white-space: pre-line;
    font-weight: 300;
}

/* Amenities Section */
.lavie-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lavie-section-line {
    flex: 1;
    height: 1px;
    background-color: #e5e7eb;
}

.lavie-section-header h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 0;
}

.lavie-amenities-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
}

.lavie-amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lavie-amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.lavie-amenity-item:hover {
    background-color: #fdfaf4;
}

.lavie-amenity-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fdfaf4;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.lavie-amenity-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.lavie-amenity-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Sidebar: Sticky Container */
.lavie-sticky-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Booking Widget */
.lavie-booking-widget {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.lavie-booking-widget h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.lavie-best-rate {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    display: block;
}

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

.lavie-book-btn {
    display: block;
    width: 100%;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.lavie-book-btn:hover {
    background-color: #d4af37;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.lavie-btn-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 5px;
}

/* Gallery Sidebar Widget */
.lavie-gallery-widget {
    background-color: #fdfaf4;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.lavie-gallery-widget h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.lavie-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lavie-gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.lavie-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lavie-gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.2);
    transition: background-color 0.4s ease;
}

.lavie-gallery-item:hover img {
    transform: scale(1.1);
}

.lavie-gallery-item:hover .lavie-gallery-overlay {
    background-color: transparent;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .lavie-main-col { flex: 1 1 100%; }
    .lavie-sidebar-col { flex: 1 1 100%; }
    .lavie-sticky-sidebar { position: static; }
}
@media (max-width: 768px) {
    .lavie-title-card h1 { font-size: 2.2rem; }
    .lavie-hero { height: 40vh; min-height: 300px; }
}


/* ==========================================================================
   Gallery Lightbox Modal
   ========================================================================== */

.lavie-lightbox {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.lavie-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lavie-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lavie-lightbox.active .lavie-lightbox-content {
    transform: scale(1);
}

.lavie-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lavie-lightbox-caption {
    color: #d4af37;
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    margin-top: 15px;
    text-align: center;
    letter-spacing: 0.05em;
}

.lavie-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 100000;
}

.lavie-lightbox-close:hover {
    color: #d4af37;
}

/* Optional: Add a magnifying glass cursor to the gallery images */
.lavie-gallery-item {
    cursor: zoom-in;
}