/* --- About Intro Section --- */
#about-intro {
    padding-top: 150px; /* Thêm khoảng đệm trên */
    padding-bottom: 4rem;
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
}

/* --- Booking Section --- */
#booking-section {
    background-color: #111; /* Màu nền tối hơn một chút */
    padding: 6rem 5%;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Chia 2 cột: Giờ mở cửa | Form */
    gap: 4rem;
    align-items: flex-start;
}

/* --- Opening Hours --- */
.opening-hours h2, .reservation-form h2 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.opening-hours ul {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.opening-hours ul li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
    font-size: 1rem;
}

.opening-hours ul li span:first-child {
    font-weight: bold;
    margin-right: 1rem;
}

.contact-box {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid #444;
    text-align: center;
}

.contact-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
}

/* --- Reservation Form --- */
.reservation-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.reservation-form input,
.reservation-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: #2b2b2b;
    border: 1px solid #444;
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 1rem;
}

.reservation-form input:focus,
.reservation-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.reservation-form .btn {
    align-self: flex-start; /* Nút bấm căn lề trái */
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.reservation-form .btn:hover {
    background-color: #a00;
    border-color: #a00;
    color: var(--color-light);
}

/* Container cho phép cuộn ngang */
.menu-scroll-container {
    overflow-x: auto; /* CHỈ HIỆN THANH CUỘN KHI CẦN */
    padding-bottom: 1.5rem; /* Tăng khoảng trống cho thanh cuộn */
    position: relative;
    z-index: 1;
}

/* Tùy chỉnh thanh cuộn */
.menu-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.menu-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.menu-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--color-light);
    border-radius: 4px;
}

/* THAY ĐỔI CHÍNH NẰM Ở ĐÂY */
.menu-categories {
    display: grid;
    /* Tạo lưới có 6 cột bằng nhau */
    grid-template-columns: repeat(6, 1fr); 
    grid-auto-flow: column; /* Các mục mới sẽ tạo cột mới */
    gap: 2rem;
    min-width: max-content; /* Đảm bảo container đủ rộng để chứa tất cả các mục */
}

/* Phong cách cho các mục menu */
.category {
    background-color: rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    width: 180px; /* Chiều rộng cố định cho mỗi mục */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.category:hover, .category.active {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--color-light);
    transform: translateY(-10px);
}

/* .category img {
    height: 100px;
    margin-bottom: 1rem;
    object-fit: contain;
} */

/* Tìm và thay thế quy tắc .category img cũ bằng đoạn này */
.category .menu-icon {
    height: 100px;
    width: 100px;
    margin-bottom: 1rem;
    color: var(--color-light); /* Màu của icon */
}

/* Các quy tắc CSS khác cho #menu giữ nguyên */

.category span {
    color: var(--color-light);
    font-weight: normal;
    font-style: italic;
    font-size: 1rem;
}

/* Thanh indicator */
.menu-indicator-bar {
    /* Thanh này có thể không cần thiết nữa khi đã có scrollbar, 
       nhưng bạn có thể giữ lại nếu muốn */
    display: none; /* Tạm thời ẩn đi để giao diện gọn hơn */
}

/* --- Responsive --- */
@media (max-width: 992px) {
    #about-intro {
        padding-top: 120px;
    }
    .booking-container {
        grid-template-columns: 1fr; /* Chuyển về 1 cột */
    }
    .opening-hours h2, .reservation-form h2 {
        text-align: center; /* Căn giữa lại tiêu đề */
    }
    .reservation-form .btn {
        align-self: center; /* Căn giữa lại nút bấm */
    }
}

@media (max-width: 576px) {
    .about-content h1 {
        font-size: 2.5rem;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row input:first-child {
        margin-bottom: 1.5rem;
    }
}

/* --- Booking Form Notice Effect --- */

/* Container của form cần có position: relative */
.reservation-form {
    position: relative;
}

/* Lớp phủ cho thông báo */
.booking-notice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.85); /* Nền đen mờ */
    backdrop-filter: blur(5px); /* Hiệu ứng làm mờ nền phía sau */
    z-index: 10;
    
    /* Ẩn đi lúc đầu */
    opacity: 0;
    visibility: hidden;

    /* Hiệu ứng chuyển động */
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;

    /* Căn giữa nội dung thông báo */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 5px; /* Bo góc khớp với form */
}

/* Lớp .visible để kích hoạt hiển thị */
.booking-notice-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Định dạng nội dung bên trong thông báo */
.booking-notice-overlay .notice-content {
    color: #fff;
}

.booking-notice-overlay .notice-content i {
    font-size: 2.5rem;
    color: #f3c28c; /* Màu vàng nhạt */
    margin-bottom: 1rem;
}

.booking-notice-overlay .notice-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.booking-notice-overlay .notice-content p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.booking-notice-overlay .notice-content .notice-phone {
    display: inline-block;
    background-color: #f3c28c;
    color: #1e1e1e;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.booking-notice-overlay .notice-content .notice-phone:hover {
    background-color: #fff;
}