﻿/* ==========================================================
   DUONG GIA DAT HOMESTAY
   MAIN STYLE
   TONE: ĐỎ ĐẤT - NÂU ẤM - VÀNG ĐỒNG
========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #6B3E26;
    background: #fffdf8;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.section {
    padding: 55px 0;
}


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

.site-header {
    background: #fffdf8;
    border-bottom: 1px solid #e6d7a5;
}

.site-header .container {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img {
    width: 180px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-weight: 600;
    color: #6B3E26;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #B8862F;
}

.booking-button,
.button {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .5px;
    transition: all 0.3s ease;
}

.booking-button {
    background: #8B3A2E;
    color: white;
}

.booking-button:hover {
    background: #6F2E25;
}


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

.hero {
    min-height: 450px;
    background-image: url("../images/banner/1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.2s ease-in-out;
}

.hero-overlay {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .28);
}

.hero-content {
    color: white;
    max-width: 800px;
    padding: 30px;
}

.hero-subtitle {
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: clamp(42px, 7vw, 82px);
    margin: 15px 0;
}

.hero-content h1 span {
    display: block;
    font-size: .5em;
    letter-spacing: 5px;
}

.hero-description {
    font-size: 22px;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.button.primary {
    background: #8B3A2E;
    color: white;
}

.button.primary:hover {
    background: #6F2E25;
}

.button.secondary {
    background: #B8862F;
    color: white;
}

.button.secondary:hover {
    background: #946F24;
}


/* ==========================================================
   HEADINGS
========================================================== */

.section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-label {
    color: #B8862F;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 40px;
    margin: 10px 0 20px;
    color: #6B3E26;
}


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

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.room-card {
    background: #ffffff;
    border: 1px solid #eadfd2;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(90, 46, 36, 0.12);
}

.room-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.room-image {
    height: 260px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.room-content {
    padding: 25px;
}

.room-content h2,
.room-content h3 {
    margin-top: 0;
    color: #6B3E26;
}

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

.room-content p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: #666;
}

.room-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    color: #8B3A2E;
    transition: color 0.3s ease;
}

.room-link:hover {
    color: #B8862F;
}

.rooms-more {
    text-align: center;
    margin-top: 45px;
}


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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center top;
}
/* ==========================================================
   GALLERY LIGHTBOX
========================================================== */

.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    display: block;
    transition: transform 0.3s ease;
}

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

.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 25px;
    border: none;
    background: transparent;
    color: white;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    opacity: 0.7;
}


@media (max-width: 768px) {

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

    .image-lightbox {
        padding: 15px;
    }

    .image-lightbox img {
        max-width: 96vw;
        max-height: 85vh;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 36px;
    }

}


@media (max-width: 480px) {

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

}

/* ==========================================================
   PAGE BANNER
========================================================== */

.page-banner {
    padding: 100px 0;
    text-align: center;
    background: #8B3A2E;
    color: white;
}

.page-banner h1 {
    font-size: 48px;
    margin: 10px 0 0;
}


/* ==========================================================
   BOOKING
========================================================== */

.booking-section {
    padding: 90px 20px;
    text-align: center;
    background: #F3E6D5;
}

.booking-section h2 {
    font-size: 40px;
    color: #6B3E26;
}


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

.contact-content {
    max-width: 800px;
    text-align: center;
}

.contact-content h2 {
    color: #6B3E26;
}

.contact-content > p {
    line-height: 1.8;
    color: #666;
}

.contact-info {
    margin: 30px auto;
    padding: 20px 25px;
    background: #ffffff;
    border-radius: 6px;
    text-align: left;
    max-width: 600px;
    border: 1px solid #eadfd2;
}

.contact-info p {
    margin: 8px 0;
    line-height: 1.7;
}

.contact-content .button {
    margin-top: 10px;
}


/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    padding: 35px 0;
    background: #5A2E24;
    color: white;
    text-align: center;
}


/* ==========================================================
   LANGUAGE SWITCHER
========================================================== */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.language-switcher button {
    border: 1px solid #B8862F;
    background: transparent;
    color: #6B3E26;
    padding: 7px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher button:hover,
.language-switcher button.active {
    background: #8B3A2E;
    color: white;
    border-color: #8B3A2E;
}


/* ==========================================================
   HEADER LANGUAGE + NAV
========================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* ==========================================================
   HIGHLIGHTS - ĐIỂM NỔI BẬT
========================================================== */

.highlights {
    background: #F8F1E7;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.highlight-card {
    background: #ffffff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #eadfd2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(90, 46, 36, 0.10);
}

.highlight-icon {
    font-size: 38px;
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #6B3E26;
}

.highlight-card p {
    margin: 0;
    line-height: 1.7;
    color: #666;
}


/* ==========================================================
   ROOMS PREVIEW - PHÒNG NGHỈ
========================================================== */

.rooms-preview {
    background: #ffffff;
}


/* ==========================================================
   EXPERIENCES - TRẢI NGHIỆM
========================================================== */

.experiences {
    background: #F8F1E7;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.experience-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 6px;
    border: 1px solid #eadfd2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(90, 46, 36, 0.10);
}

.experience-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #6B3E26;
}

.experience-card p {
    margin: 0;
    line-height: 1.7;
    color: #666;
}


/* ==========================================================
   FOOD - ẨM THỰC
========================================================== */

.food {
    background: #ffffff;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.food-card {
    text-align: center;
    padding: 35px 25px;
    border: 1px solid #eadfd2;
    border-radius: 6px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(90, 46, 36, 0.10);
}

.food-icon {
    font-size: 38px;
    margin-bottom: 20px;
}

.food-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #6B3E26;
}

.food-card p {
    margin: 0;
    line-height: 1.7;
    color: #666;
}


/* ==========================================================
   FAMILY - GIA ĐÌNH
========================================================== */

.family {
    background: #F8F1E7;
}

.family-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.family-content .section-label {
    margin-bottom: 15px;
}

.family-content h2 {
    margin-bottom: 25px;
    color: #6B3E26;
}

.family-content p {
    line-height: 1.8;
    color: #666;
}

.family-content p + p {
    margin-top: 15px;
}

.family-content .button {
    margin-top: 25px;
}


/* ==========================================================
   REVIEWS - ĐÁNH GIÁ
========================================================== */

.reviews {
    background: #ffffff;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.review-card {
    background: #F8F1E7;
    padding: 35px 30px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #eadfd2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(90, 46, 36, 0.10);
}

.review-stars {
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #B8862F;
}

.review-text {
    margin: 0;
    line-height: 1.8;
    color: #666;
    font-style: italic;
}

.review-name {
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 600;
    color: #6B3E26;
}


/* ==========================================================
   CONTACT PREVIEW - LIÊN HỆ
========================================================== */

.contact-preview {
    background: #F8F1E7;
}

.contact-info {
    box-shadow: 0 5px 20px rgba(90, 46, 36, 0.06);
}


/* ==========================================================
   VIDEO GIỚI THIỆU
========================================================== */

.about-video {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.about-video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 750px;
    object-fit: contain;
}


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

@media (max-width: 900px) {

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

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

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

}


@media (max-width: 800px) {

    .site-header .container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .language-switcher {
        margin-left: 0;
    }

    .room-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .hero-overlay {
        min-height: 560px;
    }

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

}


@media (max-width: 600px) {

    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .food-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .room-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .room-image {
        height: 230px;
    }

}
/* ==========================================================
   ROOMS HERO - SLIDESHOW 3 PHÒNG
========================================================== */

.rooms-hero {
    min-height: 450px;

    background-image: url("../images/rooms/6.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: opacity 1.2s ease-in-out;
}

.rooms-hero-overlay {
    min-height: 450px;

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

    text-align: center;

    background: rgba(0, 0, 0, 0.30);
}

.rooms-hero-content {
    color: white;
    padding: 30px;
}

.rooms-hero-content p {
    margin: 0 0 15px;

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

    letter-spacing: 3px;
}

.rooms-hero-content h1 {
    margin: 0 0 18px;

    font-size: clamp(42px, 7vw, 76px);

    letter-spacing: 4px;
}

.rooms-hero-content span {
    font-size: 20px;
    line-height: 1.6;
}


/* MOBILE */

@media (max-width: 800px) {

    .rooms-hero,
    .rooms-hero-overlay {
        min-height: 560px;
    }

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

    .rooms-hero-content span {
        font-size: 17px;
    }

}
/* ==========================================================
   BLOG HERO - SLIDESHOW
========================================================== */

.blog-hero {

    min-height: 450px;

    background-image: url("../images/banner/1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: opacity 1.2s ease-in-out;
}

.blog-hero-overlay {

    min-height: 450px;

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

    text-align: center;

    background: rgba(0, 0, 0, 0.30);
}

.blog-hero-content {

    color: white;
    padding: 30px;
}

.blog-hero-content p {

    margin: 0 0 15px;

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

    letter-spacing: 3px;
}

.blog-hero-content h1 {

    margin: 0 0 18px;

    font-size: clamp(42px, 7vw, 76px);

    letter-spacing: 4px;
}

.blog-hero-content span {

    font-size: 20px;
    line-height: 1.6;
}


/* MOBILE */

@media (max-width: 800px) {

    .blog-hero,
    .blog-hero-overlay {

        min-height: 450px;
    }

    .blog-hero-content h1 {

        font-size: 48px;
    }

    .blog-hero-content span {

        font-size: 17px;
    }

}
/* ==========================================================
   HEADER IMAGE
========================================================== */

.site-header {
    background: #fffdf8;
    border-bottom: 1px solid #d2aa42;
}

.header-image {
    width: 100%;
    overflow: hidden;
}

.header-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================================
   HEADER NAVIGATION
========================================================== */

.header-navigation {
    background: #fffdf8;
    border-top: 1px solid #e6d7a5;
}

.header-navigation .container {
    min-height: 65px;

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

    gap: 30px;
}

.header-navigation .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.header-navigation .main-nav a {
    font-weight: 600;
    color: #7a3e20;
}

.header-navigation .main-nav a:hover {
    color: #b8860b;
}
.map-hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-hero iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.map-hero-info {
    position: absolute;
    left: 50px;
    bottom: 35px;
    background: rgba(255, 253, 248, 0.95);
    padding: 20px 25px;
    max-width: 380px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

.map-hero-info h1 {
    margin: 0 0 8px;
}

.map-hero-info p {
    margin: 0 0 15px;
}

.map-hero-info a {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}
/* ==========================================================
   BLOG ARTICLE GRID
========================================================== */

.blog-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog-list .room-card {
    display: block;
}

@media (max-width: 900px) {

    .blog-list {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 480px) {

    .blog-list {
        grid-template-columns: 1fr;
    }

}