/* =========================================
   WOW MENU SECTION STYLES
   ========================================= */

/* Remove the gap between header and menu */
.page-header.mb-5 {
    margin-bottom: 0 !important;
}

/* Replace the 15px PNG overlay with a tall smooth fade into the menu background */
.page-header.overlay-bottom::after {
    height: 120px !important;
    background: linear-gradient(to bottom, transparent, #FFFBF2) !important;
    bottom: -1px;
}

.menu-wow-section {
    background-color: #FFFBF2;
    background-image: linear-gradient(to bottom, #FFFBF2 0%, #FDE8C0 20%, #F5D49A 45%, #FDE8C0 70%, #FFFFFF 100%);
    position: relative;
    padding-bottom: 80px;
}

/* Linen / paper grain overlay */
.menu-wow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 250px 250px;
}

/* Keep content above grain overlay */
.menu-wow-section .container {
    position: relative;
    z-index: 1;
}

/* Keep content above grain overlay */
.menu-wow-section .container {
    position: relative;
    z-index: 1;
}

.menu-category-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.menu-category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Modern Menu Card */
.modern-menu-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid rgba(218, 159, 91, 0.1);
    z-index: 1;
}

.modern-menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(218, 159, 91, 0.05) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-menu-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(218, 159, 91, 0.15);
    border-color: rgba(218, 159, 91, 0.3);
}

.modern-menu-card:hover::before {
    opacity: 1;
}

/* Image Container */
.menu-img-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary) 0%, #fff 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.modern-menu-card:hover .menu-img-wrapper {
    transform: rotate(10deg);
}

.menu-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
}

/* Price Tag */
.modern-price-tag {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: #111;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(218, 159, 91, 0.4);
    transform: rotate(10deg);
    transition: all 0.3s ease;
}

.modern-menu-card:hover .modern-price-tag {
    transform: rotate(0deg) scale(1.1);
    background: #111;
    color: var(--primary);
}

/* Content */
.menu-content {
    padding-left: 25px;
    flex-grow: 1;
}

.menu-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.modern-menu-card:hover .menu-content h4 {
    color: var(--primary);
}

.menu-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* View Full Menu Button */
.btn-view-menu {
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-view-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-view-menu:hover {
    color: white;
    box-shadow: 0 10px 20px rgba(218, 159, 91, 0.3);
    transform: translateY(-3px);
}

.btn-view-menu:hover::before {
    width: 100%;
}

/* Responsive */
@media (max-width: 576px) {
    .modern-menu-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .menu-img-wrapper {
        margin-bottom: 20px;
        width: 120px;
        height: 120px;
    }
    
    .menu-content {
        padding-left: 0;
    }
    
    .modern-price-tag {
        top: 10px;
        right: 10px;
    }
}