:root {
    --bg-light: #f6f3de;
    --bg-blob: #ead7b3;
    --text-dark: #3b2c24;
    --accent-orange: #d8813a;
    --font-heading: 'Rye', cursive;
    --font-script: 'Dancing Script', cursive;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-body);
    color: var(--text-dark);
}

.menu-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-light);
    min-height: 100vh;
    overflow: hidden;
    padding: 15px 15px 0 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 1;
}

/* Orange Frame Wrapper */
.menu-frame {
    border: 2px solid var(--accent-orange);
    border-radius: 40px;
    padding: 25px 5px;
    margin-bottom: 10px;
    position: relative;
}

/* Floating Images Base */
.floating-img { position: absolute; z-index: 2; }
.floating-img img { width: 100%; height: 100%; object-fit: cover; filter: drop-shadow(5px 10px 15px rgba(0,0,0,0.3)); }


/* Header Section */
.menu-header { text-align: center; position: relative; padding-top: 40px; margin-bottom: 20px; }

.steam-icon { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2; }
.steam-icon path {
    transform-origin: bottom center;
    animation: steamSway 2s ease-in-out infinite alternate;
}
.steam-icon path:nth-child(1) { animation-delay: 0s; }
.steam-icon path:nth-child(2) { animation-delay: 0.6s; }
.steam-icon path:nth-child(3) { animation-delay: 1.2s; }

@keyframes steamSway {
    0% { transform: translateY(0) skewX(-3deg) scaleY(1); opacity: 0.6; }
    50% { transform: translateY(-4px) skewX(3deg) scaleY(1.05); opacity: 1; }
    100% { transform: translateY(-8px) skewX(-2deg) scaleY(1.1); opacity: 0.3; }
}
.main-title { font-family: var(--font-heading); font-size: 4rem; line-height: 0.8; margin-top: 20px; color: var(--text-dark); }
.sub-title { font-family: var(--font-script); font-size: 3rem; line-height: 0.5; margin-top: 10px; margin-bottom: 20px; color: var(--text-dark); }
.header-desc { font-size: 0.75rem; line-height: 1.4; padding: 0 40px; margin-bottom: 30px; opacity: 0.8; text-align: center; }

/* Hero Images */
.hero-images { position: relative; height: 250px; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; }
.hero-chef { width: 220px; height: 220px; z-index: 2; position: relative; margin: 0 auto; border-radius: 50%; overflow: hidden; }
.hero-chef img, .hero-chef video { width: 100%; height: 100%; object-fit: cover; filter: drop-shadow(5px 10px 15px rgba(0,0,0,0.3)) sepia(0.6) hue-rotate(-10deg) saturate(1.4) brightness(0.95); }

/* Menu Sections */
.menu-section { position: relative; margin-bottom: 40px; padding: 0 40px; z-index: 3; }
.section-title { font-family: var(--font-heading); font-size: 2rem; text-align: center; margin-bottom: 25px; letter-spacing: 1px; color: var(--text-dark); }

/* Individual Items */
.menu-item { margin-bottom: 15px; }
.item-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; border-bottom: 1px dotted rgba(59, 44, 36, 0.3); padding-bottom: 2px; }
.item-name { font-family: var(--font-script); font-size: 1.5rem; font-weight: 700; background-color: var(--bg-light); padding-right: 5px; margin-bottom: -5px; }
.item-price { font-family: var(--font-heading); font-size: 1.1rem; background-color: var(--bg-light); padding-left: 5px; margin-bottom: -5px; }


/* Footer */
.menu-footer { 
    display: flex; 
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 20px; 
    margin-top: 20px; 
    position: relative; 
    z-index: 3;
    border: 2px solid var(--accent-orange);
    border-bottom: none;
    border-radius: 40px 40px 0 0;
}
.footer-title {
    font-family: var(--font-script);
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--accent-orange);
}
.footer-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
    margin-bottom: 20px;
}
.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    background: rgba(216, 129, 58, 0.08); /* light orange tint */
    padding: 15px 20px;
    border-radius: 15px;
    width: 100%;
    max-width: 320px;
    border: 1px dashed rgba(216, 129, 58, 0.4);
}
.detail-item svg {
    color: var(--accent-orange);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
}
.detail-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.detail-item a:hover {
    color: var(--accent-orange);
}


@media (min-width: 481px) {
    .menu-container { border-radius: 10px; margin: 20px 0; }
}

@media (min-width: 900px) {
    .menu-container { 
        max-width: 1000px; 
        padding: 40px 40px 0 40px;
        border-radius: 20px;
    }
    .menu-frame {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 50px;
        padding: 40px;
    }
    .menu-header, .hero-images {
        grid-column: 1 / -1;
    }
    .menu-section {
        padding: 0 10px;
    }
}



.site-footer {
    text-align: center;
    padding: 20px;
    background-color: var(--text-dark);
    color: var(--bg-light);
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
}
@media (min-width: 900px) {
    .site-footer {
        margin-left: -40px;
        margin-right: -40px;
        border-radius: 0 0 20px 20px;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-steam {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 20px;
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
