/* public/css/style4.css */
:root {
  --color-1: #A9A585; /* Màu xám xanh lá cây nhạt */
  --color-2: #A68D5C; /* Màu nâu vàng đất */
  --color-3: #C87E52; /* Màu cam đất */
  --color-4: #41758A; /* Màu xanh nước biển đậm */
  --color-5: #CD9C5E; /* Màu vàng cam sẫm */
  --color-6: #F8F8F8; /* Màu trắng ngà */
  --color-7: #414042; /* Màu xám đen */
  --color-8: #454545; 
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato Bold.ttf') format('truetype');
    font-weight: bold; /* Hoặc 700 */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato Light.ttf') format('truetype');
    font-weight: 300; /* Light thường là 300 */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato Regular.ttf') format('truetype');
    font-weight: normal; /* Hoặc 400 */
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Medium.ttf') format('truetype');
    font-weight: 500; /* Medium thường là 500 */
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: normal; /* Hoặc 400 */
    font-style: normal;
}
@font-face {
  font-family: 'Marcellus';
  src: url('../fonts/Marcellus-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'iCielBegum';
  src: url('../fonts/iCielBegum.woff2') format('woff2'),
       url('../fonts/iCielBegum.woff') format('woff'),
       url('../fonts/iCielBegum.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'iCielBegum';
  src: url('../fonts/iCielBegum-Medium.woff2') format('woff2'),
       url('../fonts/iCielBegum-Medium.woff') format('woff'),
       url('../fonts/iCielBegum-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- General Styles --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Lato', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
}

img {
    max-width: 100%;
    height: auto;
}

.section-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px; /* Thêm padding hai bên để nội dung không sát viền trên di động */
    width: 100%;
}



/* ============================================ */
/*            SECTION 2 - TỔNG QUAN             */
/* ============================================ */

.section-title {
    font-family: "Playfair Display", Times, serif; /* Font chữ sang trọng */
    font-size: 42px;
    color: var(--color-7);
    margin-bottom: 20px;
    font-weight: 500;
}

.section-title-divider {
    max-width: 270px;margin: 0 auto; height: 2px;width: 100%;background-color: #E0E0E0;
    margin-bottom: 60px;
}
.section-title-divider div {
    height: 2px;width: 50%;background-color: #454545;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }
}



/* --- Hiệu ứng xuất hiện khi cuộn trang --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}



/* ============================================ */
/*             SECTION 4 - VỊ TRÍ               */
/* ============================================ */
.location-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

.location-section .section-inner {
    position: relative;
    z-index: 2;
}

.location-section .section-title {
    text-align: center;
}
.location-section .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.location-container {
    display: grid;
    align-items: center;
    gap: 40px; /* Khoảng cách giữa 2 cột */
    
    /* 
      Định nghĩa các cột của lưới để căn chỉnh nội dung không đối xứng:
      - Cột 1 (trái) và 4 (phải): 1fr, chiếm không gian thừa để căn giữa nội dung.
      - Cột 2: Rộng 36% của container chính (1440px), dành cho cột nội dung bên trái.
      - Cột 3: Rộng 64% của container chính (1440px), dành cho cột nội dung bên phải.
      - minmax(0, ...) đảm bảo cột co giãn linh hoạt mà không bị tràn.
    */
    grid-template-columns: 1fr minmax(0, calc(1440px * 0.36)) minmax(0, calc(1440px * 0.64)) 1fr;
    margin-top: 60px;
}

/* Đặt cột trái vào cột thứ 2 của lưới */
.location-column-left {
    grid-column: 2;
}

/* Bắt đầu từ cột 3 và kéo dài hết sang phải (bao gồm cột 4) */
.location-column-right {
    grid-column: 3 / span 2;
}

.location-image-box {
    margin-bottom: 0;
    background-color: #fff;
}

.location-image-box img {
    width: 100%;
    display: block;
}

.location-text-content {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center; /* Căn các mục ở giữa theo chiều dọc */
    gap: 30px; /* Khoảng cách giữa tiêu đề và đoạn văn */
}

.location-sub-title {
    font-family: "iCielBegum", "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
    color: #454545;
    line-height: 1.2;
    text-transform: uppercase;
    flex: 0 0 35%; /* Cho tiêu đề chiếm chiều rộng cố định, không co giãn */
    margin: 0;
}

.location-text-content p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #454545;
    line-height: 1.4;
    margin: 0;
    flex: 1; /* Để đoạn văn chiếm hết không gian còn lại */
}

@media (max-width: 768px) {
    .location-text-content {
        flex-direction: column; /* Chuyển về layout cột */
        gap: 20px;
        align-items: flex-start; /* Căn lề trái */
        text-align: left;
    }

    .location-sub-title {
        flex-basis: auto; /* Reset chiều rộng của tiêu đề */
    }
}

/* --- Style cho hộp văn bản bên trái --- */
.location-text-content1 {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.location-sub-title1 {
    font-family: "iCielBegum", "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--color-7);
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
    position: relative;     /* Cần thiết để định vị cho đường gạch ngang của pseudo-element */
    padding-bottom: 20px;
}

/* Tạo đường gạch ngang bên dưới tiêu đề */
.location-sub-title1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 1px;
    background-color: #c5c5c5;
}

.location-text-content1 p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
    margin: 0;
    padding-top: 20px;      /* Tạo khoảng cách với đường gạch ngang ở trên */
}

/* --- Responsive cho Section 4 --- */
@media (max-width: 992px) {
    /* Trên tablet, chuyển về layout 1 cột đơn giản */
    .location-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    /* Reset vị trí trên lưới */
    .location-column-left,
    .location-column-right {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 80px 0;
    }
    .location-sub-title,
    .location-sub-title1 {
        font-size: 22px;
    }
    .location-text-content p {
        font-size: 15px;
    }
}

/* ============================================ */
/*       SECTION 5 - QUY HOẠCH TỔNG THỂ         */
/* ============================================ */
.master-plan-section {
    position: relative;
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
    text-align: center;
}

.master-plan-section .background-number {
    position: absolute;
    top: 6%;
    left: 20%;
    font-size: 150px;
    line-height: 1;
    color: rgba(65, 64, 66, 0.06);
    z-index: 1;
    user-select: none; /* Ngăn người dùng chọn số nền */
}

.master-plan-section .section-title {
    margin-bottom: 20px;
}
.master-plan-section .section-title::after {
    margin: 15px auto 0 auto;
}

.plan-details-btn {
    display: inline-block;
    border: 1px solid var(--color-1);
    color: var(--color-7);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 50px;
}

.plan-details-btn:hover {
    background-color: var(--color-2);
    border-color: var(--color-2);
    color: #fff;
    transform: translateY(-2px);
}

.master-plan-image-container {
    position: relative;
    margin: 0 auto;
}

.master-plan-map {
    width: 100%;
    display: block;
}

/* ============================================ */
/*          SECTION 6 - 08 LÝ DO CHỌN           */
/* ============================================ */
.reasons-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #f8f8f8;
}

.reasons-section .background-number {
    position: absolute;
    top: 10%;
    left: 20%;
    font-size: 150px;
    line-height: 1;
    color: rgba(65, 64, 66, 0.06);
    z-index: 0;
    user-select: none;
    content: '04';
}

.reasons-section .section-title {
    text-align: center;
}
.reasons-section .section-title::after {
    margin: 15px auto 0 auto;
}
.reasons-section .section-title span {
    font-family: 'iCielBegum', 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--color-2);
    display: block;
    margin-top: 5px;
}

.reasons-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* Cần thiết để tạo hiệu ứng trượt và ẩn các phần tử ngoài rìa */
    padding: 20px 0; /* Thêm padding để bóng đổ không bị cắt */
}

.reasons-slider-wrapper {
    display: flex;
    align-items: center; 
}

.reason-card {
    flex: 0 0 350px;
    width: 350px;
    margin: 0 15px; /* Khoảng cách giữa các card */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: box-shadow 0.5s ease;
}

/* Swiper Coverflow effect sẽ xử lý hiệu ứng transform và opacity,
   chúng ta chỉ cần tăng box-shadow để làm slide active nổi bật hơn */
.reason-card.swiper-slide-active {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.reason-card-image {
    height: 220px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
}

.reason-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.reason-card:hover .reason-card-image img {
    transform: scale(1.05);
}

.reason-card-content {
    padding: 25px 30px;
}

.reason-card-content h3 {
    font-family: "iCielBegum", "Times New Roman", serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-7);
    text-transform: uppercase;
    margin: 0 0 10px 0;
}
/* Dấu gạch ngang dưới tiêu đề card */
.reason-card-content h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-2);
    margin-top: 10px;
}

.reason-card-content p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding-top: 10px;
}

/* Nút điều hướng */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10; /* Đảm bảo nút nằm trên các slide */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-7);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.slider-arrow:hover {
    background-color: var(--color-2);
    border-color: var(--color-2);
    color: white;
}
.slider-arrow.prev {
    left: 20px;
}
.slider-arrow.next {
    right: 20px;
}

.reasons-slider-container .swiper-pagination {
    display: none; /* Ẩn pagination mặc định nếu không dùng */
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: auto !important; /* Ghi đè style của Swiper */
}

.reasons-slider-container .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    opacity: 1;
    transition: background-color 0.3s ease;
    margin: 0 5px !important;
}

.reasons-slider-container .swiper-pagination-bullet-active {
    background-color: var(--color-2);
}

.reasons-slider-container .swiper-button-next:after, .reasons-slider-container .swiper-button-prev:after {
    font-size: 32px;
}

@media (max-width: 768px) {
    .reason-card {
        flex: 0 0 290px;
        width: 290px;
        margin: 0 10px;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .slider-arrow.prev {
        left: 5px;
    }
    .slider-arrow.next {
        right: 5px;
    }
}

/* ============================================ */
/*           SECTION 7 - PHÂN KHU              */
/* ============================================ */
.sub-zones-section {
    position: relative;
    padding: 0;
    background-color: #ffffff;
    overflow: hidden;
}

.sub-zones-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}
.sub-zones-section .section-title::after {
    margin: 15px auto 0 auto;
}
.sub-zones-section .section-title span {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 10px;
    text-transform: none;
    letter-spacing: 0;
}


/* --- Tùy chỉnh Swiper cho Carousel Phân khu --- */
#subZonesCarousel {
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

#subZonesCarousel .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 2216 / 1119;
    object-fit: cover;
    display: block;
}

/* Container chứa các chấm tròn */
#subZonesCarousel .carousel-indicators {
    position: absolute;
    right: 40px;
    bottom: 40px;
    left: auto;
    z-index: 10; /* Đảm bảo nằm trên ảnh */
    margin: 0;
    padding: 10px 18px;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Element pagination của Swiper bên trong container */
#subZonesCarousel .swiper-pagination {
    position: static; /* Bỏ định vị tuyệt đối mặc định của Swiper */
    width: auto;
    display: flex;
}

/* Từng chấm tròn (bullet) của Swiper */
#subZonesCarousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #999; /* Màu chấm không active */
    opacity: 1;
    margin: 0 5px !important; /* Ghi đè margin mặc định của Swiper */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#subZonesCarousel .swiper-pagination-bullet-active {
    background-color: #ffffff; /* Màu chấm active */
}

/* Tùy chỉnh nút mũi tên (Controls) */
#subZonesCarousel .carousel-control-prev,
#subZonesCarousel .carousel-control-next {
    width: 8%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
    border: none;
    background: transparent;
}

#subZonesCarousel .carousel-control-prev:hover,
#subZonesCarousel .carousel-control-next:hover {
    opacity: 1;
}

#subZonesCarousel .carousel-control-prev-icon,
#subZonesCarousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 60% 60%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Ẩn mũi tên điều hướng mặc định của Swiper */
#subZonesCarousel .swiper-button-next::after,
#subZonesCarousel .swiper-button-prev::after {
    display: none;
}

/* --- Responsive cho Carousel --- */
@media (max-width: 768px) {
    #subZonesCarousel .carousel-indicators {
        right: 20px;
        bottom: 20px;
        padding: 8px 15px;
    }

    #subZonesCarousel .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px !important;
    }
}

/* ============================================ */
/*          SECTION 8 - PHÂN KHU DỰ ÁN          */
/* ============================================ */
.sub-zones-map-section {
    position: relative;
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
    text-align: center;
}

.sub-zones-map-section .background-number {
    position: absolute;
    top: 10%;
    left: 20%;
    font-size: 150px;
    line-height: 1;
    color: rgba(65, 64, 66, 0.06);
    z-index: 1;
    user-select: none;
}

.sub-zones-map-section .section-title {
    margin-bottom: 20px;
}
.sub-zones-map-section .section-title::after {
    margin: 15px auto 0 auto;
}

/* Container cho các nút bấm modal */
.modal-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Khoảng cách giữa 2 nút */
    flex-wrap: wrap; /* Cho phép xuống dòng trên màn hình nhỏ */
    margin-bottom: 50px; /* Khoảng cách từ nút tới ảnh */
}

/* ============================================ */
/*           SECTION 9 - LIÊN HỆ                */
/* ============================================ */
.contact-footer-section {
    position: relative;
    padding: 120px 0 180px 0;
    background: url("../img/v2/bg2.png") no-repeat center center;
    background-size: cover;
    text-align: center;
    overflow: hidden;
}

.contact-footer-section .section-inner {
    position: static; /* Đặt lại để nav con có thể định vị theo section cha */
}

.contact-title {
    font-family: 'iCielBegum', 'Times New Roman', serif;
    font-size: 42px;
    color: var(--color-7);
    margin-bottom: 20px;
    font-weight: 500;
}

.title-divider {
    width: 100%;
    max-width: 300px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 20px auto 50px auto;
    position: relative;
}

.title-divider span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 35%; /* Độ dài của phần gạch đậm */
    background-color: var(--color-7);
}

.contact-form-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-7);
}

.contact-form-wrapper input {
    width: 100%;
    border: none;
    outline: none;
    background-color: transparent;
    padding: 15px 5px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    color: var(--color-7);
}

.contact-form-wrapper input::placeholder {
    color: #888;
    opacity: 1;
}

.contact-form-wrapper button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-7);
    font-size: 20px;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.contact-form-wrapper button:hover {
    color: var(--color-2);
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.social-icons a {
    display: inline-block;
}

.social-icons img {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-icons a:hover img {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bottom-nav {
    position: absolute;
    bottom: 30px; /* Vị trí cách đáy section */
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* Dùng padding để căn lề */
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom-nav a {
    text-decoration: none;
    color: #555;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-bottom-nav a:hover {
    color: var(--color-2);
}

/* --- Responsive cho Section 9 --- */
@media (max-width: 768px) {
    .contact-footer-section {
        padding: 80px 15px 200px 15px; /* Tăng padding dưới để nav không bị đè */
    }

    .contact-title {
        font-size: 34px;
    }
    
    .footer-bottom-nav {
        flex-direction: column; /* Chuyển thành cột trên mobile */
        gap: 15px;
        bottom: 25px;
    }
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 30px;
    }
}

/* ============================================ */
/*      CSS CHO HIỆU ỨNG NHẤP NHÁY ẢNH         */
/* ============================================ */

.master-plan-link-wrapper {
    display: block;
    text-decoration: none; /* Bỏ gạch chân của link */
    position: relative;
}

.sub-zones-map-section .master-plan-image-container {
    position: relative; /* Bắt buộc để các ảnh con có thể định vị tuyệt đối bên trong */
    cursor: pointer;
    line-height: 0; /* Đảm bảo container có chiều cao đúng bằng ảnh của nó */
}

/* Định vị 2 ảnh chồng lên nhau */
.sub-zones-map-section .master-plan-image-container .master-plan-map {
    transition: opacity 0.3s ease;
}

/* Ảnh nền, không có hiệu ứng, làm nền và định hình cho container */
.sub-zones-map-section .master-plan-image-container .base-image {
    position: relative;
    z-index: 1;
}

/* Ảnh phát sáng sẽ nằm đè lên trên và nhấp nháy */
.sub-zones-map-section .master-plan-image-container .glow-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    animation: pulse-glow 3s ease-in-out infinite; /* Áp dụng animation nhấp nháy */
}

/* Animation nhấp nháy (từ mờ sang rõ và ngược lại) */
@keyframes pulse-glow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Style cho chú thích */
.sub-zones-map-section .master-plan-image-container span {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; /* Nằm trên cả 2 ảnh */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    white-space: nowrap; /* Đảm bảo không bị xuống dòng */
}

/* ============================================ */
/*           CSS CHO KHU VỰC CHƯA DÙNG          */
/* ============================================ */
/* Phần này có thể là khu vực thử nghiệm hoặc chưa hoàn thiện, giữ lại để tham khảo */
.detailModalButton {
    position: absolute;
    width: 56%;
    height: 49%;
    top: 30%;
    right: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================ */
/*    CSS CHO THÔNG BÁO FORM LIÊN HỆ            */
/* ============================================ */
#form-status-message {
    padding: 10px 15px;
    margin-top: 20px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    font-size: 15px;
    text-align: center;
    border: 1px solid transparent;
    display: none; /* Mặc định ẩn */
    transition: opacity 0.3s ease;
}

#form-status-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-color: #a5d6a7;
    display: block; /* Hiển thị khi có class */
}

#form-status-message.error {
    background-color: #ffebee;
    color: #c62828;
    border-color: #ef9a9a;
    display: block; /* Hiển thị khi có class */
}

/* Style cho nút bấm khi bị vô hiệu hóa */
.contact-form-wrapper button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* ========================================================== */
/*   STYLE ĐIỀU HƯỚNG SLIDER TỔNG QUAN                       */
/* ========================================================== */

.custom-swiper-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Đẩy về bên phải */
    margin-top: 25px;
    padding-right: 20px;
}

/* Ghi đè style mặc định của các nút mũi tên */
.overview-gallery .swiper-button-next,
.overview-gallery .swiper-button-prev {
    position: static; /* Bỏ định vị tuyệt đối */
    width: 40px;
    height: 40px;
    margin: 0 10px;
    background-color: transparent;
    border: 1px solid #ccc;
    color: var(--color-7);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.overview-gallery .swiper-button-next:hover,
.overview-gallery .swiper-button-prev:hover {
    background-color: var(--color-2);
    border-color: var(--color-2);
    color: white;
}

/* Thu nhỏ kích thước icon mũi tên bên trong */
.overview-gallery .swiper-button-next::after,
.overview-gallery .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

/* Ghi đè style mặc định của phân trang */
.overview-gallery .swiper-pagination {
    position: static; /* Bỏ định vị tuyệt đối */
    width: auto;
    font-size: 16px;
    font-weight: 500;
    color: #555;
}


/* ================================================== */
/*                CSS CHO HERO SECTION                */
/* ================================================== */

.hero-section-v4 {
    position: relative;
    height: 100vh;
    min-height: 650px;
    width: 100%;
    overflow: hidden;
    color: #ffffff;
    background: url('../img/v4/header-bg.jpg') no-repeat center center/cover;
}

/* Lớp phủ gradient từ trái sang để làm rõ menu và nội dung */
.hero-overlay-v4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
}

.hero-content-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Logo góc trên trái */
.hero-logo-v4 {
    position: absolute;
    top: 40px;
    left: 50px;
}
.hero-logo-v4 img {
    height: 50px;
    width: auto;
}

/* Nút CTA góc trên phải */
.hero-cta-button-v4 {
    position: absolute;
    top: 40px;
    right: 50px;
    background-color: #ffffff;
    color: var(--color-7);
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-cta-button-v4:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--color-7);
}

/* Menu dọc bên trái */
.hero-vertical-nav-v4 {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
}
.hero-vertical-nav-v4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hero-vertical-nav-v4 li {
    margin-bottom: 20px;
}
.hero-vertical-nav-v4 a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s, font-weight 0.3s;
    text-transform: uppercase;
}
.hero-vertical-nav-v4 a:hover,
.hero-vertical-nav-v4 a.active {
    color: #ffffff;
    font-weight: 700;
}

/* Chỉ báo "Scroll" góc dưới trái */
.hero-scroll-indicator-v4 {
    position: absolute;
    bottom: 40px;
    left: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    gap: 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}
.hero-scroll-indicator-v4 span {
    writing-mode: vertical-rl; /* Xoay chữ dọc */
    transform: rotate(180deg);
}

/* ================================================== */
/*   TÙY CHỈNH KHOẢNG CÁCH CHO MÀN HÌNH RẤT LỚN      */
/* ================================================== */
@media (min-width: 1400px) {
    /* 
      Áp dụng cho màn hình rộng từ 1400px trở lên.
      Tăng khoảng cách lề cho các khu vực nội dung chính.
    */
    .section-inner {
        padding-left: 180px;
        padding-right: 180px;
    }

    /* 
      Điều chỉnh lại vị trí các phần tử trong hero section
      để chúng thẳng hàng với lề mới.
    */
    .hero-logo-v4,
    .hero-vertical-nav-v4,
    .hero-scroll-indicator-v4 {
        left: 180px;
    }
    
    .hero-cta-button-v4 {
        right: 180px;
    }
}

/* --- Responsive cho Hero Section --- */
@media (max-width: 768px) {
    .hero-logo-v4 {
        left: 20px;
        top: 25px;
    }
    .hero-logo-v4 img {
        height: 40px;
    }
    .hero-cta-button-v4 {
        right: 20px;
        top: 25px;
        padding: 8px 15px;
        font-size: 12px;
    }
    .hero-vertical-nav-v4 {
        left: 20px;
    }
    .hero-vertical-nav-v4 a {
        font-size: 12px;
    }
    .hero-scroll-indicator-v4 {
        left: 25px;
        bottom: 25px;
    }
}

@media (max-width: 480px) {
    /* Trên màn hình rất nhỏ, ẩn menu dọc và scroll indicator */
    .hero-vertical-nav-v4,
    .hero-scroll-indicator-v4 {
        display: none;
    }
}

/* ============================================================== */
/*                 CSS CHO SECTION TỔNG QUAN                      */
/* ============================================================== */
.overview-section-new {
    padding: 100px 0;
    background-color: #fdfdfd; 
}

.overview-section-new .section-title {
    text-align: center;
}

/* Lưới thông tin phía trên */
.overview-section-new .overview-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px 50px; 
    max-width: 1100px;
    margin: 0 auto 50px auto;
    text-align: left;
}

.overview-section-new .info-item-new {
    display: flex;
    flex-direction: column;
}

.overview-section-new .info-label-new {
    font-size: 13px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: 'Lato', sans-serif;
}

.overview-section-new .info-value-new {
    font-size: 16px;
    color: var(--color-7);
    line-height: 1.5;
}

/* Gallery chính */
.overview-section-new .overview-gallery-new {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Lớp phủ thông số bên trái */
.overview-section-new .stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40%; 
    z-index: 5;
    color: #ffffff;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none; /* Cho phép click xuyên qua lớp phủ */
    /*
      Sử dụng gradient để tạo hiệu ứng mờ dần từ trái sang phải,
      giúp chữ nổi bật trên nền ảnh mà không cần một khối màu đặc.
    */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.overview-section-new .stat-point {
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.overview-section-new .stat-point.no-border {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.overview-section-new .stat-number {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
}

.overview-section-new .stat-desc {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0 0 0;
}

/* Slider */
.overview-section-new #overview-slider-new.swiper {
    width: 100%;
    aspect-ratio: 16 / 9; 
}

.overview-section-new #overview-slider-new .swiper-slide img {
    width: 100%;
    object-fit: cover;
}

/* Thanh điều hướng tùy chỉnh */
.overview-section-new .custom-swiper-navigation-new {
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 0;
    padding: 0;
}

.overview-section-new .swiper-button-prev-new,
.overview-section-new .swiper-button-next-new {
    cursor: pointer;
    color: var(--color-7);
    font-size: 16px;
    transition: color 0.3s ease;
}

.overview-section-new .swiper-button-prev-new:hover,
.overview-section-new .swiper-button-next-new:hover {
    color: var(--color-2);
}

.overview-section-new .swiper-pagination-new {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-7);
    padding: 0 15px;
    font-family: 'Lato', sans-serif;
}
.overview-section-new .swiper-pagination-new .swiper-pagination-current {
    font-weight: 700;
}


/* --- Responsive cho Section Tổng quan --- */
@media (max-width: 992px) {
    .overview-section-new .overview-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .overview-section-new .stats-overlay {
        width: 220px;
        padding: 25px 20px;
    }
    .overview-section-new .stat-number {
        font-size: 18px;
    }
    .overview-section-new .stat-desc {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .overview-section-new .overview-info-grid {
        grid-template-columns: 1fr;
    }
    .overview-section-new .stats-overlay {
        position: static;
        width: 100%;
        order: 2; /* Đẩy xuống dưới slider */
        text-align: center;
        backdrop-filter: none;
        background-color: var(--color-7);
        padding: 30px 20px;
    }
    .overview-section-new .overview-gallery-new {
        display: flex;
        flex-direction: column;
    }
    .overview-section-new #overview-slider-new.swiper {
        order: 1; /* Đẩy lên trên lớp phủ */
        aspect-ratio: 16 / 10;
    }
}

/* ================================================== */
/*             CSS CHO SECTION CẢM HỨNG               */
/* ================================================== */

.inspiration-section-v4 {
    padding: 20px 0;
    background-color: #fdfdfd;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.inspiration-container-v4 {
    display: flex;
    align-items: center;
    gap: 40px;
}

.inspiration-text-column-v4 {
    flex: 0 0 45%;
    max-width: 45%;
}

.inspiration-title-image-v4 {
    margin-bottom: 25px;
}
.inspiration-title-image-v4 img {
    max-width: 309px;
    height: auto;
}

.inspiration-sub-heading-v4 {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.inspiration-main-concept-v4 {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-2);
    line-height: 1.4;
    margin: 10px 0 20px 0;
}

.inspiration-divider-v4 {
    margin: 10px auto;
    width: 60px;
    height: 1px;
    background-color: #ccc;
    margin-bottom: 20px;
}

.inspiration-description-v4 p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #454545;
    line-height: 1.4;
    margin: 0 0 1.2em 0;
}
.inspiration-description-v4 p:last-child {
    margin-bottom: 0;
}

.inspiration-image-column-v4 {
    flex: 1;
}
.inspiration-image-column-v4 img {
    width: 1000px;
    max-width: 1000px;
    display: block;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .inspiration-container-v4 {
        flex-direction: column;
        gap: 50px;
    }
    .inspiration-text-column-v4,
    .inspiration-image-column-v4 {
        max-width: 100%;
        flex-basis: auto;
        text-align: center;
    }
    .inspiration-divider-v4 {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .inspiration-section-v4 {
        padding: 80px 0;
    }
}

/* ================================================== */
/*             CSS CHO SECTION KHOÁNG NÓNG            */
/* ================================================== */

.khoang-nong-section {
    margin-top: 60px;
    padding: 20px 0;
    background-color: #fdfdfd; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.khoang-nong-container {
    display: flex;
    align-items: center;
    gap: 40px; 
}

.khoang-nong-image-column {
    flex: 0 0 55%;
    max-width: 55%;
}

.khoang-nong-image-column img {
    width: 100%;
    height: auto;
    display: block;
}

.khoang-nong-text-column {
    flex: 1;
    padding-right: 20px; 
    padding-left: 20px;
    max-width: 440px;
}

.khoang-nong-title-image img {
    max-width: 347px;
    height: auto;
    margin-bottom: 20px;
}

.khoang-nong-divider {
    width: 80px;
    height: 1px;
    background-color: #ccc;
    margin: 15px auto 25px auto;
}

.khoang-nong-description p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #454545;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 992px) {
    .khoang-nong-container {
        flex-direction: column;
        gap: 0;
    }
    
    .khoang-nong-image-column,
    .khoang-nong-text-column {
        max-width: 100%;
        flex-basis: auto;
    }

    .khoang-nong-text-column {
        padding: 60px 30px; 
        text-align: center;
    }
    
    .khoang-nong-title-image img {
        margin-left: auto;
        margin-right: auto;
    }

    .khoang-nong-divider {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================================================== */
/*   CSS CHO SWIPER TRONG MODAL HIỆN TRẠNG            */
/* ================================================== */

#hienTrangSwiper {
    width: 100%;
    height: 100%;
}

#hienTrangSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111;
}

#hienTrangSwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh; /* Giới hạn chiều cao tối đa của ảnh */
    object-fit: contain; /* Hiển thị toàn bộ ảnh không bị cắt xén */
}

#hienTrangSwiper .swiper-button-next,
#hienTrangSwiper .swiper-button-prev {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

#hienTrangSwiper .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

#hienTrangSwiper .swiper-pagination-bullet-active {
    background-color: #ffffff;
}

#hienTrangModal .modal-header .btn-close {
    z-index: 20; /* Đảm bảo nút đóng luôn hiển thị trên cùng */
    filter: invert(1) grayscale(100%) brightness(200%); /* Đổi màu nút close thành trắng */
}

#hienTrangModal .modal-content {
    background-color: transparent;
}