body {
    background: #f5f5f5;
    color: var(--text-main);
    overflow-x: hidden;
}

body.scroll-bar {
    overflow: hidden;
}

.rooms-page #main-header {
    background-color: var(--primary-color);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rooms-page #main-header .navbar-logo {
    height: 56px;
    width: auto;
}

.rooms-page #main-header .header-nav-link,
.rooms-page #main-header .logo-link,
.rooms-page #main-header .theme-toggle-btn {
    color: var(--bg-white);
}

.rooms-page #main-header .header-nav-link:hover,
.rooms-page #main-header .header-active {
    color: var(--accent-color);
}

main {
    padding-top: 80px;
}

#loader {
    background-color: var(--primary-color);
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo {
    height: 100px;
    width: auto;
    opacity: 0;
    transform: scale(0.95);
    animation: loaderFadeIn 1.4s ease-out forwards;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

#loader.none {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes loaderFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-up-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.rooms-hero {
    position: relative;
    min-height: 90vh;
    display: grid;
    place-items: center;
    padding: 5rem 1.25rem 3.5rem;
    background-color: #0a1018;
    color: #fff;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 16, 24, 0.82), rgba(10, 16, 24, 0.62));
    z-index: 1;
}

.rooms-hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.rooms-hero h1 {
    font-size: clamp(2.3rem, 3.4vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 18px;
    color: #fff;
}

.rooms-hero p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 28px 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    border-radius: 14px;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-pill strong {
    font-size: 1rem;
    color: #fff;
}

.stat-pill span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}



.section-block {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    margin-bottom: 12px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.7;
}

.horizontal {
    width: 90px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 18px;
    border-radius: 999px;
}

.benefit-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--bg-white);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--box-shadow);
}

.benefit-card span {
    font-size: 1.6rem;
    display: inline-block;
    margin-bottom: 12px;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.filter-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-chip {
    border: 1px solid rgba(17, 17, 17, 0.12);
    background: var(--bg-white);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
}

.filter-chip.active,
.filter-chip:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.room-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(17, 17, 17, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

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

.room-card.is-hidden {
    display: none;
}

.room-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.room-card h3 {
    font-size: 1.2rem;
    padding: 20px 20px 6px;
    margin-bottom: 0;
}

.room-card p {
    padding: 0 20px 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.room-specs {
    list-style: none;
    padding: 18px 20px 20px;
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.room-badge {
    display: inline-block;
    margin: 18px 20px 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.room-specs {
    list-style: none;
    padding: 18px 20px 20px;
    display: grid;
    gap: 10px;
}

.room-specs li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.room-specs span {
    color: var(--text-light);
}

.cta-section {
    padding-top: 20px;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), #242424);
    color: var(--bg-white);
    border-radius: 32px;
    padding: 42px 32px;
    text-align: center;
    box-shadow: var(--box-shadow-hover);
}

.cta-card h2 {
    color: var(--bg-white);
    margin-bottom: 12px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .rooms-hero {
        grid-template-columns: 1fr;
        padding: 70px 24px 40px;
    }

    .rooms-hero-visual {
        grid-template-columns: 1fr;
    }

    .hero-card-main {
        min-height: 320px;
    }

    .hero-card-side {
        padding: 22px;
    }

    .room-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .benefit-row,
    .room-grid {
        grid-template-columns: 1fr;
    }

    .rooms-hero {
        padding-top: 100px;
    }

    .hero-card-main {
        min-height: 260px;
    }

    .room-card img {
        height: auto;
        min-height: 220px;
    }

    .room-card h3 {
        font-size: 1.15rem;
    }

    .room-specs {
        padding: 18px 16px 20px;
    }

    .room-specs li {
        flex-wrap: wrap;
        gap: 10px;
    }

    .benefit-card {
        padding: 22px;
    }

    .cta-card {
        padding: 32px 24px;
    }
}

@media (max-width: 560px) {
    .rooms-hero {
        padding: 90px 16px 32px;
    }

    .section-block {
        padding: 50px 16px;
    }

    .rooms-hero h1 {
        font-size: 2.4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .hero-stats {
        flex-direction: column;
    }

    .filter-row {
        gap: 10px;
    }

    .filter-chip {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .room-card {
        border-radius: 20px;
    }

    .room-card img {
        min-height: 200px;
    }

    .stat-pill {
        min-width: 0;
    }
}
