/* ==========================================================
   1. RESET CSS CƠ BẢN & UTILITIES
   ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================
   2. NAVBAR & HEADER
   ========================================================== */
nav {
    background-color: transparent;
    padding: 15px 130px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    text-decoration: none;
    margin-left: 165px; 
}

.logo img {
    height: 145px; 
    width: auto;
    display: block;
}

.menu-links {
    display: flex;
}

.menu-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 31px;
    font-family: 'Dancing Script', cursive;
    transition: color 0.3s ease;
    margin-right: 50px; 
}

.menu-links a:hover {
    color: #ffc107;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-logo {
    display: none;
    
}

/* ==========================================================
   3. HERO SLIDER
   ========================================================== */
.mySwiper {
    width: 100%;
    height: 450px;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.price-tag {
    background: #000;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    font-size: 24px;
    border-radius: 5px;
    font-weight: bold;
}

/* ==========================================================
   3.5. WELCOME SECTION
   ========================================================== */
.welcome-section {
    padding: 60px 0 40px;
    background-color: #f9f9f9;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.welcome-text {
    flex: 1;
}

.welcome-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.welcome-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.welcome-image:hover img {
    transform: scale(1.05);
}

.welcomeSwiper {
    width: 100%;
    height: 100%;
}
.welcomeSwiper .swiper-pagination-bullet-active {
    background-color: #e31837;
}

/* ==========================================================
   4. MENU SECTION
   ========================================================== */
.menu-section {
    padding: 10px 20px 50px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 0;
}

.section-title {
    font-size: 2.5rem;
    color: #e31837;
    margin-bottom: 30px;
    font-family: 'Dancing Script', cursive;
    text-align: center;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-item {
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s;
    opacity: 0.7;
}

.tab-item:hover, .tab-item.active {
    transform: scale(1.1);
    opacity: 1;
}

.tab-item img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e31837;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tab-item span {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.menu-group {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    animation: fadeIn 0.5s;
}

.menu-group.active {
    display: block;
}

.menu-group .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}

.food-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    width: 100%;
    max-width: 350px;
}

.food-item:hover {
    transform: translateY(-5px);
}

.food-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.food-info {
    padding: 10px;
}

.food-info h4 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #333;
}

.food-info p {
    color: #e31837;
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
}

.menu-group .swiper-pagination-bullet-active {
    background-color: #e31837;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   5. SPECIAL TODAY SECTION
   ========================================================== */
.special-today-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    margin-bottom: 0;
}

.specialSwiper {
    width: 100%;
    padding-bottom: 50px;
}

.specialSwiper .swiper-pagination-bullet-active {
    background-color: #e31837;
}

.special-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    border-radius: 20px;
}

.special-image-box {
    flex: 0 0 40%;
    max-width: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.special-image-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.special-image-box:hover img {
    transform: scale(1.05);
}

.promo-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ffc107;
    color: #333;
    font-weight: 800;
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 1.1rem;
}

.special-info-box {
    flex: 1;
}

.special-info-box h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #e31837;
    margin-bottom: 15px;
}

.special-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.special-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.special-list li {
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.price-wrap {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.old-price {
    font-size: 1.3rem;
    text-decoration: line-through;
    color: #999;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e31837;
}

.btn-special-order {
    display: inline-block;
    padding: 12px 45px;
    background-color: #e31837;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.4);
    transition: all 0.3s ease;
}

.btn-special-order:hover {
    background-color: #c2152f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 24, 55, 0.5);
}

/* ==========================================================
   6. CONTACT FORM & GALLERY
   ========================================================== */
.contact-form-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    margin-top: 180px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #e31837;
}

.submit-btn {
    background-color: #e31837;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background-color: #c2152f;
}

.gallery-section {
    padding: 0 0 10px;
    background-color: #f9f9f9;
    overflow: hidden;
}

.gallerySwiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 40px;
}

.gallerySwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.gallerySwiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 550px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallerySwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* ==========================================================
   6.1. TESTIMONIALS (ĐÁNH GIÁ KHÁCH HÀNG)
   ========================================================== */
.testimonials-section {
    padding: 50px 0 80px;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonialsSwiper {
    width: 100%;
    padding-bottom: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.testimonial-card .stars { font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-card .review-text { font-size: 1rem; color: #555; font-style: italic; line-height: 1.6; margin-bottom: 20px; }
.testimonial-card .customer-name { color: #e31837; font-weight: 700; font-size: 1.1rem; }
.testimonialsSwiper .swiper-pagination-bullet-active { background-color: #e31837; }

.review-form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.review-form-container h3 {
    margin-bottom: 20px;
    color: #e31837;
    font-size: 1.5rem;
}

/* ==========================================================
   7. FOOTER CHUYÊN NGHIỆP
   ========================================================== */
.site-footer {
    background-color: #050505;
    color: #b0b0b0;
    padding: 70px 0 0 0;
    font-family: "Montserrat", sans-serif;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px; /* Tăng kích thước logo để cân xứng với 2 cột bên cạnh */
    width: auto;
}

.footer-logo h3 {
    color: #fff;
    font-size: 1.8rem; /* Tăng cỡ chữ để hòa hợp với logo lớn hơn */
    margin: 0;
    font-weight: 700;
}

.footer-desc {
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 350px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color, #e89f38);
}

.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
}

.links-col ul li a:hover {
    color: var(--primary-color, #e89f38);
    padding-left: 5px;
}

.contact-col p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-col .highlight {
    color: var(--primary-color, #e89f38);
    font-weight: bold;
}

.social-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    border: 1px solid var(--primary-color, #e89f38);
    color: var(--primary-color, #e89f38);
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.social-btn:hover {
    background-color: var(--primary-color, #e89f38);
    color: #fff;
}

.footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #1a1a1a;
}

/* ==========================================================
   8. MEDIA QUERIES (TỐI ƯU HOÀN TOÀN CHO ĐIỆN THOẠI)
   ========================================================== */
@media screen and (max-width: 768px) {
    
    /* Navbar & Menu Mobile */
    nav { 
        padding: 15px 50px; 
        background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); 
    }
    .logo { margin-left: 0; }
    .logo img { height: 80px; }
    
    .hamburger { display: flex; z-index: 1001; position: relative; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .menu-links {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: url('/img/important/Thiết\ kế\ chưa\ có\ tên.png') center/cover no-repeat;
        flex-direction: column; align-items: center; justify-content: flex-start;
        padding-top: 100px;
        overflow-y: auto;
        transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999;
    }
    .menu-links.active { transform: translateX(0); }
    .menu-links a { margin: 15px 0; font-size: 1.8rem; color: #fff; display: block; width: 100%; text-align: center; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9); }
    .mobile-logo { display: block !important; width: 190px; margin-bottom: 30px; }

    /* Hero Banner Mobile */
    .mySwiper {
        width: 100%;
        height: 200px;
    } 

    /* Welcome Section Mobile */
    .welcome-section { padding: 40px 0 20px; }
    .welcome-content { flex-direction: column; gap: 30px; text-align: center; }
    .welcome-text p { font-size: 0.95rem; text-align: justify; }
    .welcome-image { width: 100%; border-radius: 12px; } 
    .welcomeSwiper .swiper-slide img { height: 250px; object-fit: cover; } 
    .section-title { font-size: 1.7rem; text-align: center; margin-bottom: 20px; }
    .welcome-text .section-title { font-size: 1.4rem; }

    /* Special Today Section Mobile */
    .specialSwiper { padding-bottom: 30px; }
    .special-container {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 15px;
        gap: 15px;
    }
    .special-image-box { flex: 0 0 40%; max-width: 40%; }
    .special-info-box { flex: 1; }
    .special-info-box h3 { font-size: 1.5rem; margin-bottom: 10px; }
    .promo-tag { font-size: 0.75rem; padding: 5px 10px; top: 10px; left: 10px; }
    .special-desc { font-size: 0.8rem; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .special-list li { font-size: 0.75rem; margin-bottom: 5px; }
    .price-wrap { justify-content: flex-start; margin-bottom: 15px; gap: 10px; flex-wrap: wrap; }
    .old-price { font-size: 0.9rem; }
    .new-price { font-size: 1.3rem; }
    .btn-special-order { padding: 8px 15px; font-size: 0.85rem; display: inline-block; text-align: center; width: 100%; box-sizing: border-box; }

    /* Menu Section Mobile */
    .category-tabs { 
        gap: 15px; 
    }
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    .tab-item { flex: 0 0 auto; }
    .tab-item img { width: 65px; height: 65px; border-width: 2px; }
    .tab-item span { font-size: 0.85rem; }
    
    .menu-group .swiper-slide { width: 50% !important; padding: 0 5px; box-sizing: border-box; }
    .food-item { max-width: 100%; margin: 0; border-radius: 10px; }
    .food-item img { height: 120px; }
    .food-info { padding: 8px; }
    .food-info h4 { font-size: 0.85rem; margin-bottom: 5px; }
    .food-info p { font-size: 0.95rem; }

    /* Contact Form Mobile */
    .contact-form-section {
        margin-top: 90px;
        padding-top: 20px;
    }

    /* Gallery Mobile */
    .gallerySwiper { padding-top: 10px; padding-bottom: 30px; }
    .gallerySwiper .swiper-slide { width: 280px; height: 200px; }

    /* Testimonials Mobile */
    .testimonials-section { padding: 40px 0 50px; }
    .testimonial-card { padding: 20px; }
    .testimonial-card .review-text { font-size: 0.95rem; margin-bottom: 15px; }
    
    /* Review Form Mobile */
    .review-form-container { padding: 20px; margin: 30px 15px 0; }
    .review-form-container h3 { font-size: 1.3rem; margin-bottom: 15px; }

    /* Image Divider Mobile */
    .image-divider {
        height: 250px; 
        background-attachment: scroll;
    }
    .image-divider .divider-content h2 { font-size: 2.2rem; }
    .image-divider .divider-content p { font-size: 0.9rem; }

    /* Footer Mobile */
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 0 10px 20px;
        text-align: left;
    }
    
    .footer-desc { display: none; }
    .footer-logo { margin-bottom: 10px; flex-direction: column; align-items: flex-start; }
    .footer-logo img { height: 40px;padding-left: 39px; } 
    .footer-logo h3 { font-size: 0.85rem; margin-top: 5px; padding-left: 19px; }
    
    .footer-col h4 { font-size: 0.75rem; margin-bottom: 10px; }
    .footer-col h4::after { width: 20px; left: 0; transform: none; }
    
    .links-col ul li a, .contact-col p { font-size: 0.6rem; line-height: 1.4; }
    .social-btn { padding: 4px 8px; font-size: 0.6rem; margin-top: 5px; width: 100%; text-align: center; }
    
    .footer-bottom { font-size: 0.7rem; padding: 10px; }
    .site-footer {
    background-color: #050505;
    color: #b0b0b0;
    padding: 40px 0 0 0;
    font-family: "Montserrat", sans-serif;
    border-top: 1px solid #222;
    
}
}