/* ==========================================================================
   HOTEL SR | CLEAN, CLASSIC & READABLE BOUTIQUE STYLE SYSTEM
   ========================================================================== */

/* Color Palette Tokens */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Soft, Warm Light Theme */
    --color-bg-body: #FAF9F6;
    --color-bg-card: #ffffff;
    --color-primary: #8c7247;
    --color-primary-hover: #755f3a;
    
    /* Text Colors */
    --color-text-main: #2b2927;
    --color-text-muted: #6e6a64;
    
    /* Structural Borders & Shadows */
    --color-border: #eae6df;
    --color-border-hover: #d2c6b4;
    --shadow-soft: 0 4px 20px rgba(43, 41, 39, 0.05);
    --shadow-card: 0 6px 30px rgba(43, 41, 39, 0.08);

    --transition-smooth: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    max-width: 100%;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: var(--color-bg-body);
    position: relative;
}

/* Ambient Background Blur System */
.ambient-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -10;
    pointer-events: none;
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.ambient-blob.blob-1 {
    top: 2%;
    left: -15%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(140, 114, 71, 0.09) 0%, transparent 70%);
}

.ambient-blob.blob-2 {
    top: 45%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(140, 114, 71, 0.07) 0%, transparent 70%);
}

/* Typography styles */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.3;
}

p {
    color: var(--color-text-muted);
}

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

/* Layout Wrappers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(140, 114, 71, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #ffffff;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Header Navigation */
.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(234, 230, 223, 0.7);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    font-weight: 400;
    margin-top: 4px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 6px 0;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.call-btn {
    gap: 8px;
    font-weight: 600;
}

.phone-icon {
    width: 16px;
    height: 16px;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #121211;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 17, 0.65);
    z-index: 3;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4);
    z-index: 1;
    pointer-events: none;
}

.hero-slide-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 10;
}

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

.hero-tag {
    display: inline-block;
    color: #ffffff;
    background-color: var(--color-primary);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.6rem;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #eae6df;
    margin-bottom: 32px;
    font-weight: 300;
}

.quick-contact-info {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item .icon-wrapper {
    color: var(--color-primary);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item svg {
    width: 18px;
    height: 18px;
}

.contact-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #d2c6b4;
    letter-spacing: 0.05em;
}

.contact-item .value {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Section Header Titles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-badge {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Rooms & Beds available Layout */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.room-card {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(234, 230, 223, 0.8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-card);
}

.room-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-img.filter-nonac {
    filter: sepia(0.15) contrast(0.95);
}

/* Room Card slideshow overlays */
.room-slideshow {
    position: relative;
}

.room-slideshow .room-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    overflow: hidden;
}

.room-slideshow .room-slide.active {
    opacity: 1;
    z-index: 2;
}

.room-slideshow .room-slide-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.6);
    z-index: 1;
}

.room-slideshow .room-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    z-index: 3;
}

.ac-badge {
    background-color: #e3efff;
    color: #1a56db;
}

.non-ac-badge {
    background-color: #fef08a;
    color: #854d0e;
}

.room-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.room-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.bed-options {
    margin-bottom: 30px;
}

.bed-options h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

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

.options-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    gap: 10px;
}

.options-list .bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    margin-top: 8px;
    flex-shrink: 0;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    margin-top: auto;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.price-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.per-night {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

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

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.placeholder-img-box {
    position: relative;
    height: 200px;
    background-color: #eae6df;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-img.filter-nonac {
    filter: sepia(0.15) contrast(0.95);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
}

.upload-soon-card {
    height: 200px;
    background-color: #eae6df;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 2px dashed var(--color-border-hover);
}

.upload-soon-content {
    color: var(--color-text-muted);
}

.camera-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: 8px;
    opacity: 0.75;
}

.upload-soon-content p {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-main);
    margin-bottom: 2px;
}

.upload-sub {
    font-size: 0.75rem;
}

/* Contact Section & Map Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-intro {
    font-size: 1rem;
    margin-bottom: 30px;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    display: flex;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 230, 223, 0.7);
    padding: 20px;
    border-radius: 6px;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #f7f5f0;
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.detail-text h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact-link:hover {
    color: var(--color-primary);
}

.map-wrapper {
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-card);
    padding: 8px;
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
    display: block;
    border-radius: 4px;
}

/* Footer Section styling */
.footer {
    background-color: #ffffff;
    border-top: 1px solid var(--color-border);
    padding-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 380px;
}

.footer-contact {
    text-align: right;
    font-size: 0.95rem;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    background-color: #f7f5f0;
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .rooms-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* Mobile header improvements */
    .main-header {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        border: none;
        border-bottom: 1px solid var(--color-border);
        padding: 12px 0;
        z-index: 100;
        background-color: #ffffff;
    }

    .brand-logo {
        font-size: 1.45rem;
    }

    .logo-sub {
        font-size: 0.65rem;
        margin-top: 2px;
    }

    .nav-actions {
        gap: 12px;
    }

    /* On smaller mobile, shrink text or change call button */
    .call-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .mobile-nav-toggle {
        display: flex;
        z-index: 102;
    }

    /* Hamburger icon active/open animations */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        border-left: 1px solid var(--color-border);
        padding: 90px 24px 40px 24px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.08);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
        z-index: 101;
        display: flex;
        flex-direction: column;
        visibility: hidden;
    }

    .nav-menu.active {
        right: 0;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link {
        display: block;
        padding: 16px 8px;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--color-text-main);
    }

    /* Hero section responsive style */
    .hero-section {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding: 0;
        background-color: var(--color-bg-main);
    }

    .hero-bg-overlay {
        display: none !important;
    }

    .hero-bg-slideshow {
        position: relative;
        width: 100%;
        height: 260px;
        order: 1;
        z-index: 5;
        background-color: #121211;
    }

    .hero-bg-slideshow .hero-slide-img {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
    }

    .hero-container {
        padding: 24px 16px 40px 16px;
        order: 2;
        width: 100%;
        z-index: 10;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.25;
        color: var(--color-text-main) !important;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        color: var(--color-text-muted) !important;
        margin-bottom: 20px;
        line-height: 1.45;
    }

    .quick-contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        width: 100%;
        padding: 12px 14px;
        margin-bottom: 24px;
        background: var(--color-bg-card) !important;
        border: 1px solid var(--color-border) !important;
        box-shadow: var(--shadow-soft) !important;
        backdrop-filter: none !important;
    }

    .contact-item {
        gap: 8px;
    }

    .contact-item .icon-wrapper {
        width: 28px;
        height: 28px;
        color: #ffffff !important;
        background-color: var(--color-primary) !important;
    }

    .contact-item .icon-wrapper svg {
        width: 14px;
        height: 14px;
    }

    .contact-item .label {
        font-size: 0.65rem;
        color: var(--color-text-muted) !important;
    }

    .contact-item .value {
        font-size: 0.85rem;
        color: var(--color-text-main) !important;
    }

    .hero-actions {
        display: grid;
        grid-template-rows: auto auto;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .hero-actions .btn-primary {
        grid-column: span 2;
    }

    .hero-actions .btn-secondary {
        grid-column: span 1;
        font-size: 0.85rem;
        padding: 10px 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: transparent !important;
        border: 1px solid var(--color-border) !important;
        color: var(--color-text-main) !important;
    }

    .hero-actions .btn-secondary:hover {
        background-color: var(--color-primary) !important;
        color: #ffffff !important;
        border-color: var(--color-primary) !important;
    }

    /* Room Cards */
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .room-img-wrapper {
        height: 220px;
    }

    .room-content {
        padding: 20px;
    }

    .room-name {
        font-size: 1.5rem;
    }

    .room-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .price-info {
        text-align: left;
    }

    .room-footer .btn {
        width: 100%;
        text-align: center;
    }

    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .placeholder-img-box, .upload-soon-card {
        height: 140px;
    }

    .upload-soon-card {
        padding: 10px;
    }

    .camera-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
    }

    .upload-soon-content p {
        font-size: 0.8rem;
    }

    .upload-sub {
        font-size: 0.65rem;
    }

    /* Contact Details & Map */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-intro {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .detail-card {
        padding: 16px;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    /* Footer styling */
    .footer {
        padding-top: 40px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding-bottom: 30px;
    }

    .footer-brand p {
        margin: 0 auto;
    }

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

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    /* Very small screen adjustments */
    .brand-logo {
        font-size: 1.3rem;
    }
    
    .call-btn {
        padding: 8px 10px;
    }
    
    .call-btn span {
        display: none; /* Hide 'Call:' label, only show number or make it compact */
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Photo Gallery Expansion Lightbox Modal */
.lightbox-modal {
    position: fixed;
    z-index: 200;
    padding: 40px 20px;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(18, 18, 17, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90vw;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    z-index: 210;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 16px;
        right: 16px;
        font-size: 2.2rem;
    }
}

/* Manual Navigation Controls Styles */

/* 1. Hero Slideshow Controls */
.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.hero-control:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.hero-control.prev {
    left: 24px;
}

.hero-control.next {
    right: 24px;
}

.hero-control svg {
    width: 24px;
    height: 24px;
}

/* 2. Room Slideshow Controls */
.room-slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.room-img-wrapper:hover .room-slide-control {
    opacity: 1;
}

.room-slide-control:hover {
    background: var(--color-primary);
}

.room-slide-control.prev {
    left: 12px;
}

.room-slide-control.next {
    right: 12px;
}

.room-slide-control svg {
    width: 16px;
    height: 16px;
}

/* 3. Lightbox Gallery Controls */
.lightbox-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 210;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.lightbox-control:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.lightbox-control.prev {
    left: 24px;
}

.lightbox-control.next {
    right: 24px;
}

.lightbox-control svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .hero-control {
        width: 32px;
        height: 32px;
        background: rgba(0, 0, 0, 0.45);
        border: none;
    }
    .hero-control.prev {
        left: 8px;
    }
    .hero-control.next {
        right: 8px;
    }
    .hero-control svg {
        width: 16px;
        height: 16px;
    }
    
    .room-slide-control {
        width: 28px;
        height: 28px;
        opacity: 0.85; /* Keep visible on touch screens */
    }
    .room-slide-control.prev {
        left: 8px;
    }
    .room-slide-control.next {
        right: 8px;
    }
    .room-slide-control svg {
        width: 14px;
        height: 14px;
    }

    .lightbox-control {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.45);
        border: none;
    }
    .lightbox-control.prev {
        left: 10px;
    }
    .lightbox-control.next {
        right: 10px;
    }
    .lightbox-control svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-content {
        max-width: 85vw !important;
        max-height: 60vh !important;
        width: auto !important;
        height: auto !important;
    }
}

