/* Menu Hero Section */
.menu-hero {
    margin-top: 0;
    padding-top: 60px; /* bù chiều cao header trên mobile */
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #8B7355 0%, #6B5845 50%, #4A3D2F 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.menu-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.7) 0%, rgba(106, 88, 69, 0.7) 50%, rgba(74, 61, 47, 0.7) 100%);
    z-index: 0;
}

.menu-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.menu-title {
    font-size: 36px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.menu-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Món Á Combined Section */
.mon-a-combined-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-olive) 0%, var(--darker-olive) 100%);
}

.mon-a-header {
    text-align: center;
    margin-bottom: 60px;
}

.mon-a-header .section-title {
    margin-bottom: 20px;
}

.mon-a-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto;
}

.gallery-subtitle,
.items-subtitle {
    font-size: 28px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 30px;
    text-align: center;
}

.menu-gallery-wrapper {
    margin-bottom: 80px;
}

/* Menu Gallery Section */
.menu-gallery-section {
    padding: 80px 20px;
    background-color: var(--dark-olive);
}

.menu-items-wrapper {
    margin-top: 60px;
}

.menu-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* Animation delays will be handled by transitions.js */

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 140%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.menu-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.menu-image-overlay i {
    font-size: 48px;
    color: var(--gold);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.menu-gallery-item:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.menu-gallery-item:hover .menu-image-wrapper img {
    transform: scale(1.1);
}

.menu-gallery-item:hover .menu-image-overlay {
    opacity: 1;
}

.menu-gallery-item:hover .menu-image-overlay i {
    transform: scale(1);
}

/* Menu Article Section */
.menu-article-section {
    padding: 80px 20px;
    background-color: var(--darker-olive);
}

.menu-article {
    max-width: 1200px;
    margin: 0 auto;
}

.article-intro {
    margin-bottom: 60px;
    padding: 30px;
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
}

.article-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.article-intro p:last-child {
    margin-bottom: 0;
}

/* Menu Categories */
.menu-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 28px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    font-size: 24px;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.menu-item-card {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    will-change: transform, opacity;
}

/* Animation delays will be handled by transitions.js */

.menu-item-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.15);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.dish-name {
    font-size: 20px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    color: var(--gold);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.dish-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
    padding: 5px 12px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.dish-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.menu-footer-note {
    margin-top: 50px;
    padding: 25px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.menu-footer-note p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.menu-footer-note i {
    color: var(--gold);
    margin-top: 3px;
    font-size: 16px;
}

/* Menu CTA Section */
.menu-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-olive) 0%, var(--darker-olive) 100%);
    text-align: center;
}

.menu-cta .cta-content h2 {
    font-size: 36px;
    font-family: 'Arial', sans-serif;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.menu-cta .cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.phone-btn {
    background-color: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.phone-btn:hover {
    background-color: #B8122E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.6);
}

.contact-btn {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.contact-btn:hover {
    background-color: var(--gold);
    color: var(--dark-olive);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.no-images {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-hero {
        height: 300px;
        margin-top: 0;
        padding-top: 60px;
    }

    .menu-title {
        font-size: 28px;
    }

    .menu-subtitle {
        font-size: 16px;
    }

    .menu-gallery-section,
    .menu-article-section {
        padding: 40px 15px;
    }

    .menu-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-title {
        font-size: 24px;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-intro {
        padding: 20px;
    }

    .menu-footer-note {
        padding: 20px;
    }

    .menu-cta {
        padding: 50px 20px;
    }

    .menu-cta .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .menu-hero {
        height: 500px;
        margin-top: 0;
        padding-top: 70px; /* bù chiều cao header desktop */
    }

    .menu-title {
        font-size: 48px;
    }

    .menu-subtitle {
        font-size: 22px;
    }

    .menu-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-cta .cta-content h2 {
        font-size: 42px;
    }
}

@media (min-width: 1440px) {
    .menu-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .menu-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
