:root {
    --primary-color: #8c1620; /* Deep red from menu */
    --primary-light: #a3222d;
    --secondary-color: #f4e3c5; /* Beige/Gold text */
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --bg-light: #faf8f5;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
    --text-dark: #f4e3c5;
    --bg-light: #121212;
    --bg-white: #1e1e1e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .navbar {
    background-color: rgba(30, 30, 30, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 400;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    transition: var(--transition);
}

.btn-nav:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 2rem;
    object-fit: cover;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Page Spacers for Subpages */
.page-spacer {
    height: 100px; /* Account for navbar */
}

.page-content {
    flex: 1; /* Pushes the footer down */
    display: flex;
    flex-direction: column;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background-color: var(--bg-white);
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: #666;
}

/* Menu Section */
.menu-section {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    flex: 1;
}

.menu-section h2 {
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(244, 227, 197, 0.3);
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
    font-size: 1rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.menu-category {
    display: none;
    animation: fadeIn 0.5s ease;
}

.menu-category.active {
    display: block;
}

.menu-category h3 {
    border-bottom: 1px solid rgba(244, 227, 197, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.menu-item:has(.item-header) {
    flex-direction: column;
    align-items: stretch;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0.3rem;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 500;
}

.item-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

.menu-info-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
    border-top: 1px solid rgba(244, 227, 197, 0.2);
    padding-top: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Delivery Section */
.delivery-section {
    padding: 8rem 0;
    background-color: var(--bg-white);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.card li, .card p {
    margin-bottom: 1rem;
    color: #555;
}

/* Location Map Section */
.location-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.location-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.location-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.location-map {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Instagram Feed Section */
.insta-section {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.insta-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    width: 100%;
    height: 100%;
}

.insta-carousel::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.insta-carousel img {
    flex: 0 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}

.carousel-dots .dot.active {
    background: white;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(140, 22, 32, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.05);
}

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

.insta-item:hover .insta-icon {
    transform: translateY(0);
}

.insta-action {
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(244, 227, 197, 0.2);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h2 {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-weight: 300;
}

.footer-links {
    text-align: right;
}

.social-link {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Media Queries */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-links.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }
    
    .btn-nav {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }

    .location-container {
        grid-template-columns: 1fr;
    }
}

/* Premium Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Random Screen Pop-up Flork Easter Egg */
.peeking-flork-container {
    position: fixed;
    bottom: -100px; /* Hidden by default */
    left: 50%; /* Default center, will be randomized by JS */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), left 0s;
}

.peeking-flork-container.peek {
    bottom: -10px; /* Pops up */
}

.flork-character {
    width: 80px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.flork-character:hover {
    transform: scale(1.05) rotate(-5deg);
}

.flork-speech-bubble {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: relative;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.flork-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.flork-speech-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Quirky Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-light);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-flork {
    width: 120px;
    height: 140px;
    margin-bottom: 20px;
    animation: bounce 0.5s infinite alternate;
}

.flork-arm-l {
    transform-origin: 22px 70px;
    animation: swing-arm-l 0.5s infinite alternate;
}

.flork-arm-r {
    transform-origin: 78px 70px;
    animation: swing-arm-r 0.5s infinite alternate;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes swing-arm-l {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(40deg); }
}

@keyframes swing-arm-r {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-40deg); }
}


/* Menu Decorative Flork */
.menu-decorative-flork {
    position: fixed;
    bottom: 20px;
    left: -200px;
    width: 120px;
    height: 150px;
    z-index: 100;
    pointer-events: none;
    animation: run-across-screen 12s linear infinite;
}

@keyframes run-across-screen {
    0% { transform: translateX(0) translateY(0); }
    10% { transform: translateX(15vw) translateY(0); }
    15% { transform: translateX(15vw) translateY(0); } /* pause briefly */
    30% { transform: translateX(50vw) translateY(0); }
    100% { transform: translateX(120vw) translateY(0); }
}

.running-flork {
    width: 100%;
    height: 100%;
    animation: bounce-run 0.3s infinite alternate;
}

@keyframes bounce-run {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-10px) rotate(5deg); }
}

.menu-flork-tooltip {
    position: absolute;
    top: 10px;
    right: 0px;
    background: var(--text-dark);
    color: var(--bg-light);
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 10px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
    animation: tooltip-pulse 2s infinite alternate;
}

@keyframes tooltip-pulse {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.05) translateY(-3px); }
}

.menu-flork-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 10px;
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}

/* Empty Cart Flork */
.empty-cart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    text-align: center;
}

.empty-cart-flork {
    width: 80px;
    height: 100px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-cart-msg {
    font-size: 1rem;
}

/* Delivery Flork */
.delivery-flork-container {
    position: fixed;
    bottom: 20px;
    left: -250px;
    width: 150px;
    height: 120px;
    z-index: 100;
    pointer-events: none;
    animation: run-across-screen 10s linear infinite; /* removed the 2s delay so he appears immediately */
}

.delivery-flork {
    width: 100%;
    height: 100%;
    animation: flork-run 0.2s infinite alternate;
}

@keyframes flork-run {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(-15px) rotate(2deg); }
}

.speed-line-1 { animation: speed-dash 0.6s infinite linear; }
.speed-line-2 { animation: speed-dash 0.8s infinite linear reverse; }
.speed-line-3 { animation: speed-dash 0.5s infinite linear 0.2s; }

@keyframes speed-dash {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-50px); opacity: 0; }
}

/* Instagram Fake Fetch Loader */
.insta-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    text-align: center;
}

.insta-loader p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.7;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--secondary-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Paparazzi Gallery Flork */
.gallery-flork-container {
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -40px;
    width: 80px;
    height: 100px;
    z-index: 10;
    animation: jumpArc 1.5s infinite linear alternate;
}

@keyframes jumpArc {
    0% { transform: translate(-150px, 60px) rotate(-15deg); }
    10% { transform: translate(-120px, 10px) rotate(-12deg); }
    20% { transform: translate(-90px, -20px) rotate(-9deg); }
    30% { transform: translate(-60px, -40px) rotate(-6deg); }
    40% { transform: translate(-30px, -55px) rotate(-3deg); }
    50% { transform: translate(0px, -65px) rotate(0deg); } /* Apex */
    60% { transform: translate(30px, -55px) rotate(3deg); }
    70% { transform: translate(60px, -40px) rotate(6deg); }
    80% { transform: translate(90px, -20px) rotate(9deg); }
    90% { transform: translate(120px, 10px) rotate(12deg); }
    100% { transform: translate(150px, 60px) rotate(15deg); }
}

.camera-flash {
    transform-origin: 60px 41px;
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 45% { 
        fill: #ddd; 
        filter: none; 
        transform: scale(1); 
    }
    50% { 
        fill: #fff; 
        filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 20px #ffeb3b); 
        transform: scale(5); 
    }
    55%, 100% { 
        fill: #ddd; 
        filter: none; 
        transform: scale(1); 
    }
}

/* Hero Logo and Flork */
.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    animation: float-logo 800ms ease-in-out infinite alternate;
    margin-bottom: 2rem;
}

.hero-logo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(140, 22, 32, 0.2);
}

.hero-sitting-flork {
    position: absolute;
    top: -15px; /* Moved down so he actually sits on the logo instead of floating above it */
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 100px;
    z-index: 10;
    overflow: visible;
}

@keyframes float-logo {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: rgba(140, 22, 32, 0.03);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: var(--bg-white);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

[data-theme="dark"] .faq-item {
    border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .faq-answer p {
    color: #aaa;
}

/* FAQ Decorative Flork */
.faq-decorative-flork {
    position: absolute;
    top: 30px;
    left: 5%;
    width: 150px;
    height: 180px;
    z-index: 1;
    transform: rotate(-15deg);
}

.faq-question-mark-html {
    position: absolute;
    top: 5px;
    left: 25px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    animation: float-question 1.5s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes float-question {
    0% { transform: translateY(0) scale(1) rotate(-10deg); }
    100% { transform: translateY(-8px) scale(1.15) rotate(10deg); }
}

@media (max-width: 900px) {
    .faq-decorative-flork {
        top: -5px;
        left: 50%;
        transform: translateX(-50%) rotate(0deg);
        width: 90px;
        height: 110px;
        opacity: 1; /* Removed 0.5 opacity to fix color */
    }
}

/* Menu Loading Scene Animations */
.menu-loading-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-light);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-radius: 0;
    transition: opacity 0.8s ease-in-out;
}

.boss-flork {
    position: relative;
    width: 120px;
    z-index: 2;
}

.boss-flork svg {
    width: 100%;
    position: relative;
    animation: vibrate 0.15s linear infinite;
}

@keyframes vibrate {
    0% { left: 0px; top: 0px; }
    25% { left: -2px; top: 1px; }
    50% { left: 1px; top: -1px; }
    75% { left: 2px; top: 2px; }
    100% { left: 0px; top: 0px; }
}

.speech-bubble {
    position: absolute;
    top: -50px;
    left: 50%;
    margin-left: -110px; /* Centered based on new width */
    width: 220px;
    text-align: center;
    background: white;
    border: 2px solid var(--text-dark);
    border-radius: 20px;
    padding: 10px 15px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: bold;
    color: #333 !important;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}
.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    margin-left: -8px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: white transparent transparent transparent;
    z-index: 1;
}

.malak-flork {
    position: absolute;
    bottom: 20%;
    width: 110px;
    z-index: 3;
    animation: runAcross 2s linear infinite;
}

.malak-flork svg {
    width: 100%;
    height: auto;
    position: relative;
    /* Add a little running bounce */
    animation: runBounce 0.3s linear infinite alternate;
}

@keyframes runBounce {
    0% { bottom: 0px; }
    100% { bottom: 10px; }
}

@keyframes runAcross {
    0% { left: -200px; }
    100% { left: 120vw; }
}

/* Flashy Order Now Button Animations */
.btn-flashy {
    position: relative;
    overflow: hidden;
    animation: pulse-attention 2s infinite cubic-bezier(0.66, 0, 0, 1);
    box-shadow: 0 0 0 0 rgba(140, 22, 32, 0.7); /* Deep red pulse */
}

@keyframes pulse-attention {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140, 22, 32, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(140, 22, 32, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140, 22, 32, 0);
    }
}

.btn-flashy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine-attention 3s infinite;
}

@keyframes shine-attention {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
