/* Existing Hero, Category Navigation, and General Styles (Unchanged) */
.hero {
    margin-top: 120px;
    margin-bottom: 5px;
    position: relative;
    width: 96.5%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(4, 41, 61, 0.5);
    background-image: url('./images/OurMenu.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
}

.overlay-text {
    position: relative;
    z-index: 1;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    color: #ffb700;
    margin: 20px 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
    position: relative;
    z-index: 2;
    margin-top: -100px;
}

.hero-buttons button {
    background-color: #f78614;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    margin-top: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 4px 4px white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px white;
}

.section-nav {
    height: 60px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background-color: #04293d;
    padding: 5px 0;
    border-bottom: 2px solid #FFD700;
    margin-top: 0px;
    position: sticky;
    top: 60px;
    z-index: 10;
    scroll-behavior: smooth;
    font-family: 'Dancing Script', cursive;
}

.section-nav a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    background-color: #04061f;
    border: 1px solid #FFD700;
}

.section-nav a:hover {
    background-color: #FFD700;
    color: #04293d;
}

.section-nav a.active {
    background-color: #FFD700;
    color: #04293d;
    font-weight: bold;
    border: 1px solid #011833;
}

.section-nav::-webkit-scrollbar {
    height: 8px;
}

.section-nav::-webkit-scrollbar-track {
    background: #04293d;
    border-radius: 4px;
}

.section-nav::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.section-nav::-webkit-scrollbar-thumb:hover {
    background: #FFC107;
}

/* Menu Section Styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.6;
      background-image: url('./images/Menu_background_.jpg');
      background-color: rgba(247, 245, 250, 0.5);
     background-blend-mode: overlay;
    background-size: cover;
    background-attachment: fixed;
}

.section {
    margin: 0;
    padding: 0;
}

.menu-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in;
}

.menu-section {
    flex: 1;
    min-width: 300px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.category-container {
    position: relative;
    background-color: rgba(201, 171, 111, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.parallax-container {
    height: 400px;
    position: relative;
    margin: 0;
    width: 100%;
    overflow: hidden;
    background-color:rgba(201, 171, 111, 0.4);
    color: white;
}

.parallax-image {
    background-attachment: fixed;
    background-size: 100% auto;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 10px;
    top: 0;
    left: 0;
}

.parallax-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0));
}

/* Updated Menu Items Styles */
.menu-items-container {
    max-height: 700px;
    overflow-y: auto;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: #FFD700 #04293d;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    height:400px;
}

.menu-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #FFD700;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #FFF8E1;
}

.menu-item h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #dbe6f2;
    font-family: 'Dancing Script', cursive;
}

.menu-item p {
    margin: 5px 0;
    font-size: 0.8rem;
    color: #f8e7d0;
}

.menu-item span {
    font-weight: bold;
    color: #f78614;
    font-size: 1rem;
}

/* Custom Scrollbar */
.menu-items-container::-webkit-scrollbar {
    width: 8px;
}

.menu-items-container::-webkit-scrollbar-track {
    background: rgb(156, 191, 209);
    border-radius: 4px;
}

.menu-items-container::-webkit-scrollbar-thumb {
    background: rgb(156, 191, 209);
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.menu-items-container::-webkit-scrollbar-thumb:hover {
    background: #FFC107;
}

/* Auto-Scroll Animation */
.auto-scroll {
    overflow-y: auto;
    max-height: 600px;
}

@keyframes autoScroll {
    0% { transform: translateY(0); }
    50% { transform: translateY(calc(-100% + 300px)); }
    100% { transform: translateY(0); }
}

/* Apply animation only to containers with more content than fits */
.auto-scroll.scrollable {
    animation: autoScroll 10s ease-in-out infinite;
}

/* Fade-In Animation for Sections */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .menu-row {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .menu-section {
        min-width: 100%;
    }

    .parallax-container {
        height: 300px;
    }

    .menu-items-container {
        max-height: 500px;
    }

    .section-title {
        font-size: 2rem !important;
        color:#ffb700 !important;
    }

    .hero {
        width: 100vw;
        height: 70vh;
    }

    .hero-buttons {
        font-size: 1rem;
        flex-direction: column;
        align-items: center;
        width: auto;
        margin: 5px auto;
        box-sizing: border-box;
        gap: 5px;
        margin-top: 100px;
    }

    .hero-buttons button {
        width: 100%;
        margin: 2px 0;
        box-sizing: border-box;
        padding: 10px;
        font-size: 1rem;
    }

    .section-nav {
        font-size: 0.9rem;
        height: 50px;
    }

    .section-nav a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }



    .description {
        font-size:0.9rem;
        color:#1d0133;
    }

    .description2 {
        font-size:1.0rem;
        color:#da8620;
    }
}

@media (max-width: 480px) {
    .parallax-container {
        height: 200px;
    }

    .menu-items-container {
        max-height: 400px;
    }

    .menu-item h3 {
        font-size: 1rem;
    }

    .menu-item p {
        font-size: 0.8rem;
    }

    .menu-item span {
        font-size: 0.9rem;
    }
}

/* Order Section */
.review-title {
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.review-title h2 {
    font-size: 2rem;
    color: #da8620;
    margin: 10px 0;
}

.review-title h2:last-child {
    font-size: 1.2rem;
    color: white;
}

.online-order-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    background-image: url('./images/Menu_background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-color: rgba(79, 1, 63, 0.8);
    border-radius: 10px;
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    justify-items: center;
    align-items: start;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.05);
}

.icon-container img {
    width: 100%;
    max-width: 100px;
    height: auto;
    border: 2px solid #FFD700;
    border-radius: 10px;
    margin-bottom: 10px;
}

.icon-container img:hover {
    transform: scale(1.2);
}

.order-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 200px;
    box-shadow: 0 3px 5px rgba(255, 255, 255, 0.3);
}

.order-button:hover {
    background-color: #FFD700;
    color: black;
    box-shadow: 0 5px 7px rgba(255, 215, 0, 0.5);
}

.order-button svg {
    width: 18px;
    height: 18px;
    margin-left: 5px;
    fill: grey;
}

@media (max-width: 768px) {
    .online-order-container {
        width: 90%;
        margin: 10px auto;
        grid-template-columns: 1fr;
    }

    .icon-container img {
        max-width: 80px;
    }

    .order-button {
        padding: 8px 12px;
        font-size: 0.85em;
        max-width: 150px;
    }
}