/* Custom Properties */
:root {
    --bg-dark: #1a1a1a;
    --text-light: #ffffff;
    --accent-orange: #ff7f00;
    --secondary-text: #bbb;
    --font-primary: 'Poppins', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Parallax Styles --- */
.parallax-section {
    height: 80vh; 
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section {
    /* Placeholder - Replace with your high-res image */
    background-image: url("/images/hero-momo-bg.png"); 
    background-color: rgba(0, 0, 0, 0.5); 
    background-blend-mode: darken;
}

.header-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px 40px;
    border-radius: 8px;
}

.header-content h1 {
    font-size: 3.5em;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.header-content p {
    font-size: 1.5em;
    margin-top: 10px;
}

/* --- Dynamic Menu Band Styles --- */
.menu-band-wrapper {
    background-color: #333;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    white-space: nowrap;
    border-top: 3px solid var(--accent-orange);
    border-bottom: 3px solid var(--accent-orange);
}

.menu-band-text {
    font-size: 3em; 
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 5px;
    display: inline-block;
    transform: translateX(0);
    padding-right: 50px;
}

/* --- Dynamic Menu Band Styles --- */
.menu-band-wrapper {
    background-color: #333; /* Dark gray background */
    width: 100%;
    overflow: hidden; /* Crucial: Hides the text that moves off-screen */
    padding: 10px 0;
    white-space: nowrap; /* Prevents text from wrapping */
    border-top: 3px solid var(--accent-orange);
    border-bottom: 3px solid var(--accent-orange);
}

.menu-band-text {
    font-size: 3em; 
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 5px;
    display: inline-block; /* Allows text to move horizontally */
    transform: translateX(0); /* Starting position for movement */
    padding-right: 50px; /* Space between repeated text */
}

/* ------------------------------------- */
/* OPTION A: CONTINUOUS CSS MARQUEE EFFECT */
/* ------------------------------------- */
/* Uncomment these styles to use the continuous wave effect */

.menu-band-wrapper.continuous .menu-band-text {
    /* Define the animation */
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves half its length to loop seamlessly */
}

/* Optional: Pause animation on hover */
.menu-band-wrapper.continuous:hover .menu-band-text {
    animation-play-state: paused;
}

/* --- Main Menu Styles --- */
.menu-container {
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu-category {
    flex-basis: 48%;
    margin-bottom: 50px;
}

.category-title {
    color: var(--accent-orange);
    text-align: left;
    margin-bottom: 30px;
    font-size: 2.5em;
    border-bottom: 3px solid var(--accent-orange);
    padding-bottom: 5px;
}

.item-list {
    display: grid;
    gap: 20px;
}

.menu-item {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
}

.item-name {
    font-weight: 600;
    font-size: 1.15em;
    color: var(--text-light);
}

.item-price {
    font-weight: 700;
    color: var(--accent-orange);
    font-size: 1.1em;
}

.item-description {
    color: var(--secondary-text);
    font-size: 0.9em;
}

.combo-name {
    font-style: italic;
    color: var(--accent-orange);
}

/* --- Map Section Styles --- */
.map-section {
    flex-basis: 100%;
    margin: 40px 0;
    padding: 0 5%;
}

.map-title {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
}

.map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    margin-top: 20px;
}

.map-container iframe {
    flex-grow: 1;
    min-width: 300px; /* Ensures it doesn't get too small */
    height: 450px;
    border: 5px solid var(--accent-orange);
    border-radius: 8px;
}

.map-info {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.map-info h3 {
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.map-info a {
    color: var(--accent-orange);
    text-decoration: none;
    margin-top: 10px;
    font-weight: 600;
}


/* --- Footer Styles (New & Improved) --- */
footer {
    background: #000;
    padding: 40px 5%;
    border-top: 5px solid var(--accent-orange);
    color: var(--secondary-text); /* Use a soft gray for main text */
}

.footer-container-new {
    max-width: 1200px;
    margin: 0 auto 30px auto; /* Add bottom margin for copyright separation */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-heading {
    color: var(--text-light);
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

/* --- Contact Column Styles --- */
.footer-contact {
    flex-basis: 40%;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item .icon {
    font-size: 1.5em;
    color: var(--accent-orange);
    width: 30px;
    text-align: center;
    margin-right: 15px;
}

.contact-item p {
    margin: 0;
    font-size: 1.1em;
}

/* --- About Column Styles --- */
.footer-about {
    flex-basis: 45%;
}

.about-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- Social Links Styles --- */
.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #333;
    border-radius: 4px;
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.3s, color 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

/* --- Copyright Styles --- */
.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

.copyright strong {
    color: var(--accent-orange);
}


/* --- Media Query Update for Footer --- */
@media (max-width: 768px) {
    .footer-container-new {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .footer-contact, .footer-about {
        flex-basis: 100%;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-heading {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}


/* --- Burger Menu Icon Styles --- */
.burger-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001; 
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: none; 
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--accent-orange);
    transition: all 0.3s ease-in-out;
}

/* --- Mobile Navigation Overlay --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    max-width: 80%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    padding-top: 100px;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.5);
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav-overlay ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav-overlay li {
    margin: 30px 0;
}

.mobile-nav-overlay a {
    color: var(--text-light);
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.mobile-nav-overlay a:hover {
    color: var(--accent-orange);
}

.mobile-nav-overlay .order-link {
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    margin-top: 20px;
}

/* --- Burger Icon to 'X' Transformation --- */
.burger-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.burger-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* -------------------- */
/* RESPONSIVENESS (Media Queries) */
/* -------------------- */
@media (max-width: 950px) {
    .menu-category {
        flex-basis: 100%;
    }
    .footer-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .contact-info, .wifi-info, .review-us {
        text-align: center;
    }
    .burger-menu-toggle {
        display: block; 
    }
    .map-container {
        flex-direction: column;
    }
    .map-info {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .header-content h1 {
        font-size: 2em;
    }
    .parallax-section {
        background-attachment: scroll;
        height: 60vh; 
    }
    .menu-band-text {
        font-size: 2em;
    }
}


/* --- Mini-Game Overlay Styles --- */
#momo-game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000; /* Must be above everything */
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}

#momo-game-overlay.active {
    display: flex;
}

#momo-game-box {
    background-color: #333;
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    border: 5px solid var(--accent-orange);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

#game-target-area {
    margin: 20px 0;
    height: 250px;
    border: 2px dashed #444;
    position: relative;
    overflow: hidden;
}

.momo-target {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--accent-orange); /* Momo placeholder color */
    border-radius: 50%;
    font-size: 24px;
    line-height: 50px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
    /* Optional: Use an emoji or icon */
    content: "🥟";
}

.momo-target:hover {
    transform: scale(1.1);
}

#start-game-btn, #restart-game-btn {
    background-color: var(--accent-orange);
    color: var(--bg-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

.hidden {
    display: none !important;
}

/* Toggler Button */
.hidden-game-toggler {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background-color: #333;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hidden-game-toggler:hover {
    background-color: #555;
}

/* --- New Close Button Styles --- */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: var(--secondary-text); /* Light gray 'X' */
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--accent-orange); /* Highlight on hover */
}

/* Ensure the game box is positioned relatively for the close button */
#momo-game-box {
    position: relative; /* CRITICAL for absolute positioning of the close button */
    background-color: #333;
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    border: 5px solid var(--accent-orange);
    text-align: center;
    max-width: 500px;
    width: 90%;
}