.full-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    overflow-y: auto;
}
.full-menu-overlay.active { display: block; }
.sticky-close-btn {
    position: fixed;   
    top: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    z-index: 999999 !important; 
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;    
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #000;

    /* ✨ Gold Shine Style */
    background: linear-gradient(45deg, #ffd700, #ffae00, #fff9ae, #ffd700);
    background-size: 400% 400%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    
    /* 🌟 Glitter Animation */
    animation: goldShine 3s ease infinite, glitter 1.5s infinite;
}


.navbar-logo-main {
    transition: transform 0.3s ease;
    object-fit: contain;
}


.navbar-brand:hover .navbar-logo-main {
    transform: scale(1.05); 
}

/* Brand text gap and style */
.brand-text {
    font-family: 'Arvo', serif;
    color: var(--lemon-yellow);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}
:root {
    --amalfi-green: #369438;
    --lemon-yellow: #ffda00;
    --gold: #ffca28;
    --white: #ffffff;
    --dark-bg: rgba(0, 0, 0, 0.98); 
}


body { 
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/bg.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--white);
}

/* 2. Header & Navigation */
.navbar {
    background-color: var(--amalfi-green);
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.navbar-brand span {
    font-family: 'Arvo', serif;
    color: var(--lemon-yellow);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-left: 10px;
}

.nav-link { 
   
    white-space: nowrap !important; 

    color: var(--white) !important; 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link:hover { color: var(--lemon-yellow) !important; }

/* 3. Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 { 
    font-family: 'Arvo', serif; 
    font-size: 4.5rem; 
    text-shadow: 2px 4px 15px rgba(0,0,0,0.5); 
}

.hero h1 span { color: var(--lemon-yellow); }

/* 4. Welcome & Signature Section */
.welcome-section { 
    padding: 100px 0; 
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.welcome-title { 
    font-family: 'Arvo', serif; 
    color: var(--lemon-yellow) !important; 
    font-size: 3rem; 
}

.dish-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    background: #212529 !important;
}

.dish-card:hover {
    transform: translateY(-10px);
    border-color: var(--lemon-yellow) !important;
}

/* 5. Menu Categories Section */
.menu-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.05);
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s ease;
    border-bottom: 6px solid var(--lemon-yellow);
    margin-bottom: 30px;
    color: #333;
}

.category-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
}

.category-card h3 { 
    color: var(--amalfi-green); 
    padding: 20px 0 10px; 
    font-family: 'Arvo', serif; 
    font-weight: 700; 
}

/* 6. FULL SCREEN MENU OVERLAY (The Magic Part) */
.full-menu-overlay {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: var(--dark-bg);
    backdrop-filter: blur(15px);
    z-index: 10000;
    overflow-y: auto; 
    perspective: 2000px;
}

/* Page Flip Animation */
.menu-book-animation {
    opacity: 0;
    transform: rotateY(-90deg);
    transform-origin: left;
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    min-height: 100vh; /* Book full height edukka */
    display: flex;
    flex-direction: column;
}

.full-menu-overlay.active .menu-book-animation {
    opacity: 1;
    transform: rotateY(0deg);
}

/* Menu Item Boxes */
.menu-item-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: 0.3s;
}

.menu-item-box:hover {
    border-color: var(--lemon-yellow);
    transform: translateY(-5px);
}

.menu-item-box img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* 7. UNIQUE CLOSE BUTTON - FIXED VISIBILITY */
.btn-menu-close {
    background: transparent !important;
    border: 2px solid var(--lemon-yellow) !important;
    color: var(--lemon-yellow) !important;
    padding: 12px 45px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.4s ease;
    display: inline-block !important; /* Force display */
    position: relative;
    z-index: 10001; /* Items-ku mela irukkanum */
    margin-top: 40px;
    margin-bottom: 60px; /* Space for bottom scroll */
    font-family: 'Arvo', serif;
}

.btn-menu-close:hover {
    background: var(--lemon-yellow) !important;
    color: #000 !important;
    box-shadow: 0 0 25px rgba(255, 218, 0, 0.5);
    transform: scale(1.05);
}

.btn-text { 
    display: block; 
    font-weight: 700; 
    font-size: 1.1rem; 
}

.btn-subtext { 
    display: block; 
    font-size: 0.75rem; 
    opacity: 0.8; 
    text-transform: uppercase; 
}

/* 8. Animations & Modals */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 0 20px var(--lemon-yellow);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.5); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-btn {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* 9. Footer */
footer {
    background-color: rgba(8, 28, 21, 0.9);
    color: var(--white);
    padding: 60px 0;
}

.footer-logo { 
    font-family: 'Arvo', serif; 
    color: var(--lemon-yellow); 
    font-size: 2.5rem; 
}


#cartBar {
    z-index: 10001 !important; 
    background-color: #1a1a1a !important; 
    border-top: 3px solid var(--lemon-yellow);
}


/* --- 🍋 AMALFI CLEAN & BIG NAVBAR --- */

.navbar {
    min-height: 110px !important;
    background-color: var(--amalfi-green) !important;
    position: fixed !important; 
    top: 0;
    width: 100%;
    z-index: 10000 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}

body {
    padding-top: 110px; 
}


.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    padding: 0 !important;
    margin: 0 !important;
}


.navbar-brand img {
    height: 100px !important;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}
.brand-text {
    font-family: 'Arvo', serif !important;
    color: var(--lemon-yellow) !important;
    font-size: 2.8rem !important; 
    font-weight: 800 !important;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    line-height: 1; 
}


.navbar-brand:hover img {
    transform: scale(1.05);
}


@media (max-width: 991px) {
    .navbar { min-height: 80px !important; }
    body { padding-top: 80px; }
    .navbar-brand img { height: 70px !important; }
    .brand-text { font-size: 1.8rem !important; }
}

.menu-item-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.menu-item-box p {
    min-height: 50px; 
    margin-bottom: 15px;
}


.menu-item-box button {
    margin-top: auto; 
}





.footer-left-side { display: inline-block; }
.created-inline-wrapper { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.created-text { font-size: 0.65rem; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; margin: 0; }

.matrix-brand { display: flex; align-items: center; gap: 8px; text-decoration: none !important; position: relative; }
.m-red { color: #FF0000; font-weight: 700; transition: 0.3s; }
.b-white { color: #FFFFFF; font-weight: 700; transition: 0.3s; }

.matrix-brand:hover .m-red { text-shadow: 0 0 15px #FF0000; }
.matrix-brand:hover .b-white { text-shadow: 0 0 15px #FFFFFF; }

.matrix-logo-circle-zoom { 
    width: 28px; height: 28px; 
    background: #fff; border-radius: 50%; overflow: hidden; 
    display: flex; justify-content: center; align-items: center; 
}
.matrix-logo-circle-zoom img { width: 100%; height: 100%; object-fit: cover; }

/* GLITTER PARTICLES */
.star-dust {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10060;
    animation: explode 1s ease-out forwards;
}

@keyframes explode {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; }
}

/* Mobile Fix */
@media (max-width: 768px) {
    .matrix-fixed-footer { height: auto; padding: 10px 0; }
    .footer-flex-container { flex-direction: column; gap: 8px; }
    .footer-side { text-align: center !important; }
}


