
/* Color Palette */
:root {
    --primary-yellow: #FFD700; /* Vàng tươi */
    --primary-blue: #4A90E2;   /* Xanh dương */
    --text-dark: #333;
    --text-light: #666;
    --bg-light-gray: #f8f8f8;
    --border-gray: #ddd;
    --card-bg: #fff;
    --menu-border: #eee; /* Light border for menu items */
    --form-border: #ced4da; /* Default Bootstrap form border */
}

section {
    position: relative; /* Đảm bảo các section tuân theo dòng chảy bình thường của tài liệu */
    z-index: 1; /* Thiết lập z-index cơ bản */
}

body {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff; /* Default white background */
}

/* General Styles */
.bg-light-gray {
    background-color: var(--bg-light-gray) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}

.mona-logo {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5rem; /* Adjust as needed */
    color: var(--primary-blue); /* Using dark text for logo */
}

.section-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem; /* Adjust as needed */
    color: var(--primary-blue);
    width: 100%;
  text-align: center;
}

.subsection-title { /* New style for Sứ mệnh, Tầm nhìn, Contact forms */
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue); /* Using blue for subsection titles */
    margin-bottom: 1rem;
}

.welcome-text {
    font-size: 0.9rem;
    color: var(--text-light);
    position: relative;
    padding-left: 15px; /* Space for the divider line */
}

.welcome-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 70%;
    background-color: var(--primary-yellow);
}

p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ============================================ */
/* HERO SECTION STYLES */
/* ============================================ */

#hero-section {
    height: 100vh; /* Chiều cao chiếm toàn bộ màn hình */
    position: relative;
    color: #fff;
}

#heroCarousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh che phủ toàn bộ, không bị méo */
    filter: brightness(0.8); /* Làm ảnh tối đi một chút để chữ nổi bật */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lớp phủ màu đen bán trong suốt */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-text {
    z-index: 10;
    padding: 20px;
}

.hero-text h1 {
    font-family: 'Times New Roman', Times, serif; /* Sử dụng font chữ nghệ thuật */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Đổ bóng cho chữ */
    color: #fff;
}

.hero-text .lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.btn-hero {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-hero:hover {
    background-color: #fff;
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Tùy chỉnh Indicators (dấu chấm) */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin: 0 8px;
}

.carousel-indicators .active {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

/* Tùy chỉnh Controls (mũi tên) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Header Specifics */
header {
    border-bottom: 1px solid var(--border-gray);
}

/* ============================================ */
/* Custom Styles for About Intro Section        */
/* ============================================ */

/* Định dạng cho khung card chứa ảnh logo */
.about-image-card {
    background-color: #fff;
    padding: 1rem; /* Tạo khoảng trống bên trong card */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Đổ bóng mềm mại */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-left: 50px;
    /* border: 1px solid #e6c200; */
    
}

/* Căn chỉnh lại tiêu đề "Giới thiệu" sang trái */
#about-intro .subsection-title {
    text-align: left;
}

/* Định dạng cho tiêu đề "Điểm nổi bật" */
.highlights-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Định dạng cho danh sách điểm nổi bật */
.highlights-list {
    list-style-type: none;
    padding-left: 0;
    text-align: justify;
}

.highlights-list li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.highlights-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

/* Xóa bỏ quy tắc cũ có thể gây xung đột */
#about-intro img {
    height: auto;
    max-height: none;
}

/* ============================================ */
/* Vision, Mission, Values Section Styles       */
/* ============================================ */

#company-values {
    /* background-color: #222;  */
    background-color: #fff;
}

.image-collage {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.collage-item {
    width: 50%;
    height: 280px;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}
.collage-img:hover {
    filter: brightness(0.8);
}

.content-block-dark {
    /* background-color: #222; */
    background-color: #f8f8f8;
    color: #333;
    padding: 4rem 3rem; /* Tăng khoảng đệm trên dưới */
    display: flex;
    flex-direction: column;
    /* justify-content: center; <-- Dòng này đã được xóa đi */
    height: 100%;
    
}

/* .content-block-dark .pre-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.content-block-dark .pre-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-yellow);
    margin-top: 8px;
} */

.content-block-dark .main-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;
    color: #4A90E2;
    margin-bottom: 2rem;
}

/* Custom Tab Styling */
.content-block-dark .nav-tabs {
    border-bottom: 1px solid rgba(37, 37, 37, 0.09);
    margin: 0 auto;
}

.content-block-dark .nav-tabs .nav-link {
    background: transparent;
    border: none;
    /* color: rgba(255, 255, 255, 0.7); */
    color: black;
    font-weight: 600;
    padding: 0.75rem 0;
    margin-right: 2rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0;
    
}

.content-block-dark .nav-tabs .nav-link:hover {
    /* color: #fff; */
    color: #4A90E2;
}

.content-block-dark .nav-tabs .nav-link.active {
    background: transparent;
    color: #4A90E2;
    border-bottom-color: var(--primary-yellow);
}

.content-block-dark .tab-content {
    padding-top: 2rem;
    /* color: #ccc; */
    color: var(--text-light);
    font-size: 1rem; /* Tăng kích thước chữ */
    line-height: 1.7; /* Tăng khoảng cách giữa các dòng cho dễ đọc */
    text-align: justify;
}

.content-block-dark .custom-list {
    list-style: none;
    padding-left: 0;
    /* color: #333; */
    color: var(--text-light);
}

.content-block-dark .custom-list li {
    padding-left: 1.5em;
    text-indent: -1.5em;
    margin-bottom: 0.75rem;
}

.content-block-dark .custom-list li::before {
    content: '✓';
    color: var(--primary-yellow);
    margin-right: 0.7em;
}

.btn-details {
    background-color: rgba(255, 255, 255, 0.9);
    color: #222;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    align-self: flex-start; /* Align button to the left */
}

.btn-details:hover {
    background-color: #fff;
    color: #000;
}

/* Responsive adjustments for the new section */
@media (max-width: 991.98px) {
    .collage-item {
        height: 250px; /* Fixed height on smaller screens */
    }
    .content-block-dark {
        padding: 2rem;
    }
}

/* Room Types Section */
#room-types{
    margin-top: 30px;
}
.room-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.room-card .card-img-top {
    height: 350px;
    object-fit: cover;
}

.room-card .card-body {
    padding: 1.5rem;
    background-color: var(--card-bg);
}

.room-card .card-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.room-card .price-info {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 0.2rem;
}

.room-card .capacity-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-show-all {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-show-all:hover {
    background-color: #e6c200; /* Slightly darker yellow */
    transform: translateY(-2px);
    color: var(--text-dark);
}

/* amenities */
/* Custom Styling for 5-Item Amenities Section */
#amenities{
    /* height: 500px; */
    height: auto; /* Ghi đè bất kỳ chiều cao cố định nào, cho phép section tự dãn ra theo nội dung */
    padding-bottom: 50px; /* Tăng khoảng đệm dưới để tạo khoảng trống với section tiếp theo */
}
.amenity-item-custom {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent; /* Add space for hover effect */
}

.amenity-item-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-bottom-color: var(--primary-yellow); /* Highlight on hover */
}

.amenity-icon-custom {
    font-size: 2.5rem; /* Icon size */
    color: var(--primary-blue);
    margin-bottom: 1rem;
    border: 5px solid #f8f8f8;
    padding: 15px;
    border-radius: 30px;
}

.amenity-title-custom {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ============================================ */
/* Testimonials Section Styles                  */
/* ============================================ */

#testimonials {
    background-color: #fff; /* Nền trắng để làm nổi bật các card */
        margin-bottom: 50px;
        margin-top: 0 !important; /* Dùng !important để đảm bảo quy tắc này được ưu tiên */
    clear: both; /* Đảm bảo section này sẽ bắt đầu sau khi tất cả các element trước đó đã kết thúc */
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--primary-blue);
    opacity: 0.15;
}

.star-rating .fas, .star-rating .far, .star-rating .fa-star-half-alt {
    color: var(--primary-yellow);
    margin-left: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    flex-grow: 1; /* Đẩy phần thông tin tác giả xuống dưới */
    margin-bottom: 1.5rem;
    
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto; /* Căn chỉnh phần tác giả luôn ở dưới cùng */
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--primary-yellow);
}

.author-info .author-name {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.author-info .author-location {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section Specifics */
/* #contact .form-control {
    border: 1px solid var(--form-border);
    border-radius: 5px;
    padding: 0.75rem 1rem;
}

#contact .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25); 
}

#contact label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info .fa-2x {
    color: var(--primary-blue); 
} */

/* ============================================ */
/* Contact Section with Background Image        */
/* ============================================ */

#contact {
    position: relative; /* Bắt buộc để lớp phủ hoạt động */
    background-image: url('/assets/logo/banner1.jpg'); /* THAY ĐỔI: Đường dẫn đến hình ảnh của bạn */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Tạo hiệu ứng parallax scrolling */
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Lớp phủ màu đen mờ */
#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Điều chỉnh độ tối ở đây */
    z-index: 1;
}

/* Đưa nội dung lên trên lớp phủ */
#contact .container {
    position: relative;
    z-index: 2;
}

/* Thay đổi màu sắc của các tiêu đề */
#contact .section-title{
    font-family: 'Dancing Script', cursive;
    font-size: 4rem; /* Adjust as needed */
    color: var(--primary-blue);
    width: 100%;
  text-align: center;
}


#contact .welcome-text,
#contact .subsection-title {
    color: #fff;
}

/* Thay đổi màu đường gạch của welcome-text */
#contact .welcome-text::before {
    background-color: var(--primary-yellow);
}

/* Thay đổi màu sắc của form và thông tin liên hệ */
#contact .contact-container {
    background-color: rgba(255, 255, 255, 0.1); /* Nền form hơi trong suốt */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#contact label,
#contact .contact-info h5,
#contact .contact-info p {
    color: #f1f1f1;
}

#contact .contact-info .fa-2x {
    /* color: var(--primary-yellow); */
    color: var(--primary-blue);
}

/* Thay đổi màu của đường kẻ ngang */
#contact hr {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Giữ nguyên style cho input và button */
#contact .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
}

/* Gallery Section */
.gallery-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistent grid */
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Gallery Modal (Lightbox) */
#galleryModal .modal-content {
    /* background-color: rgba(0, 0, 0, 0.9); */
    background: #f8f8f8;
    border: none;
    color: var(--text-light);
}

#galleryModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#galleryModal .modal-title {
    color: black;
}

#galleryModal .btn-close {
    filter: invert(1); /* White close button */
}

#galleryModal .modal-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#galleryModal #currentGalleryImage {
    max-height: 80vh; /* Limit image height within modal */
    width: auto; /* Adjust width based on height */
    max-width: 100%;
    object-fit: contain;
}

#galleryModal #prevGalleryBtn,
#galleryModal #nextGalleryBtn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

#galleryModal #prevGalleryBtn:hover,
#galleryModal #nextGalleryBtn:hover {
    background-color: #3a7bd5; /* Darker blue on hover */
}

#galleryModal #imageCounter {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 1rem;
    color: rgba(255, 255, 255, 0.7);
}


/* Responsive Adjustments */
@media (max-width: 767.98px) { /* Mobile */
    .mona-logo {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .subsection-title {
        font-size: 1.5rem;
        text-align: center !important; /* Center align titles on mobile */
        
    }
    .welcome-text {
        font-size: 0.8rem;
    }
    p {
        font-size: 0.9rem;
        text-align: center !important; /* Center align paragraphs on mobile */
    }
    /* Hide the second paragraph in about-intro section on mobile */
    #about-intro .col-12:nth-child(2) .col-12:nth-child(2) {
        display: none !important;
    }
    .amenity-description {
        display: none !important; /* Hide descriptions on small screens for cleaner look */
    }
    .amenity-item {
        padding: 1rem;
    }
    .amenity-icon {
        width: 50px;
        height: 50px;
    }
    .amenity-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    /* Reverse order on mobile for mission (content-image becomes image-content) */
    #about-mission .row {
        flex-direction: column-reverse !important;
    }

    /* Menu & Contact container padding */
    .menu-container,
    .contact-container {
        padding: 1.5rem;
    }

    .nav-pills {
        flex-wrap: wrap; /* Allow tabs to wrap on small screens */
    }
    .nav-pills .nav-item {
        margin-bottom: 0.5rem;
    }

    .menu-name {
        font-size: 1.3rem;
    }
    .menu-price {
        font-size: 1.1rem;
    }

    .contact-info .fa-2x {
        font-size: 1.5rem; /* Smaller icons on mobile */
    }
    .contact-info h5 {
        font-size: 1.1rem;
    }
    .contact-info p {
        font-size: 0.85rem;
    }

    .gallery-item img {
        height: 150px; /* Smaller image height for mobile gallery */
    }
}

/* Floating Messenger Button */
.messenger-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0084FF; /* Facebook Messenger blue */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.2s ease;
}

.messenger-float:hover {
    transform: scale(1.1);
    color: white; /* Keep color white on hover */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px; /* Adjust if it overlaps with messenger button */
    right: 20px;
    background-color: var(--primary-blue);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #3a7bd5; /* Slightly darker blue */
    color: white;
}

/* ============================================ */
/* Responsive Adjustments                       */
/* ============================================ */

@media (max-width: 767.98px) {
    /* Giảm padding của card trên mobile để tiết kiệm không gian */
    .testimonial-card {
        padding: 1.5rem;
    }

    /* #testimonials{
        margin-top: 350px;
    } */

    /* Đảm bảo các tiện ích không quá dính vào nhau */
    .amenity-item-custom {
        margin-bottom: 1rem; /* Thêm khoảng cách dưới cho mỗi tiện ích trên mobile */
    }

    /* Có thể bạn muốn giảm kích thước font chữ của tiêu đề section trên mobile */
    .section-title {
        font-size: 2rem; /* Giảm kích thước font cho tiêu đề chính */
    }
}