/* --- Base Styles (Unchanged) --- */
.menu-section {
    padding: 30px 20px ;
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 40px;
}

/* --- Styles for Unused Menu Nav HTML (Unchanged) --- */
.menu-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.menu-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top:10px;
}

.menu-nav a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #555;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.menu-nav a:hover,
.menu-nav a.active {
    background-color: #f39c12;
    color: #fff;
}

.btn-menu {
    flex-shrink: 0;
}

.menu-nav-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: linear-gradient(to left, #FFF2E0, rgba(255, 242, 224, 0));
    pointer-events: none;
    display: none;
}

/* --- Menu Grid Styles --- */
.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 40px; 
    margin-bottom: 40px;
}

.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: #fff;
    aspect-ratio: 1 / 1; /* MODIFIED: This makes the card a perfect square */
}

.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image fill the square without stretching */
    transition: transform 0.4s ease;
}

.menu-item:hover img {
    transform: scale(1.1);
}

.menu-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-item:hover .menu-item-overlay {
    opacity: 1;
}

.menu-item-overlay strong {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #f39c12;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.menu-item-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
    background: transparent;
}

.menu-item:hover .menu-item-content {
    transform: translateY(0);
}

.menu-item-content h3, 
.menu-item-content p, 
.menu-item-content a {
    background: transparent;
    text-align: left;
}

.menu-item-content h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.menu-item-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 300;
}

/* ========================================= */
/* --- RESPONSIVE ADJUSTMENTS --- */
/* ========================================= */

@media (max-width: 992px) {
    /* --- Styles for the scrollable menu nav --- */
    .menu-nav {
        width: 100%;
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; 
    }

    .menu-nav::-webkit-scrollbar {
        display: none;
    }

    .menu-nav ul {
        flex-wrap: nowrap; 
        white-space: nowrap; 
        padding-bottom: 10px;
    }
    
    .menu-nav-container::after {
        display: block; /* Show fade effect on mobile */
    }

    /* --- Adjust main menu grid for tablets --- */
    .menu-container {
        padding: 0 20px; /* Reduce side padding */
    }
}

@media (max-width: 768px) {
    /* On touch devices, hover is unreliable. Make the info overlay visible by default for better usability. */
    .menu-item-overlay {
        opacity: 1;
    }

    .menu-item-content {
        /* Remove the 'slide-up' animation on mobile, show it directly */
        transform: translateY(0);
    }

    /* Disable the zoom-on-hover effect for mobile as it's a hover-only interaction */
    .menu-item:hover img {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .menu-container {
        padding: 0 15px; /* Further reduce padding for small phones */
    }
}
.order-btn {
    align-self: flex-start; /* Aligns button to the left */
    padding: 8px 16px;
}

/* Container for the "View Full Menu" button */
.view-menu-container {
    text-align: center;
    margin-top: 20px;
}
/* DEALS SECTION STYLES - CIRCULAR DESIGN */
.deals-section {
    padding: 50px 20px;
    text-align: center;
}

.deals-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Aligns items to the top */
    flex-wrap: wrap;
    gap: 40px; /* Increased gap for better spacing */
    margin-top: 40px;
}

.deal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    background-color: transparent; /* Card itself is transparent */
}

.deal-image-wrapper {
    width: 200px; /* Size of the circle */
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
    transition: transform 0.3s ease;
}

.deal-card:hover .deal-image-wrapper {
    transform: scale(1.05);
}

.deal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deal-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    background-color: transparent;
}

.deal-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    background-color: transparent;
    min-height: 50px; /* Helps align items below */
}

.deal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    background-color: transparent;
}

/* Featured Deal Styling */
.deal-card.featured .deal-image-wrapper {
    border-color: #f39c12;
}
/* REBUILT GALLERY SECTION STYLES */
.gallery-section {
    padding: 60px 20px;
    background-color: #FFF2E0; 
}

.gallery-intro {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-intro p {
    font-size: 1rem;
    color: #555;
    background-color: transparent;
}

.gallery-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Creates a 4-column base */
    grid-template-rows: repeat(2, 300px);  /* Creates 2 rows */
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-card-new {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-card-new.main-image {
    grid-column: 1 / 3; /* Spans from column line 1 to 3 */
    grid-row: 1 / 3;    /* Spans from row line 1 to 3 */
}

.gallery-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card-new:hover img {
    transform: scale(1.05);
}

.card-overlay-new {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-card-new:hover .card-overlay-new {
    opacity: 1;
    transform: translateY(0);
}

.card-overlay-new h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #fff;
    background-color: transparent;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* REBUILT RESPONSIVE STYLES FOR GALLERY */
@media (max-width: 992px) {
    .gallery-grid-new {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
        grid-template-rows: repeat(4, 250px);
    }

    .gallery-card-new.main-image {
        grid-column: 1 / 3; /* Main image takes full width */
        grid-row: 1 / 3;
    }
}

@media (max-width: 576px) {
    .gallery-grid-new {
        grid-template-columns: 1fr; /* 1 column on phones */
        grid-template-rows: repeat(5, 300px);
    }
    
    .gallery-card-new.main-image,
    .gallery-card-new {
        grid-column: auto; /* Reset all grid spans */
        grid-row: auto;
    }
}