
/* =================================
   1. RESET CSS
================================= */

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

:root {
    --navy: #152D43;
    --gold: #C5A46D;
    --white: #FFFFFF;
    --cream: #FAF9F6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    background-color: var(--cream);
    color: var(--navy);
    padding: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =================================
   2. HERO BANNER
================================= */

.hero {
    min-height: 100vh;
    padding: 170px 20px 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    border-radius: 0 0 28px 28px;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(21, 45, 67, 0.30),
            rgba(21, 45, 67, 0.40)
        ),
        url("../images/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;


    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 160px 25px 60px;
}


/* =================================
   3. FLOATING HEADER
================================= */

.header {
    position: absolute;

    top: 30px;
    left: 50%;
    transform: translateX(-50%);

    width: 94%;
    max-width: 1600px;

    padding: 20px 25px 20px 38px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

    background-color: var(--white);

    border-radius: 100px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

    z-index: 100;
}


/* =================================
   4. LOGO KHÁCH SẠN
================================= */

.logo {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 700;

    color: var(--navy);

    white-space: nowrap;
    line-height: 1.2;
}

.logo span {
    display: block;

    margin-top: 5px;

    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;

    color: var(--gold);
}


/* =================================
   5. MENU ĐIỀU HƯỚNG
================================= */

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(20px, 3vw, 45px);
}

.navbar a {
    position: relative;

    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;

    color: var(--navy);

    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--gold);
}


/* Hiệu ứng gạch chân menu */

.navbar a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background-color: var(--gold);

    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}


/* =================================
   6. NÚT ĐẶT PHÒNG
================================= */

.booking-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 17px 25px;

    background-color: var(--navy);
    color: var(--white);

    border-radius: 50px;

    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;

    transition: all 0.3s ease;
}

.booking-btn:hover {
    background-color: var(--gold);
    color: var(--navy);

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}


/* =================================
   7. NỘI DUNG HERO BANNER
================================= */

.hero-content {
    width: 100%;
    max-width: 1100px;

    text-align: center;
    color: var(--white);
}


/* Dòng chữ Welcome */

.subtitle {
    font-size: 14px;
    font-weight: 400;

    letter-spacing: 5px;

    margin-bottom: 25px;
}


/* Tiêu đề chính */

.hero-content h1 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(32px, 5.5vw, 72px);
    font-weight: 500;

    line-height: 1.2;

    margin-bottom: 25px;

    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}


/* Dòng mô tả */

.description {
    font-size: 18px;
    font-weight: 400;

    line-height: 1.7;

    margin-bottom: 35px;
}


/* =================================
   8. NÚT KHÁM PHÁ PHÒNG
================================= */

.explore-btn {
    display: inline-block;

    padding: 20px 45px;

    color: var(--white);

    border: 1.5px solid var(--white);
    border-radius: 50px;

    background-color: transparent;

    font-size: 16px;

    transition: all 0.3s ease;
}

.explore-btn:hover {
    background-color: var(--white);
    color: var(--navy);

    transform: translateY(-3px);
}


/* =================================
   9. HIỆU ỨNG XUẤT HIỆN
================================= */

.hero-content {
    animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =================================
   10. RESPONSIVE - TABLET
================================= */

@media (max-width: 1000px) {

    .header {
        flex-wrap: wrap;
        justify-content: space-between;

        padding: 20px;
        border-radius: 25px;
    }

    .logo {
        font-size: 24px;
    }

    .navbar {
        order: 3;

        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 20px;
    }

    .navbar a {
        font-size: 14px;
    }

    .hero {
        padding-top: 250px;
    }

    .hero-content h1 {
        font-size: clamp(32px, 6vw, 55px);
    }

}


/* =================================
   11. RESPONSIVE - ĐIỆN THOẠI
================================= */

@media (max-width: 480px) {

    body {
        padding: 8px;
    }

    .hero {
        min-height: calc(100vh - 16px);
        border-radius: 12px;

        padding: 250px 15px 40px;
    }

    .header {
        top: 15px;
        width: 94%;

        padding: 18px 12px;
        gap: 18px;

        justify-content: center;
    }

    .logo {
        font-size: 21px;
    }

    .logo span {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .booking-btn {
        padding: 12px 18px;
        font-size: 12px;
    }

    .navbar {
        gap: 14px;
    }

    .navbar a {
        font-size: 12px;
    }

    .subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .description {
        font-size: 14px;
    }

    .explore-btn {
        padding: 15px 25px;
        font-size: 13px;
    }

}


/* Tôn trọng tùy chọn giảm chuyển động */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .hero-content {
        animation: none;
    }

    a {
        transition: none !important;
    }

}

/* =================================
   LANGUAGE POPUP
================================= */

.language-box {
    position: fixed;
    inset: 0;
    margin: auto;

    width: 340px;
    max-width: calc(100% - 32px);
    max-height: calc(100% - 32px);
    padding: 32px 26px;

    background: linear-gradient(
        145deg,
        rgba(55, 80, 99, 0.88),
        rgba(18, 40, 60, 0.94)
    );

    border: 1px solid rgba(197, 164, 109, 0.65);
    border-radius: 24px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

    text-align: center;
    color: white;
    overflow: auto;
}


/* Làm mờ website phía sau */

.language-box::backdrop {
    background: rgba(7, 16, 26, 0.35);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}


/* Không cuộn website khi đang mở Box */

html:has(.language-box[open]) {
    overflow: hidden;
}


/* Tên khách sạn */

.language-brand {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;

    color: #D9BF8E;

    margin-bottom: 18px;
}


/* Tiêu đề */

.language-box h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
    font-weight: 400;

    margin-bottom: 10px;
}

.language-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);

    margin-bottom: 25px;
}


/* =================================
   CÁC NÚT NGÔN NGỮ
================================= */

.language-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.language-options button {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;

    width: 100%;
    padding: 13px 16px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(197, 164, 109, 0.5);
    border-radius: 50px;

    color: white;
    font-family: inherit;
    font-size: 14px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.language-code {
    font-size: 11px;
    color: #D9BF8E;
    text-align: left;
}

.language-arrow {
    font-size: 20px;
    color: #D9BF8E;
    text-align: right;
}


/* Hiệu ứng khi rê chuột */

.language-options button:hover {
    background: rgba(197, 164, 109, 0.18);
    border-color: #D9BF8E;

    transform: translateY(-2px);

    box-shadow: 0 5px 20px rgba(197, 164, 109, 0.12);
}


/* Dòng chữ nhỏ cuối Box */

.language-footer {
    margin-top: 25px;

    font-size: 9px;
    letter-spacing: 2px;
    line-height: 1.6;

    color: #D9BF8E;
}


/* =================================
   HIỆU ỨNG XUẤT HIỆN
================================= */

.language-box[open] {
    animation: languageFadeIn 0.4s ease both;
}

@keyframes languageFadeIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =================================
   NÚT THAY ĐỔI NGÔN NGỮ
================================= */

.language-switch {
    position: fixed;

    bottom: 25px;
    right: 25px;

    z-index: 500;

    padding: 12px 20px;

    background-color: var(--navy);
    color: white;

    border: 1px solid rgba(197, 164, 109, 0.6);
    border-radius: 50px;

    font-family: inherit;
    font-size: 14px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    transition: all 0.3s ease;
}

.language-switch:hover {
    background-color: var(--gold);
    color: var(--navy);
}


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 480px) {

    .language-box {
        width: 300px;
        padding: 26px 20px;
    }

    .language-box h2 {
        font-size: 24px;
    }

    .language-switch {
        bottom: 15px;
        right: 15px;

        font-size: 12px;
        padding: 10px 16px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .language-box[open] {
        animation: none;
    }

    .language-options button,
    .language-switch {
        transition: none;
    }

}

/* =================================
   ABOUT SECTION
================================= */

.about {
    padding: 110px 6%;
    background-color: var(--cream);
}

.about-container {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}


/* =================================
   HÌNH ẢNH
================================= */

.about-image {
    position: relative;
}

.about-image img {
    display: block;
    width: 100%;
    height: 520px;

    object-fit: cover;
    border-radius: 16px;
}


.about-image-label {
    position: absolute;
    right: -25px;
    bottom: 30px;

    padding: 25px 35px;

    background-color: var(--navy);
    color: var(--white);

    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* Căn giữa nội dung */
    text-align: center;
}

.about-image-label h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 2px;

    color: var(--gold);
    margin-bottom: 12px;
}

.about-image-label p {
    font-size: 10px;
    letter-spacing: 1.5px;
    line-height: 1.6;
}


/* =================================
   NỘI DUNG GIỚI THIỆU
================================= */

.about-subtitle {
    color: #9c7a43;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;

    margin-bottom: 20px;
}

.about-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.3;

    color: var(--navy);

    margin-bottom: 25px;
}

.about-line {
    width: 60px;
    height: 2px;

    background-color: var(--gold);

    margin-bottom: 25px;
}

.about-description,
.about-description-second {
    color: #666666;

    font-size: 15px;
    line-height: 1.9;

    margin-bottom: 18px;
}


/* =================================
   ĐẶC ĐIỂM KHÁCH SẠN
================================= */

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    margin: 30px 0;

    font-size: 15px;
    color: #9c7a43;
}

.about-features span {
    color: var(--navy);
    margin-left: 5px;
}


/* =================================
   NÚT KHÁM PHÁ
================================= */

.about-btn {
    display: inline-block;

    padding: 16px 28px;
    border-radius: 50px;

    background-color: var(--navy);
    color: var(--white);

    font-size: 14px;

    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: var(--gold);
    color: var(--navy);

    transform: translateY(-3px);
}


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 900px) {

    .about {
        padding: 70px 5%;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image img {
        height: 400px;
    }

    .about-image-label {
        right: 15px;
        bottom: 15px;
    }

}

@media (max-width: 480px) {

    .about {
        padding: 50px 5%;
    }

    .about-image img {
        height: 330px;
    }

    .about-image-label {
        padding: 18px 22px;
    }

    .about-image-label h3 {
        font-size: 22px;
    }

    .about-title {
        font-size: 32px;
    }

    .about-description,
    .about-description-second {
        font-size: 14px;
    }

}

/* =================================
   ROOMS SECTION
================================= */

.rooms-section {
    padding: 100px 6%;
    background-color: var(--cream);
}

/* Tiêu đề */

.rooms-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.rooms-subtitle {
    color: #9C7A43;
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.rooms-heading h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 20px;
}

.rooms-description {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
}

.rooms-line {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin: 25px auto 0;
}


/* =================================
   BỐ CỤC 4 PHÒNG
================================= */

.rooms-grid {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
}


/* =================================
   THẺ PHÒNG
================================= */

.room-card {
    display: flex;
    flex-direction: column;

    background-color: white;
    border: 1px solid #E9E5DE;
    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


/* =================================
   HÌNH ẢNH PHÒNG
================================= */

.room-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.room-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.07);
}


/* =================================
   NỘI DUNG PHÒNG
================================= */

.room-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 28px;
}

.room-content h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 500;

    color: var(--navy);
    margin-bottom: 18px;
}

.room-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    font-size: 13px;
    color: #777;

    margin-bottom: 25px;
}

.room-info span {
    background-color: #F5F3EE;
    padding: 8px 14px;
    border-radius: 6px;
}


/* =================================
   GIÁ PHÒNG
================================= */

.room-bottom {
    border-top: 1px solid #E8E5DF;
    padding-top: 22px;
    margin-top: auto;
}

.room-price {
    color: #9C7A43;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
}

.room-price span {
    font-size: 13px;
    font-weight: 400;
    color: #777;
}


/* =================================
   NÚT XEM CHI TIẾT
================================= */

.room-btn {
    display: block;
    width: 100%;

    padding: 15px 20px;

    background-color: var(--navy);
    color: white;

    border: none;
    border-radius: 50px;

    font-family: inherit;
    font-size: 14px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.room-btn:hover {
    background-color: var(--gold);
    color: var(--navy);
}


/* =================================
   RESPONSIVE - TABLET
================================= */

@media (max-width: 1000px) {

    .rooms-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .rooms-section {
        padding: 70px 5%;
    }

    .room-image {
        height: 260px;
    }

    .room-content {
        padding: 22px;
    }

    .room-content h3 {
        font-size: 23px;
    }

}


/* =================================
   RESPONSIVE - MOBILE
================================= */

@media (max-width: 600px) {

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

    .rooms-section {
        padding: 50px 5%;
    }

    .room-image {
        height: 240px;
    }

    .rooms-heading h2 {
        font-size: 32px;
    }

    .room-content h3 {
        font-size: 22px;
    }

    .room-price {
        font-size: 22px;
    }

}

/* =================================
   ROOM DETAILS POPUP
================================= */

.room-modal {
    position: fixed;
    inset: 0;
    margin: auto;

    width: 850px;
    max-width: calc(100% - 32px);
    max-height: 90vh;

    padding: 0;
    border: none;
    border-radius: 22px;

    background: white;
    color: var(--navy);

    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);

    overflow-y: auto;
    overscroll-behavior: contain;
}

.room-modal::backdrop {
    background: rgba(7, 16, 26, 0.45);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

html:has(.room-modal[open]) {
    overflow: hidden;
}

.room-modal-container {
    position: relative;
    padding: 35px;
}


/* =================================
   NÚT ĐÓNG
================================= */

.room-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 40px;
    height: 40px;

    background: #F3F1ED;
    color: var(--navy);

    border: none;
    border-radius: 50%;

    font-size: 26px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.room-modal-close:hover {
    background: var(--navy);
    color: white;
}


/* =================================
   TIÊU ĐỀ
================================= */

.room-modal-brand {
    color: #9C7A43;

    font-size: 11px;
    letter-spacing: 3px;

    margin-bottom: 12px;
    padding-right: 45px;
}

#detailTitle {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.3;

    margin-bottom: 25px;
    padding-right: 35px;
}


/* =================================
   ALBUM ẢNH
================================= */

.room-gallery {
    position: relative;
    height: 420px;

    border-radius: 14px;
    overflow: hidden;

    background: #E9E5DE;
}

.gallery-main {
    display: block;

    width: 100%;
    height: 100%;

    padding: 0;
    border: none;

    background: transparent;
    cursor: pointer;

    touch-action: pan-y pinch-zoom;

    user-select: none;
    -webkit-user-select: none;

    -webkit-tap-highlight-color: transparent;
}

#mainRoomImage {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    user-select: none;
    -webkit-user-drag: none;
}


/* Nút phóng to ảnh */

.gallery-zoom {
    position: absolute;

    bottom: 15px;
    left: 15px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.55);
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    font-size: 24px;
    cursor: pointer;

    backdrop-filter: blur(5px);
}


/* Số thứ tự ảnh */

.gallery-counter {
    position: absolute;

    bottom: 15px;
    right: 15px;

    padding: 8px 16px;

    background: rgba(0, 0, 0, 0.55);
    color: white;

    border-radius: 30px;
    font-size: 12px;

    pointer-events: none;
}


/* Hướng dẫn chuyển ảnh */

.gallery-hint {
    text-align: center;

    font-size: 12px;
    color: #888;

    margin-top: 12px;
}


/* =================================
   ẢNH THU NHỎ
================================= */

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;
    margin-top: 15px;
}

.gallery-thumbnail {
    height: 100px;

    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;

    overflow: hidden;
    background: #E9E5DE;

    cursor: pointer;
    opacity: 0.65;

    transition: all 0.3s ease;
}

.gallery-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--gold);
}


/* =================================
   CHẤM TRÒN CHUYỂN ẢNH
================================= */

.gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 2px;
    margin-top: 10px;
}

.gallery-dot {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    border: none;
    background: transparent;
    cursor: pointer;
}

.gallery-dot::after {
    content: "";

    width: 8px;
    height: 8px;

    background: #D9D5CC;
    border-radius: 50%;

    transition: all 0.3s ease;
}

.gallery-dot.active::after {
    width: 22px;
    background: var(--gold);
    border-radius: 10px;
}


/* =================================
   GIÁ PHÒNG
================================= */

.detail-price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;

    gap: 10px;
    margin-top: 20px;
    margin-bottom: 12px;
}

#detailPrice {
    font-size: 30px;
    font-weight: 600;
    color: #9C7A43;
}

#detailNight {
    font-size: 14px;
    color: #777;
}

.detail-bed {
    font-size: 14px;
    color: #666;

    margin-bottom: 20px;
}


/* =================================
   MÔ TẢ VÀ TIỆN NGHI
================================= */

.detail-section {
    padding: 25px 0;
    border-top: 1px solid #E9E5DE;
}

.detail-section h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 500;

    margin-bottom: 18px;
}

#detailDescription {
    color: #666;
    font-size: 15px;
    line-height: 1.9;
}

.detail-amenities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.amenity-item {
    display: flex;
    align-items: center;

    gap: 10px;
    padding: 12px;

    background: #F8F6F2;
    border-radius: 8px;

    font-size: 13px;
}

.amenity-icon {
    color: #9C7A43;
    font-size: 18px;
    flex-shrink: 0;
}


/* =================================
   NÚT ZALO
================================= */

.detail-zalo {
    display: block;

    width: 100%;
    padding: 17px 20px;
    border-radius: 50px;

    background: #0068FF;
    color: white;

    text-align: center;
    font-size: 15px;
    font-weight: 500;

    transition: background 0.3s ease;
}

.detail-zalo[hidden] {
    display: none;
}

.detail-zalo:hover {
    background: #0054CC;
}

.detail-note {
    margin-top: 15px;

    text-align: center;
    font-size: 12px;
    line-height: 1.7;

    color: #777;
}


/* =================================
   PHÓNG TO HÌNH ẢNH
================================= */

.room-lightbox {
    position: fixed;
    inset: 0;
    margin: auto;

    width: 95vw;
    max-width: 1200px;
    max-height: 95vh;

    padding: 15px;

    border: none;
    border-radius: 16px;

    background: #101820;
    overflow: hidden;
}

.room-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.85);
}

#lightboxImage {
    display: block;

    width: 100%;
    max-height: 85vh;

    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: white;
    color: var(--navy);

    font-size: 25px;
    cursor: pointer;
}


/* =================================
   HIỆU ỨNG POPUP
================================= */

.room-modal[open] {
    animation: roomModalFade 0.35s ease both;
}

@keyframes roomModalFade {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.room-image {
    cursor: pointer;
}


/* =================================
   RESPONSIVE - ĐIỆN THOẠI
================================= */

@media (max-width: 600px) {

    .room-modal {
        max-width: calc(100% - 20px);
        max-height: 94dvh;
        border-radius: 16px;
    }

    .room-modal-container {
        padding: 22px 18px;
    }

    #detailTitle {
        font-size: 25px;
    }

    .room-gallery {
        height: 260px;
    }

    .gallery-thumbnail {
        height: 65px;
    }

    .gallery-thumbnails {
        gap: 8px;
    }

    .detail-amenities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #detailPrice {
        font-size: 24px;
    }

    .amenity-item {
        font-size: 12px;
        padding: 10px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .room-modal[open] {
        animation: none;
    }

    .gallery-thumbnail,
    .gallery-dot::after,
    .detail-zalo,
    .room-modal-close {
        transition: none;
    }

}

/* =================================
   HOTEL GALLERY
================================= */

.hotel-gallery {
    padding: 100px 6%;
    background: var(--cream);
}


/* =================================
   TIÊU ĐỀ
================================= */

.hotel-gallery-heading {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

.hotel-gallery-subtitle {
    font-size: 12px;
    color: #9C7A43;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.hotel-gallery-heading h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 20px;
}

.hotel-gallery-description {
    font-size: 15px;
    line-height: 1.8;
    color: #777;
}

.hotel-gallery-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 25px auto 0;
}


/* =================================
   BỘ LỌC
================================= */

.hotel-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;

    margin-bottom: 35px;
}

.hotel-filter {
    padding: 12px 24px;

    background: white;
    color: var(--navy);

    border: 1px solid #DED8CD;
    border-radius: 50px;

    font-family: inherit;
    font-size: 13px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.hotel-filter:hover {
    border-color: var(--gold);
    color: #9C7A43;
}

.hotel-filter.active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}


/* =================================
   BỐ CỤC ALBUM
================================= */

.hotel-gallery-grid {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 18px;
}


/* Hình lớn */

.hotel-gallery-grid .gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}


/* Hình ngang */

.hotel-gallery-grid .gallery-wide {
    grid-column: span 2;
}


/* =================================
   HÌNH ẢNH
================================= */

.hotel-gallery-item {
    position: relative;

    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;

    padding: 0;
    border: none;
    border-radius: 14px;

    overflow: hidden;
    background: #E9E5DE;

    font-family: inherit;
    cursor: pointer;
}

.hotel-gallery-item[hidden] {
    display: none;
}

.hotel-gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.hotel-gallery-item:hover img {
    transform: scale(1.08);
}


/* =================================
   LỚP PHỦ TRÊN ẢNH
================================= */

.hotel-gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 18px;

    background: linear-gradient(
        to top,
        rgba(10, 25, 38, 0.75),
        transparent 55%
    );

    color: white;
    font-size: 14px;
    text-align: left;

    opacity: 0;
    transition: opacity 0.35s ease;
}

.hotel-gallery-item:hover .hotel-gallery-overlay,
.hotel-gallery-item:focus-visible .hotel-gallery-overlay {
    opacity: 1;
}


/* =================================
   BỐ CỤC KHI LỌC ẢNH
================================= */

.hotel-gallery-grid.is-filtered {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 260px;
}

.hotel-gallery-grid.is-filtered .hotel-gallery-item {
    grid-column: span 1;
    grid-row: span 1;
}


/* =================================
   NÚT XEM TẤT CẢ
================================= */

.hotel-gallery-bottom {
    margin-top: 40px;
    text-align: center;
}

.hotel-gallery-btn {
    padding: 16px 35px;

    background: var(--navy);
    color: white;

    border: none;
    border-radius: 50px;

    font-family: inherit;
    font-size: 14px;

    cursor: pointer;
    transition: all 0.3s ease;
}

.hotel-gallery-btn:hover {
    background: var(--gold);
    color: var(--navy);
}


/* =================================
   ALBUM TOÀN MÀN HÌNH
   Tận dụng Room Lightbox của Bài 5
================================= */

.room-lightbox.hotel-gallery-active #lightboxImage {
    max-height: 75vh;

    cursor: pointer;
    touch-action: pan-y pinch-zoom;

    user-select: none;
    -webkit-user-drag: none;
}

.hotel-viewer-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

    gap: 8px 20px;
    padding: 15px 5px 0;

    color: white;
    font-size: 13px;
}

.hotel-viewer-toolbar[hidden] {
    display: none;
}

.hotel-viewer-caption {
    font-weight: 500;
}

.hotel-viewer-counter {
    color: var(--gold);
}

.hotel-viewer-hint {
    width: 100%;
    text-align: center;
    color: #CCC;
    font-size: 12px;
}


/* =================================
   TABLET
================================= */

@media (max-width: 1000px) {

    .hotel-gallery {
        padding: 70px 5%;
    }

    .hotel-gallery-grid {
        grid-auto-rows: 160px;
        gap: 12px;
    }

    .hotel-gallery-grid.is-filtered {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 230px;
    }

}


/* =================================
   ĐIỆN THOẠI
================================= */

@media (max-width: 600px) {

    .hotel-gallery {
        padding: 50px 5%;
    }

    .hotel-gallery-heading h2 {
        font-size: 32px;
    }

    .hotel-gallery-filters {
        gap: 8px;
    }

    .hotel-filter {
        padding: 10px 16px;
        font-size: 12px;
    }

    .hotel-gallery-grid,
    .hotel-gallery-grid.is-filtered {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 145px;
        gap: 10px;
    }

    .hotel-gallery-grid .hotel-gallery-item {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hotel-gallery-grid:not(.is-filtered) .gallery-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .hotel-gallery-item {
        border-radius: 10px;
    }

    .hotel-gallery-overlay {
        padding: 10px;
        font-size: 12px;
    }

}


/* Hiển thị tên ảnh trên màn hình cảm ứng */

@media (hover: none) {

    .hotel-gallery-overlay {
        opacity: 1;
    }

}


/* Giảm chuyển động nếu người dùng yêu cầu */

@media (prefers-reduced-motion: reduce) {

    .hotel-gallery-item img,
    .hotel-gallery-overlay,
    .hotel-gallery-btn,
    .hotel-filter {
        transition: none;
    }

    .hotel-gallery-item:hover img {
        transform: none;
    }

}

/* =================================
   CONTACT & BOOKING
================================= */

.contact-section {
    padding: 90px 6% 40px;

    background: var(--navy);
    color: white;

    border-radius: 18px;

    margin-top: 30px;
}


/* =================================
   TIÊU ĐỀ
================================= */

.contact-heading {
    max-width: 850px;
    margin: 0 auto 60px;

    text-align: center;
}

.contact-subtitle {
    color: var(--gold);

    font-size: 12px;
    letter-spacing: 4px;

    margin-bottom: 20px;
}

.contact-heading h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;

    color: white;

    margin-bottom: 25px;
}

.contact-description {
    color: #C8D1DA;

    font-size: 15px;
    line-height: 1.9;

    max-width: 700px;
    margin: 0 auto;
}

.contact-line {
    width: 60px;
    height: 2px;

    background: var(--gold);

    margin: 30px auto 0;
}


/* =================================
   BỐ CỤC HAI CỘT
================================= */

.contact-container {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
    gap: 80px;
}


/* =================================
   THÔNG TIN KHÁCH SẠN
================================= */

.contact-information h3 {
    font-family: "Playfair Display", Georgia, serif;

    color: var(--gold);

    font-size: 38px;
    font-weight: 500;

    letter-spacing: 2px;
}

.contact-hotel-brand {
    font-size: 11px;
    letter-spacing: 5px;

    color: #D8C5A5;

    margin-top: 8px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;

    gap: 18px;
    margin-bottom: 30px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border: 1px solid rgba(197, 164, 109, 0.5);
    border-radius: 50%;

    background: rgba(197, 164, 109, 0.08);
    color: var(--gold);

    font-size: 22px;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 600;

    color: white;

    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    font-size: 14px;
    line-height: 1.8;

    color: #C8D1DA;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-item .contact-phone {
    font-size: 23px;
    font-weight: 500;

    letter-spacing: 1px;

    color: white;
}


/* =================================
   THẺ ĐẶT PHÒNG
================================= */

.contact-booking-card {
    padding: 40px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(197, 164, 109, 0.4);
    border-radius: 20px;

    backdrop-filter: blur(10px);
}

.contact-booking-subtitle {
    font-size: 11px;
    letter-spacing: 4px;

    color: var(--gold);

    margin-bottom: 15px;
}

.contact-booking-card h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 32px;
    font-weight: 500;

    color: white;

    margin-bottom: 18px;
}

.contact-booking-description {
    color: #C8D1DA;

    font-size: 14px;
    line-height: 1.9;

    margin-bottom: 30px;
}


/* =================================
   CÁC NÚT LIÊN HỆ
================================= */

.contact-zalo,
.contact-call,
.contact-map {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    padding: 16px 20px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 500;

    text-align: center;

    margin-bottom: 15px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


/* Zalo */

.contact-zalo {
    background: #0068FF;
    color: white;
}

.contact-zalo:hover {
    background: #0054CC;
    transform: translateY(-3px);
}


/* Gọi điện */

.contact-call {
    background: var(--gold);
    color: var(--navy);
}

.contact-call:hover {
    background: #DDC49B;
    transform: translateY(-3px);
}


/* Chỉ đường */

.contact-map {
    background: transparent;

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-map:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}


/* Chú thích */

.contact-booking-note {
    text-align: center;

    color: #AEBCC8;
    font-size: 12px;

    line-height: 1.7;

    margin-top: 25px;
}


/* =================================
   SLOGAN CUỐI PHẦN LIÊN HỆ
================================= */

.contact-footer-line {
    max-width: 1150px;
    height: 1px;

    background: rgba(255, 255, 255, 0.15);

    margin: 60px auto 30px;
}

.contact-slogan {
    text-align: center;

    color: var(--gold);

    font-size: 10px;
    letter-spacing: 3px;
    line-height: 1.8;
}


/* Cuộn trang mượt mà */

html {
    scroll-behavior: smooth;
}


/* =================================
   RESPONSIVE - TABLET
================================= */

@media (max-width: 900px) {

    .contact-container {
        grid-template-columns: 1fr;
        gap: 35px;

        max-width: 650px;
    }

    .contact-section {
        padding: 70px 6% 35px;
    }

    .contact-heading {
        margin-bottom: 40px;
    }

}


/* =================================
   RESPONSIVE - ĐIỆN THOẠI
================================= */

@media (max-width: 600px) {

    .contact-section {
        padding: 50px 20px 25px;
        border-radius: 14px;
    }

    .contact-heading h2 {
        font-size: 32px;
    }

    .contact-information h3 {
        font-size: 30px;
    }

    .contact-description {
        font-size: 14px;
    }

    .contact-booking-card {
        padding: 25px 20px;
    }

    .contact-booking-card h3 {
        font-size: 27px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

    .contact-footer-line {
        margin: 35px auto 25px;
    }

    .contact-slogan {
        font-size: 9px;
        letter-spacing: 2px;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .contact-zalo,
    .contact-call,
    .contact-map {
        transition: none;
    }

    .contact-zalo:hover,
    .contact-call:hover {
        transform: none;
    }

}

/* =================================
   MOBILE OPTIMIZATION
================================= */

/* Ẩn các chức năng mobile trên máy tính */

.mobile-menu-toggle,
.header .navbar .mobile-only,
.mobile-zalo,
.back-to-top {
    display: none;
}


/* =================================
   GIAO DIỆN ĐIỆN THOẠI
================================= */

@media (max-width: 768px) {

    body {
        padding: 8px;
        padding-bottom: 85px;
    }


    /* =================================
       MOBILE HEADER
    ================================= */

    .header {
        top: 15px;

        width: calc(100% - 24px);

        padding: 15px 18px;

        display: flex;
        flex-wrap: nowrap;

        align-items: center;
        justify-content: space-between;

        gap: 12px;

        border-radius: 50px;

        z-index: 100;
    }

    .header .logo {
        font-size: 22px;
        line-height: 1.2;
    }

    .header .logo span {
        font-size: 9px;
        letter-spacing: 2px;
    }

    /* Ẩn nút đặt phòng lớn trên Header */

    .header .booking-btn {
        display: none;
    }


    /* =================================
       NÚT HAMBURGER
    ================================= */

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 5px;

        width: 44px;
        height: 44px;

        flex-shrink: 0;

        padding: 0;

        background: #F5F3EE;

        border: none;
        border-radius: 50%;

        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;

        width: 21px;
        height: 2px;

        background: var(--navy);
        border-radius: 4px;

        transition: all 0.3s ease;
    }


    /* Chuyển Hamburger thành dấu X */

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

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


    /* =================================
       MENU THẢ XUỐNG
    ================================= */

    .header .navbar {
        display: none;

        position: absolute;

        top: calc(100% + 12px);
        left: 0;
        right: 0;

        width: 100%;

        padding: 18px;

        background: white;

        border-radius: 20px;

        box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.18);

        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .header .navbar.mobile-open {
        display: flex;

        animation: mobileMenuFade 0.25s ease;
    }

    .header .navbar a {
        display: block;

        padding: 15px 10px;

        font-size: 15px;
        line-height: 1.5;

        color: var(--navy);

        border-bottom: 1px solid #EEEBE5;
    }

    .header .navbar a::after {
        display: none;
    }

    .header .navbar .mobile-only {
        display: block;
    }

    .header .navbar .mobile-booking-link {
        margin-top: 15px;

        background: var(--navy);
        color: white;

        border: none;
        border-radius: 50px;

        text-align: center;
    }


    /* =================================
       HERO BANNER
    ================================= */

    .hero {
        min-height: calc(100vh - 16px);
        min-height: calc(100svh - 16px);

        padding: 130px 20px 60px;

        background-position: center;
        border-radius: 14px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content .subtitle {
        font-size: 10px;
        line-height: 1.8;
        letter-spacing: 3px;

        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: clamp(30px, 7.8vw, 48px);

        line-height: 1.25;
        letter-spacing: -0.5px;
    }

    .hero-content .description {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 20px;
    }

    .explore-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-height: 48px;

        padding: 13px 22px;

        font-size: 12px;
        text-align: center;
    }


    /* =================================
       ABOUT SECTION
    ================================= */

    .about {
        padding: 55px 5%;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image img {
        height: 320px;
    }

    .about-image-label {
        right: 12px;
        bottom: 12px;

        max-width: calc(100% - 24px);

        padding: 18px 20px;
    }

    .about-image-label h3 {
        font-size: 23px;
    }

    .about-image-label p {
        font-size: 8px;
        line-height: 1.6;
    }

    .about-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .about-description,
    .about-description-second {
        font-size: 14px;
        line-height: 1.9;
    }

    .about-features {
        gap: 15px;
        font-size: 13px;
    }


    /* =================================
       DANH SÁCH PHÒNG
    ================================= */

    .rooms-section {
        padding: 55px 5%;
    }

    .rooms-heading {
        margin-bottom: 30px;
    }

    .rooms-heading h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .rooms-description {
        font-size: 14px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .room-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .room-content {
        padding: 22px;
    }

    .room-content h3 {
        font-size: 24px;
        line-height: 1.4;
    }

    .room-price {
        font-size: 23px;
    }

    .room-btn {
        min-height: 48px;
        font-size: 14px;
    }


    /* =================================
       POPUP CHI TIẾT PHÒNG
    ================================= */

    .room-modal {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);

        max-height: 94vh;
        max-height: 94dvh;

        border-radius: 16px;
    }

    .room-modal-container {
        padding: 22px 16px;
    }

    #detailTitle {
        font-size: 25px;
        line-height: 1.4;
    }

    .room-gallery {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .gallery-thumbnail {
        height: 75px;
    }

    .gallery-hint {
        font-size: 12px;
        line-height: 1.6;
    }

    .gallery-dot {
        width: 44px;
        height: 44px;
    }

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

        gap: 10px;
    }

    .amenity-item {
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .detail-zalo {
        min-height: 48px;
    }


    /* =================================
       HOTEL GALLERY
    ================================= */

    .hotel-gallery {
        padding: 55px 5%;
    }

    .hotel-gallery-heading h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hotel-filter {
        min-height: 44px;
    }

    .hotel-gallery-btn {
        min-height: 48px;
    }


    /* =================================
       CONTACT
    ================================= */

    .contact-section {
        padding: 50px 20px 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-heading h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .contact-booking-card {
        padding: 25px 20px;
    }

    .contact-item > div:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }


    /* =================================
       NÚT ZALO NỔI
    ================================= */

    .mobile-zalo {
        position: fixed;

        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        left: 16px;

        display: flex;

        align-items: center;
        justify-content: center;

        width: 54px;
        height: 54px;

        border: 2px solid white;
        border-radius: 50%;

        background: #0068FF;
        color: white;

        font-size: 15px;
        font-weight: 700;

        box-shadow:
            0 5px 20px rgba(0, 104, 255, 0.3);

        z-index: 500;
    }


    /* =================================
       NÚT ĐỔI NGÔN NGỮ
    ================================= */

    .language-switch {
        right: 16px;

        bottom: calc(16px + env(safe-area-inset-bottom, 0px));

        min-height: 48px;

        padding: 12px 15px;

        font-size: 13px;

        z-index: 500;
    }


    /* =================================
       NÚT QUAY VỀ ĐẦU TRANG
    ================================= */

    .back-to-top:not([hidden]) {
        position: fixed;

        right: 16px;

        bottom: calc(80px + env(safe-area-inset-bottom, 0px));

        display: flex;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;

        background: var(--navy);
        color: white;

        border: 1px solid var(--gold);
        border-radius: 50%;

        font-size: 23px;

        box-shadow:
            0 5px 15px rgba(0, 0, 0, 0.15);

        cursor: pointer;

        z-index: 499;
    }

    .back-to-top[hidden] {
        display: none;
    }

}


/* =================================
   ĐIỆN THOẠI MÀN HÌNH NHỎ
================================= */

@media (max-width: 360px) {

    .header {
        padding: 10px 14px;
    }

    .header .logo {
        font-size: 19px;
    }

    .header .logo span {
        font-size: 8px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .about-title,
    .rooms-heading h2,
    .hotel-gallery-heading h2,
    .contact-heading h2 {
        font-size: 28px;
    }

    .room-content h3 {
        font-size: 21px;
    }

    .room-price {
        font-size: 21px;
    }

    .gallery-thumbnail {
        height: 60px;
    }

}


/* =================================
   BỎ HIỆU ỨNG HOVER TRÊN MÀN HÌNH CẢM ỨNG
================================= */

@media (hover: none) {

    .room-card:hover {
        transform: none;
    }

    .room-card:hover .room-image img,
    .hotel-gallery-item:hover img {
        transform: none;
    }

}


/* =================================
   HIỆU ỨNG MOBILE MENU
================================= */

@keyframes mobileMenuFade {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media (prefers-reduced-motion: reduce) {

    .mobile-menu-toggle span {
        transition: none;
    }

    .header .navbar.mobile-open {
        animation: none;
    }

}
/* Đồng bộ chiều cao tên thương hiệu */

.logo,
.about-image-label h3,
.contact-information h3 {
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

/* =================================
   GIÁ PHÒNG VÀ NÚT ĐẶT PHÒNG
================================= */

.detail-booking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 25px;
    margin-bottom: 25px;
}

.detail-price-info {
    flex: 1;
    min-width: 0;
}

.detail-booking-row .detail-price-box {
    margin-top: 0;
    margin-bottom: 12px;
}

.detail-booking-row .detail-bed {
    margin-bottom: 0;
}


/* NÚT ĐẶT PHÒNG NGAY */

.detail-booking-row .detail-zalo {
    width: auto;

    flex-shrink: 0;

    padding: 16px 32px;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    border-radius: 50px;
}


/* =================================
   TỐI ƯU ĐIỆN THOẠI
================================= */

@media (max-width: 600px) {

    .detail-booking-row {
        gap: 15px;
        margin-top: 20px;
    }

    .detail-booking-row .detail-zalo {
        padding: 14px 18px;
        font-size: 13px;
    }

    #detailPrice {
        font-size: 22px;
    }

    #detailNight {
        font-size: 12px;
    }

    .detail-booking-row .detail-bed {
        font-size: 12px;
        line-height: 1.6;
    }

}


/* MÀN HÌNH ĐIỆN THOẠI NHỎ */

@media (max-width: 420px) {

    .detail-booking-row {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-booking-row .detail-zalo {
        width: 100%;
        min-height: 48px;
    }

}

/* =================================
   FLOATING BUTTONS - ALL DEVICES
================================= */

:root {
    --floating-right: 25px;
    --floating-bottom: calc(
        25px + env(safe-area-inset-bottom, 0px)
    );
}


/* NÚT ĐỔI NGÔN NGỮ */

.language-switch {
    position: fixed;

    right: var(--floating-right);
    bottom: var(--floating-bottom);

    min-height: 48px;

    z-index: 500;
}


/* =================================
   NÚT ZALO
================================= */

.mobile-zalo {
    position: fixed;

    right: var(--floating-right);
    left: auto;

    bottom: calc(var(--floating-bottom) + 65px);

    display: flex;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    background: #0068FF;
    color: white;

    border: 2px solid white;
    border-radius: 50%;

    font-size: 16px;
    font-weight: 700;

    box-shadow: 0 5px 20px rgba(0, 104, 255, 0.25);

    z-index: 500;

    transition: transform 0.3s ease;
}

.mobile-zalo:hover {
    transform: translateY(-4px);
}

.mobile-zalo svg {
    width: 38px;
    height: 38px;
}


/* =================================
   NÚT QUAY VỀ ĐẦU TRANG
================================= */

.back-to-top:not([hidden]) {
    position: fixed;

    right: calc(var(--floating-right) + 5px);

    bottom: calc(var(--floating-bottom) + 135px);

    display: flex;

    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    background: var(--navy);
    color: white;

    border: 1px solid var(--gold);
    border-radius: 50%;

    font-size: 23px;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

    z-index: 500;

    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--navy);

    transform: translateY(-3px);
}

.back-to-top[hidden] {
    display: none;
}


/* =================================
   ĐIỆN THOẠI
================================= */

@media (max-width: 768px) {

    :root {
        --floating-right: 16px;
        --floating-bottom: calc(
            16px + env(safe-area-inset-bottom, 0px)
        );
    }

}

@media (prefers-reduced-motion: reduce) {

    .mobile-zalo,
    .back-to-top {
        transition: none;
    }

    .mobile-zalo:hover,
    .back-to-top:hover {
        transform: none;
    }

}

/* =====================================
   POPUP ƯU ĐÃI - THINH GIA 2
===================================== */

.offers-modal {
    position: fixed;
    inset: 0;
    margin: auto;

    width: min(960px, calc(100% - 30px));
    max-height: 90vh;
    max-height: 90dvh;

    padding: 0;
    border: 1px solid #C5A46D;
    border-radius: 20px;

    background: #FFFFFF;
    color: #152D43;

    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

/* LÀM TỐI NỀN WEBSITE */

.offers-modal::backdrop {
    background: rgba(8, 20, 35, 0.75);
    backdrop-filter: blur(5px);
}

/* NỘI DUNG BÊN TRONG */

.offers-modal-content {
    position: relative;
    padding: 30px;
}

/* NÚT ĐÓNG */

.offers-close {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: #F0F0F0;
    color: #152D43;

    font-size: 28px;
    cursor: pointer;
    z-index: 2;
}

.offers-close:hover {
    background: #152D43;
    color: #FFFFFF;
}

/* THƯƠNG HIỆU */

.offers-brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #C5A46D;
    margin-bottom: 10px;
}

/* TIÊU ĐỀ */

.offers-modal h2 {
    font-family: "Playfair Display", serif;
    font-size: 34px;

    margin: 0 45px 20px 0;
    color: #152D43;
}

/* =====================================
   KHU VỰC POSTER
===================================== */

.offers-slider {
    width: 100%;
    touch-action: pan-y;
}

.offers-slide {
    margin: 0;
}

.offers-slide[hidden] {
    display: none !important;
}

.offers-slide img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 14px;
    cursor: pointer;
    user-select: none;
}

.offers-slide figcaption {
    margin-top: 12px;

    text-align: center;
    font-size: 14px;
    color: #66717A;
}

/* =====================================
   NÚT ĐIỀU HƯỚNG
===================================== */

.offers-navigation {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;
    margin-top: 18px;
}

.offers-arrow {
    width: 42px;
    height: 42px;

    border: 1px solid #DDD5C5;
    border-radius: 50%;

    background: #FAF9F6;
    color: #152D43;

    font-size: 20px;
    cursor: pointer;
}

.offers-arrow:hover {
    background: #152D43;
    color: white;
}

/* BA DẤU CHẤM */

.offers-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offers-dot {
    width: 10px;
    height: 10px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #D8D8D8;
    cursor: pointer;
}

.offers-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #C5A46D;
}

.offers-count {
    margin: 8px 0 18px;

    font-size: 12px;
    color: #888888;
    text-align: center;
}

/* =====================================
   NÚT ZALO
===================================== */

.offers-zalo {
    display: block;

    width: max-content;
    max-width: 100%;

    margin: 0 auto;
    padding: 15px 30px;

    background: #152D43;
    color: #FFFFFF;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;

    transition: background 0.3s ease;
}

.offers-zalo:hover {
    background: #C5A46D;
    color: #152D43;
}

.offers-note {
    margin-top: 12px;

    color: #888888;
    font-size: 12px;

    text-align: center;
    line-height: 1.6;
}

/* =====================================
   RESPONSIVE ĐIỆN THOẠI
===================================== */

@media (max-width: 600px) {

    .offers-modal {
        width: calc(100% - 16px);
        border-radius: 14px;
    }

    .offers-modal-content {
        padding: 55px 12px 20px;
    }

    .offers-close {
        top: 10px;
        right: 10px;
    }

    .offers-modal h2 {
        font-size: 25px;
        margin-bottom: 18px;
    }

    .offers-slide figcaption {
        font-size: 12px;
        line-height: 1.5;
    }

    .offers-zalo {
        width: 100%;
    }

}

/* =====================================
   THU NHỎ POPUP ƯU ĐÃI
===================================== */

/* 1. THU NHỎ CỬA SỔ */

.offers-modal {
    width: min(680px, calc(100% - 24px));

    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);

    border-radius: 16px;
    overflow-y: auto;
}

/* 2. GIẢM KHOẢNG CÁCH BÊN TRONG */

.offers-modal-content {
    padding: 18px 20px 14px;
}

/* 3. THU NHỎ TÊN THƯƠNG HIỆU */

.offers-brand {
    font-size: 10px;
    margin-bottom: 5px;
}

/* 4. THU NHỎ TIÊU ĐỀ */

.offers-modal h2 {
    font-size: 24px;
    margin: 0 40px 12px 0;
}

/* 5. NÚT ĐÓNG NHỎ HƠN */

.offers-close {
    top: 10px;
    right: 10px;

    width: 34px;
    height: 34px;
    font-size: 23px;
}

/* =====================================
   CỐ ĐỊNH KHUNG CHỨA POSTER
===================================== */

.offers-slider {
    width: 100%;
    height: min(38dvh, 330px);
}

/* TẤT CẢ POSTER CÙNG CHIỀU CAO */

.offers-slide {
    height: 100%;
}

.offers-slide[hidden] {
    display: none !important;
}

.offers-slide img {
    display: block;

    width: 100%;
    height: calc(100% - 30px);

    max-height: none;
    aspect-ratio: auto;

    object-fit: contain;

    background: #FFFFFF;
    border-radius: 10px;
}

/* DÒNG MÔ TẢ NHỎ GỌN */

.offers-slide figcaption {
    height: 30px;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0 5px;

    font-size: 12px;
    line-height: 1.3;
    text-align: center;
}

/* =====================================
   NÚT ĐIỀU HƯỚNG
===================================== */

.offers-navigation {
    margin-top: 10px;
    gap: 16px;
}

.offers-arrow {
    width: 34px;
    height: 34px;
    font-size: 17px;
}

.offers-count {
    margin: 5px 0 10px;
}

/* =====================================
   NÚT ZALO VÀ GHI CHÚ
===================================== */

.offers-zalo {
    padding: 11px 24px;
    font-size: 13px;
}

.offers-note {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.5;
}

/* =====================================
   ĐIỆN THOẠI
===================================== */

@media (max-width: 600px) {

    .offers-modal {
        width: calc(100% - 16px);
    }

    .offers-modal-content {
        padding: 45px 12px 14px;
    }

    .offers-modal h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .offers-slider {
        height: min(28dvh, 240px);
    }

    .offers-slide img {
        height: calc(100% - 34px);
    }

    .offers-slide figcaption {
        height: 34px;
        font-size: 11px;
    }

    .offers-navigation {
        margin-top: 8px;
    }

    .offers-zalo {
        width: 100%;
    }

}

/* =====================================
   KHÔI PHỤC NÚT VỀ ĐẦU TRANG
===================================== */

.back-to-top:not([hidden]) {
    display: flex !important;

    position: fixed;
    right: 30px;
    bottom: 180px;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    background: #152D43;
    color: #FFFFFF;

    border: 1px solid #C5A46D;
    border-radius: 50%;

    font-size: 23px;
    cursor: pointer;

    z-index: 1000;

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top[hidden] {
    display: none !important;
}

@media (max-width: 768px) {

    .back-to-top:not([hidden]) {
        right: 21px;
        bottom: 170px;
    }

}

/* THƯ VIỆN NHIỀU VIDEO */

.hotel-video-gallery[hidden],
.hotel-gallery-grid[hidden],
.hotel-gallery-bottom[hidden] {
    display: none !important;
}

.hotel-video-gallery {
    max-width: 1200px;
    margin: 0 auto;
}

/* 3 VIDEO TRÊN MỘT HÀNG */

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

/* THẺ VIDEO */

.hotel-video-card {
    background: #FAF9F6;
    padding: 12px;
    border-radius: 16px;

    border: 1px solid #E7E0D7;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.hotel-video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;

    background: #152D43;
    border-radius: 10px;
}

.hotel-video-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #152D43;

    margin: 14px 4px 6px;
    line-height: 1.5;
}

/* MÁY TÍNH BẢNG */

@media (max-width: 900px) {

    .hotel-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

}

/* ĐIỆN THOẠI */

@media (max-width: 480px) {

    .hotel-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hotel-video-card {
        padding: 6px;
        border-radius: 10px;
    }

    .hotel-video-card h3 {
        font-size: 12px;
    }

}

/* FACEBOOK & TIKTOK */

.contact-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social-links .contact-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;
    border: 1px solid #C5A46D;
    border-radius: 8px;

    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;

    transition: 0.3s;
}

.contact-social-links .contact-social-btn:hover {
    background: #C5A46D;
    color: #152D43;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .contact-social-links {
        gap: 8px;
    }

    .contact-social-links .contact-social-btn {
        padding: 7px 12px;
        font-size: 12px;
    }
}


/* =================================
   HOTLINE - 2 SO DIEN THOAI
================================= */

.contact-hotline {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

/* Tiêu đề Hotline */

.contact-hotline .contact-hotline-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 8px;
}

/* Danh sách số điện thoại */

.contact-phone-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

/* Số điện thoại */

.contact-item .contact-phone-list .contact-phone {
    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.5;
    color: #FFFFFF;
    text-decoration: none;
}

/* Hiệu ứng khi rê chuột */

.contact-item .contact-phone-list .contact-phone:hover {
    color: #C5A46D;
}

/* Điện thoại */

@media (max-width: 480px) {

    .contact-item .contact-phone-list .contact-phone {
        font-size: 18px;
    }

}

/* LOGO BEST CHOICE - PHÒNG VIEW HỒ */

.room-image {
    position: relative;
}

.room-image img.best-choice-badge {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 100px;
    height: auto;

    object-fit: contain;

    z-index: 2;
    pointer-events: none;

    transform: none;
    transition: none;

    filter: drop-shadow(0 3px 7px rgba(0,0,0,0.25));
}

/* Không phóng to logo khi rê chuột */

.room-card:hover .room-image img.best-choice-badge {
    transform: none;
}

/* Điện thoại */

@media (max-width: 600px) {

    .room-image img.best-choice-badge {
        width: 80px;
        top: 10px;
        right: 10px;
    }

}

