@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@500;700&display=swap');

:root {
    --brand-blue: #54C1FE;
    --brand-brown: #5D4037;
    --cart-gold: #C69C6D;
    --bg-cream: #FFFDF5;
    --bg-alt: #FFF8E1; 
    --pure-white: #FFFFFF;
    /* Admin Colors */
    --stat-blue: #4facfe;
    --stat-green: #43e97b;
    --stat-red: #ff5858;
    --stat-orange: #ffc371;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Quicksand', sans-serif; background-color: var(--bg-cream); color: var(--brand-brown); margin: 0; overflow-x: hidden; }

/* --- NAVBAR --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; background: rgba(255, 255, 255, 0.95); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.05); backdrop-filter: blur(10px); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; }
.nav-logo-img { width: 50px; height: 50px; object-fit: contain; }
.nav-text { font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: var(--brand-brown); text-transform: uppercase; letter-spacing: 1px; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--brand-brown); font-weight: 700; font-size: 1rem; transition: 0.3s; position: relative; cursor: pointer; }
.nav-links a:hover { color: var(--brand-blue); }

/* Status Badge */
.status-badge { padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-left: auto; margin-right: 20px; transition: 0.3s; }
.status-badge.open { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; box-shadow: 0 0 10px rgba(67, 233, 123, 0.3); }
.status-badge.closed { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* --- HERO --- */
.hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; padding: 40px 20px; overflow: hidden; background: transparent; }
.hero-content { z-index: 10; max-width: 800px; animation: fadeInUp 1s ease-out; position: relative; }
.big-title { font-family: 'Fredoka One', cursive; font-size: 4rem; color: var(--brand-brown); line-height: 1.1; margin-bottom: 15px; }
.hero-desc { font-size: 1.1rem; color: #666; margin-bottom: 30px; line-height: 1.6; }
.cta-btn { background: var(--brand-brown); color: white; padding: 15px 45px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 1.1rem; box-shadow: 0 10px 20px rgba(93, 64, 55, 0.2); transition: all 0.3s ease; display: inline-block; cursor: pointer; }
.cta-btn:hover { background: var(--brand-blue); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(84, 193, 254, 0.3); }
.bubble-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden; }
.bubble { position: absolute; bottom: -50px; border-radius: 50%; opacity: 0.6; animation: riseUp linear infinite; }
@keyframes riseUp { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 0.6; } 100% { transform: translateY(-120vh); opacity: 0; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- FEATURED SECTION --- */
.featured-section { padding: 80px 5%; text-align: center; position: relative; z-index: 2; background: linear-gradient(-45deg, #fffdf5, #fff8e1, #fff0f5, #e3f2fd); background-size: 400% 400%; animation: gradientBG 15s ease infinite; }
@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.section-title { font-family: 'Fredoka One', cursive; font-size: 2.5rem; color: var(--brand-brown); margin-bottom: 40px; }
.section-title span { color: var(--brand-blue); }
.featured-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.featured-card { flex: 1; min-width: 250px; max-width: 350px; text-align: center; transition: transform 0.3s; }
.featured-card:hover { transform: translateY(-10px); }
.featured-img-box { width: 100%; height: 280px; border-radius: 35px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1); margin-bottom: 20px; background: white; }
.featured-img-box img { width: 100%; height: 100%; object-fit: cover; }
.featured-title { font-family: 'Fredoka One', cursive; font-size: 1.4rem; color: var(--brand-brown); margin-bottom: 5px; }
.featured-desc { color: #777; font-size: 0.9rem; }

/* --- MENU SECTION --- */
.menu-section { padding: 60px 0; background-color: var(--bg-cream); text-align: center; position: relative; z-index: 2; overflow: hidden; }
.menu-filters { margin: 30px 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 5; }
.filter-btn { padding: 8px 25px; border: 2px solid var(--brand-brown); background: transparent; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: 'Quicksand', sans-serif; color: var(--brand-brown); font-size: 0.9rem; }
.filter-btn.active, .filter-btn:hover { background: var(--brand-brown); color: white; }

/* CAROUSEL FIXED */
.carousel-wrapper { position: relative; width: 100%; max-width: 1500px; margin: 0 auto; display: flex; align-items: center; }
.nav-arrow { width: 50px; height: 50px; border-radius: 50%; background: white; color: var(--brand-brown); border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.1); font-size: 1.2rem; cursor: pointer; position: absolute; z-index: 20; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.nav-arrow:hover { background: var(--brand-brown); color: white; transform: scale(1.1); }
.prev-arrow { left: 20px; } .next-arrow { right: 20px; }

.menu-carousel { display: flex; overflow-x: auto; gap: 40px; width: 100%; padding: 50px 20px; scroll-behavior: smooth; align-items: center; cursor: grab; }
.menu-carousel::-webkit-scrollbar { display: none; }

.menu-item { flex: 0 0 440px; background: white; border-radius: 35px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: transform 0.4s ease; position: relative; border: 1px solid rgba(0,0,0,0.02); text-align: center; opacity: 1; transform: scale(0.95); }
.menu-item.active { transform: scale(1.05); box-shadow: 0 25px 50px rgba(0,0,0,0.15); z-index: 10; }
.menu-img-box { height: 280px; position: relative; background: radial-gradient(circle at center, #fcfbf8 0%, #ffffff 70%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.menu-img-box img { width: auto; height: 85%; object-fit: contain; transition: 0.4s; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.15)); }
.menu-item:hover .menu-img-box img { transform: translateY(-20px) scale(1.05); }

.slide-up-container { position: absolute; bottom: -60px; left: 0; width: 100%; display: flex; justify-content: center; transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); padding-bottom: 20px; }
.menu-item:hover .slide-up-container { bottom: 0px; }

.add-btn { background: var(--brand-brown); color: white; padding: 12px 35px; border-radius: 50px; font-weight: bold; border: none; cursor: pointer; box-shadow: 0 5px 15px rgba(93, 64, 55, 0.4); font-size: 1rem; }
.add-btn:hover { background: var(--brand-blue); }
.price-tag { position: absolute; top: 15px; left: 15px; background: var(--brand-brown); color: white; padding: 5px 12px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; z-index: 5; }
.menu-details { padding: 25px; padding-top: 10px; }
.menu-details h3 { font-size: 1.3rem; color: var(--brand-brown); margin-bottom: 5px; font-weight: 800; }
.menu-flavors { font-size: 0.8rem; color: var(--brand-blue); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 8px;}
.menu-details p { font-size: 0.95rem; color: #888; line-height: 1.4; margin-bottom: 0; }
#snacks-msg { display: none; width: 100%; flex: 0 0 100%; text-align: center; padding: 60px; background: white; border-radius: 35px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin: 0 auto; }
.addons-bar { margin-top: 40px; padding: 25px; background: white; border-radius: 35px; display: inline-block; box-shadow: 0 10px 30px rgba(0,0,0,0.08); max-width: 800px; border: 1px solid #eee; position: relative; z-index: 5; }
.addon-item { background: var(--bg-cream); border: 2px solid var(--cart-gold); padding: 8px 20px; border-radius: 50px; font-weight: bold; color: var(--brand-brown); cursor: pointer; margin: 5px; display: inline-block; transition: 0.3s; }
.addon-item:hover { background: var(--cart-gold); color: white; }

/* STORY SECTION */
.story-section { padding: 60px 10%; background: white; text-align: center; position: relative; z-index: 2; border-top: 1px dashed #eee; }
.story-content { max-width: 800px; margin: 0 auto; }
.story-title { font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--brand-brown); margin-bottom: 20px; }
.story-p { font-size: 1.1rem; line-height: 1.8; color: #666; margin-bottom: 20px; }
.story-highlight { color: var(--brand-blue); font-weight: bold; }

/* --- ABOUT, CONTACT, ADMIN --- */
#about-view, #contact-view, #admin-view { display: none; padding-bottom: 50px; }
.about-header, .contact-header, .admin-header { padding: 100px 20px; text-align: center; position: relative; background: white; }
.section { padding: 80px 10%; display: flex; align-items: center; gap: 60px; background: white; }
.section-img img { width: 100%; max-width: 600px; border-radius: 40px; border: 10px solid #5D4037; }
.section-text { flex: 1; }

.about-grid { display: flex; gap: 30px; justify-content: center; padding: 60px 10%; flex-wrap: wrap; background: var(--bg-alt); }
.about-card { 
    flex: 1; min-width: 250px; background: white; padding: 40px; border-radius: 35px; text-align: center; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-top: 5px solid var(--brand-blue); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; animation: popIn 0.8s ease-out forwards; opacity: 0; transform: translateY(30px);
}
.about-card:nth-child(1) { animation-delay: 0.1s; } .about-card:nth-child(2) { animation-delay: 0.3s; } .about-card:nth-child(3) { animation-delay: 0.5s; }
.about-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); border-color: var(--brand-brown); }
.about-card i { font-size: 3rem; color: var(--brand-brown); margin-bottom: 20px; transition: transform 0.3s; }
.about-card:hover i { transform: rotate(10deg) scale(1.1); color: var(--brand-blue); }
@keyframes popIn { to { opacity: 1; transform: translateY(0); } }

.contact-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; padding: 0 20px; }
.contact-info { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.info-box { background: white; padding: 25px; border-radius: 25px; width: 250px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); border: 1px solid #eee; transition: 0.3s; }
.info-box:hover { transform: translateY(-5px); border-color: var(--brand-blue); }
.info-box i { font-size: 2rem; color: var(--brand-blue); margin-bottom: 15px; }
.info-box h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--brand-brown); font-weight: bold; }
.info-box p { font-size: 0.95rem; color: #555; }
.contact-form-container { padding: 40px; background: white; border-radius: 35px; box-shadow: 0 20px 50px rgba(0,0,0,0.08); border: 1px solid #f0f0f0; position: relative; overflow: hidden; }
.contact-form-container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-brown)); }

/* ADMIN DASHBOARD */
.admin-dashboard { max-width: 1200px; margin: 0 auto; padding: 20px; }
.admin-stats { display: flex; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.stat-card { flex: 1; min-width: 220px; background: white; padding: 25px; border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); text-align: center; border-bottom: 5px solid transparent; position: relative; }
.stat-card.blue { border-bottom-color: var(--stat-blue); } .stat-card.green { border-bottom-color: var(--stat-green); } .stat-card.red { border-bottom-color: var(--stat-red); } .stat-card.orange { border-bottom-color: var(--stat-orange); }
.stat-number { font-size: 2.5rem; font-weight: bold; color: var(--brand-brown); display: block; margin-bottom: 5px; }
.stat-label { color: #777; font-size: 0.95rem; font-weight: bold; }
.stat-controls { margin-top: 10px; display: flex; justify-content: center; gap: 10px; }
.stat-btn { width: 30px; height: 30px; border-radius: 50%; border: none; color: white; cursor: pointer; font-weight: bold; }
.btn-plus { background: var(--stat-green); } .btn-minus { background: var(--stat-red); }

.admin-menu-list { background: white; padding: 30px; border-radius: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 40px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 15px; border-bottom: 2px solid #eee; color: var(--brand-brown); }
.admin-table td { padding: 15px; border-bottom: 1px solid #eee; color: #555; vertical-align: middle; }
.thumb-img { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; }
.action-btn { padding: 8px 12px; border-radius: 8px; border: none; cursor: pointer; font-size: 0.8rem; margin-right: 5px; color: white; font-weight: bold; transition: 0.3s; }
.edit-btn { background: var(--stat-orange); } .del-btn { background: var(--stat-red); } .add-item-btn { background: var(--brand-blue); color: white; padding: 10px 20px; border: none; border-radius: 20px; font-weight: bold; margin-bottom: 20px; cursor: pointer; float: right; }
.edit-btn:hover, .del-btn:hover, .add-item-btn:hover { opacity: 0.8; transform: translateY(-2px); }

/* --- ADMIN SWITCH TOGGLE --- */
.admin-control-panel { margin-top: 25px; padding: 15px 25px; background: var(--bg-cream); border-radius: 20px; display: inline-flex; align-items: center; gap: 15px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); }
.control-label { font-weight: bold; color: var(--brand-brown); }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #43e97b; -webkit-transition: .4s; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; -webkit-transition: .4s; transition: .4s; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
input:checked + .slider { background-color: #ff5858; } /* Red for Force Close */
input:focus + .slider { box-shadow: 0 0 1px #ff5858; }
input:checked + .slider:before { -webkit-transform: translateX(24px); -ms-transform: translateX(24px); transform: translateX(24px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

/* --- REFINED SOFT PREMIUM FOOTER --- */
.footer { 
    background: var(--brand-brown); 
    color: var(--bg-cream); /* Soft Cream Text */
    padding: 80px 5% 30px; /* Increased top padding for breathability */
    margin-top: 50px; 
    position: relative; 
    z-index: 10; 
    text-align: left; 
}

.footer-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr; /* Brand col slightly wider */
    gap: 60px; /* More breathable spacing */
    max-width: 1200px;
    margin: 0 auto 50px;
    padding-bottom: 20px;
    /* Removed border-bottom for softer feel */
}

.footer-col { display: flex; flex-direction: column; gap: 18px; }

/* Brand Column */
.footer-brand { 
    display: flex; align-items: center; gap: 15px; margin-bottom: 5px; 
    cursor: pointer; /* Interaction Cue */
    transition: 0.3s;
}
.footer-brand:hover { opacity: 0.9; transform: translateY(-2px); }

/* FIX: Ensure Footer Logo is Explicitly Sized */
.footer-logo-img { width: 55px; height: 55px; object-fit: contain; opacity: 0.9; }

.brand-text-group { display: flex; flex-direction: column; }
.footer-logo-text { font-family: 'Fredoka One', cursive; font-size: 1.6rem; letter-spacing: 1px; color: var(--brand-blue); line-height: 1; margin-bottom: 5px; }
.footer-tagline { font-family: 'Quicksand', sans-serif; font-size: 0.95rem; opacity: 0.8; font-style: italic; color: var(--cart-gold); margin: 0; }

.footer-socials { display: flex; gap: 15px; margin-top: 5px; }
.footer-socials a { 
    color: var(--bg-cream); font-size: 1.3rem; transition: 0.3s; opacity: 0.6; 
}
.footer-socials a:hover { color: var(--brand-blue); opacity: 1; transform: translateY(-3px); }

/* Headings & Text */
.footer-heading { 
    font-family: 'Quicksand', sans-serif; font-size: 1.1rem; font-weight: 700; 
    color: var(--brand-blue); margin-bottom: 5px; letter-spacing: 0.5px; 
}
.footer-text { font-size: 1rem; opacity: 0.85; line-height: 1.6; font-weight: 500; }
.footer-link { 
    color: var(--bg-cream); text-decoration: none; opacity: 0.85; 
    transition: 0.3s; font-size: 1rem; display: block; margin-top: 5px; 
}
.footer-link:hover { color: var(--brand-blue); opacity: 1; }

/* New Status Pill Badge */
.footer-status-pill {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 8px;
    width: fit-content;
    transition: 0.3s;
}

/* Delivery Icons */
.footer-delivery-icons { display: flex; gap: 15px; margin-top: 5px; }
.footer-delivery-icons img { 
    width: 40px; height: 40px; 
    object-fit: contain; 
    background: rgba(255,255,255,0.1); /* Subtle background */
    border-radius: 12px; /* Soft corners */
    padding: 8px; 
    cursor: pointer; 
    transition: 0.3s; 
    opacity: 0.8;
}
.footer-delivery-icons img:hover { transform: translateY(-3px); background: white; opacity: 1; }

/* Bottom Bar */
.footer-bottom { 
    text-align: center; 
    padding-top: 30px; 
    font-size: 0.9rem; 
    opacity: 0.5; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    border-top: 1px solid rgba(255,255,255,0.05); /* Very subtle separator */
}
.footer-bottom a { color: var(--bg-cream); text-decoration: none; transition: 0.2s; }
.footer-bottom a:hover { color: var(--brand-blue); }
.admin-trigger { cursor: pointer; transition: 0.3s; font-size: 0.9rem; opacity: 0.5; }
.admin-trigger:hover { color: var(--brand-blue); opacity: 1; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; } 
}
@media (max-width: 600px) {
    .footer { padding: 50px 20px 30px; text-align: center; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { justify-content: center; flex-direction: column; gap: 10px; }
    .brand-text-group { align-items: center; }
    .footer-socials { justify-content: center; }
    .footer-status-pill { margin: 10px auto 0; }
    .footer-delivery-icons { justify-content: center; }
}

/* --- 10/10 PREMIUM MODAL UPGRADE --- */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; top: 0; bottom: 0; right: 0; /* FIX: Full cover */
    width: 100vw; height: 100vh; /* FIX: Force full viewport */
    background: rgba(0,0,0,0.6); 
    backdrop-filter: blur(8px); 
    align-items: center; justify-content: center; 
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content { 
    background: white; 
    padding: 35px; 
    border-radius: 30px; 
    width: 90%; max-width: 480px; 
    position: relative; 
    text-align: center; 
    max-height: 90vh; 
    overflow-y: auto; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 10px 20px rgba(0,0,0,0.1); 
    border: 1px solid rgba(255,255,255,0.8);
    animation: popInSpring 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popInSpring {
    0% { transform: scale(0.8) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Close Button Upgrade */
.close-btn-wrapper {
    position: absolute; top: 15px; right: 15px;
    width: 35px; height: 35px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn-wrapper i { color: #888; font-size: 1.1rem; }
.close-btn-wrapper:hover { background: var(--stat-red); transform: rotate(90deg); }
.close-btn-wrapper:hover i { color: white; }

/* FIX: Restored & Styled the Simple Close Button */
.close-btn { 
    position: absolute; top: 15px; right: 20px; 
    font-size: 2rem; cursor: pointer; color: #888; 
    display: block; 
    line-height: 1;
    z-index: 10;
}
.close-btn:hover { color: var(--stat-red); }

/* Typography */
.modal-title { font-family: 'Fredoka One', cursive; color: var(--brand-brown); font-size: 1.8rem; margin-bottom: 5px; letter-spacing: 0.5px; }
.modal-subtitle { color: #888; margin-bottom: 30px; font-size: 0.95rem; font-weight: 500; }

/* Form Elements */
.submit-btn { width: 100%; padding: 15px; background: var(--brand-brown); color: white; border: none; border-radius: 18px; font-weight: bold; cursor: pointer; margin-top: 15px; font-size: 1.1rem; box-shadow: 0 8px 15px rgba(93, 64, 55, 0.2); transition: 0.3s; }
.submit-btn:hover { background: var(--brand-blue); transform: translateY(-2px); box-shadow: 0 12px 25px rgba(84, 193, 254, 0.3); }

.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; font-weight: bold; color: var(--brand-brown); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 2px solid #f0f0f0; border-radius: 15px; font-family: 'Quicksand', sans-serif; font-size: 1rem; background: #fafafa; transition: 0.3s; }
.form-group input:focus { border-color: var(--brand-blue); outline: none; background: white; }

.bill-row { display: flex; justify-content: space-between; margin-bottom: 12px; color: #555; font-size: 1rem; }
.bill-total { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 15px; border-top: 2px dashed #eee; font-weight: 800; font-size: 1.3rem; color: var(--brand-brown); }

#floating-cart { display: none; position: fixed; bottom: 30px; right: 30px; background: var(--brand-brown); color: white; padding: 15px 25px; border-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 1500; cursor: pointer; align-items: center; gap: 15px; }

/* Floating Support WhatsApp (Existing - Now a DIV button) */
.floating-support { 
    position: fixed; bottom: 30px; left: 30px; 
    width: 60px; height: 60px; 
    border-radius: 50%; 
    background: #25D366; 
    color: white; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 2rem; 
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); 
    z-index: 1500; 
    transition: transform 0.3s; 
    cursor: pointer; /* Ensure pointer */
}
.floating-support:hover { transform: scale(1.1); }

/* --- NEW GUIDED CHAT WIDGET (MOVED TO LEFT) --- */
.chat-widget {
    position: fixed; 
    bottom: 100px; /* Above the button */
    left: 30px; /* Aligned with Left button */
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1600;
    display: none; 
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.chat-header {
    background: linear-gradient(135deg, var(--brand-brown), #3E2723);
    padding: 15px; color: white;
    display: flex; justify-content: space-between; align-items: center;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-bot-img { width: 35px; height: 35px; border-radius: 50%; background: white; padding: 2px; }
.chat-title { font-weight: bold; font-size: 0.95rem; display: block; }
.chat-status { font-size: 0.75rem; color: #43e97b; }
.chat-close { font-size: 1.5rem; cursor: pointer; opacity: 0.8; }
.chat-close:hover { opacity: 1; }

.chat-body { padding: 20px; background: #f9f9f9; }
.chat-message { 
    background: white; padding: 12px; border-radius: 12px 12px 12px 0; 
    font-size: 0.9rem; color: #555; line-height: 1.5; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); margin-bottom: 15px;
}
.chat-options { display: flex; flex-direction: column; gap: 8px; }
.chat-opt-btn {
    padding: 10px; border: 1px solid var(--brand-blue); background: white;
    color: var(--brand-blue); border-radius: 20px; cursor: pointer;
    font-size: 0.85rem; font-weight: bold; transition: 0.2s;
}
.chat-opt-btn:hover { background: var(--brand-blue); color: white; }
.chat-opt-btn.primary { background: #25D366; color: white; border-color: #25D366; }
.chat-opt-btn.primary:hover { background: #128C7E; }

/* --- 10/10 APP-LEVEL POPUP BUTTONS --- */
.platform-grid { display: flex; flex-direction: column; gap: 18px; margin-bottom: 25px; }

.platform-btn {
    width: 100%; height: 65px; border: none; border-radius: 20px;
    cursor: pointer; position: relative; overflow: hidden;
    text-decoration: none; transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; align-items: center; justify-content: center;
}
.platform-btn:hover { transform: translateY(-3px); filter: brightness(1.05); }
.platform-btn:active { transform: scale(0.98); }
.platform-btn .btn-content { display: flex; align-items: center; gap: 15px; position: relative; z-index: 2; width: 100%; padding: 0 25px; }

/* === UPDATED ICON STYLES FOR PERFECT SYMMETRY === */
.platform-btn img {
    width: 42px; height: 42px; object-fit: contain;
    background: white; border-radius: 50%; padding: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); flex-shrink: 0; 
}
.platform-btn .btn-text { color: white; font-size: 1.2rem; font-weight: 500; letter-spacing: 0.5px; }
.platform-btn .btn-text strong { font-weight: 800; }

.swiggy-btn { background: linear-gradient(135deg, #FF7D0B 0%, #FF5200 100%); box-shadow: 0 12px 25px -8px rgba(255, 82, 0, 0.5); }
.zomato-btn { background: linear-gradient(135deg, #D92634 0%, #B3101E 100%); box-shadow: 0 12px 25px -8px rgba(217, 38, 52, 0.5); }
.secure-badge { font-size: 0.85rem; color: #999; display: flex; align-items: center; justify-content: center; gap: 6px; background: #f9f9f9; padding: 8px 15px; border-radius: 50px; display: inline-flex; }
.secure-badge i { color: #ccc; font-size: 0.8rem; }

/* --- PRELOADER & MOBILE FIXES --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-cream); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
.loader-cup { width: 80px; height: 100px; border: 4px solid var(--brand-brown); border-top: none; border-radius: 0 0 15px 15px; position: relative; overflow: hidden; margin-bottom: 20px; background: rgba(255,255,255,0.5); }
.loader-liquid { position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; background: var(--cart-gold); animation: fillUp 2s ease-in-out infinite; z-index: 1; }
.loader-boba { width: 12px; height: 12px; background: var(--brand-brown); border-radius: 50%; position: absolute; bottom: 10px; z-index: 2; animation: bounce 0.6s infinite alternate; }
.b1 { left: 20px; animation-delay: 0s; } .b2 { left: 35px; animation-delay: 0.2s; } .b3 { left: 50px; animation-delay: 0.4s; }
.loader-text { font-family: 'Fredoka One', cursive; color: var(--brand-brown); font-size: 1.2rem; letter-spacing: 1px; animation: pulse 1s infinite; }

@keyframes fillUp { 0% { height: 0%; } 50% { height: 70%; } 100% { height: 0%; } }
@keyframes bounce { 0% { transform: translateY(0); } 100% { transform: translateY(-15px); } }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }

@media (max-width: 768px) {
    .navbar { padding: 10px 15px; } .nav-text { display: none; } 
    .section { flex-direction: column; padding: 50px 20px; } .section-img { margin-bottom: 30px; }
    .menu-carousel { padding: 50px 20px; gap: 20px; scroll-padding-left: 20px; } 
    .menu-item { flex: 0 0 85vw; max-width: 85vw; transform: scale(0.98); } 
    .menu-item.active { transform: scale(1); }
    .nav-arrow { display: none; } 
    .contact-info { flex-direction: column; align-items: center; }
    .slide-up-container { bottom: 0 !important; }
    
    /* FIX: iOS Safari Status Badge Optimization */
    .status-badge {
        padding: 4px 12px;
        font-size: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        box-shadow: none !important; /* Remove glow for sharpness */
        border: 1px solid rgba(0,0,0,0.1);
        margin-right: 10px;
    }
    
    .status-badge.open {
        background: #d4edda;
        color: #155724;
        border-color: #c3e6cb;
    }
    
    .status-badge.closed {
        background: #f8d7da;
        color: #721c24;
        border-color: #f5c6cb;
    }
}
/* --- GOOGLE REVIEWS STYLING --- */
.reviews-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fffaf0; /* Blends with your theme */
}

/* The Carousel Container - optimized for mobile swiping! */
.reviews-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Enables horizontal scrolling */
    padding: 20px 10px;
    scroll-snap-type: x mandatory; /* Makes it 'snap' perfectly to each card */
    -webkit-overflow-scrolling: touch; /* Smooth swiping on iOS/Android */
}

/* Hide the ugly scrollbar but keep the function */
.reviews-carousel::-webkit-scrollbar {
    display: none;
}

/* Individual Review Cards */
.review-card {
    min-width: 300px; /* Size of the card */
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #f0e6d2;
    text-align: left;
    scroll-snap-align: center; /* Snaps card to the center of the screen */
    flex-shrink: 0; /* Prevents cards from squishing */
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 15px;
}

.reviewer-name {
    font-size: 16px;
    color: #5d4037; /* Your brand brown */
    margin: 0;
    font-weight: bold;
}
/* --- CENTERED EVENTS HEADER --- */
.events-hero {
    padding-top: 120px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.events-hero p {
    max-width: 600px;
    margin: 15px auto 30px auto;
    font-size: 18px;
    color: #666;
}

/* --- FASTER PEARLS --- */
.event-bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-duration: 4s; animation-delay: 0s; }
.event-bubble:nth-child(2) { width: 50px; height: 50px; left: 30%; animation-duration: 6s; animation-delay: 1s; }
.event-bubble:nth-child(3) { width: 100px; height: 100px; left: 55%; animation-duration: 5s; animation-delay: 2s; }
.event-bubble:nth-child(4) { width: 40px; height: 40px; left: 75%; animation-duration: 4.5s; animation-delay: 0.5s; }
.event-bubble:nth-child(5) { width: 70px; height: 70px; left: 85%; animation-duration: 5.5s; animation-delay: 1.5s; }
.event-bubble:nth-child(6) { width: 60px; height: 60px; left: 40%; animation-duration: 6.5s; animation-delay: 2.5s; }

/* --- RESPONSIVE GRID ALIGNMENT --- */
.events-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces 3 perfect columns on Desktop */
    gap: 30px;
    padding: 20px 20px 60px 20px;
    max-width: 1100px;
    margin: 0 auto; /* Centers the whole grid */
    position: relative;
    z-index: 10;
}

/* iPad / Tablet Optimization */
@media (max-width: 992px) {
    .events-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cards side-by-side on Tablets */
    }
}

/* Mobile Phone (Android/iOS) Optimization */
@media (max-width: 768px) {
    .events-container {
        grid-template-columns: 1fr; /* Stacks 1 on top of another perfectly for phones */
        padding: 10px 15px 40px 15px;
    }
    .events-hero h1 {
        font-size: 36px; /* Scales down the massive text so it fits mobile screens */
    }
}
/* ========================================= */
/* EVENTS PAGE UNIQUE BUBBLES         */
/* ========================================= */

.unique-events-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Keeps them safely behind your text and photos */
    top: 0;
    left: 0;
}

/* Base style for the event bubbles */
.event-bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, #ffd700, #daa520); /* Premium Gold Vibe */
    border-radius: 50%;
    opacity: 0.5;
    animation: floatUpEvents linear infinite;
}

/* Make every second bubble your brand Pink! */
.event-bubble:nth-child(even) {
    background: radial-gradient(circle at 30% 30%, #ffc0cb, #ff69b4); 
}

/* The Unique Float Path (Slightly faster and more scattered for a party feel) */
@keyframes floatUpEvents {
    0% { 
        transform: translateY(0) scale(0.8) rotate(0deg); 
        opacity: 0; 
    }
    20% { 
        opacity: 0.6; 
    }
    100% { 
        transform: translateY(-1200px) scale(1.2) rotate(360deg); 
        opacity: 0; 
    }
}

/* Sizing, positioning, and speed for each individual bubble */
.event-bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-duration: 4s; animation-delay: 0s; }
.event-bubble:nth-child(2) { width: 50px; height: 50px; left: 30%; animation-duration: 6s; animation-delay: 2s; }
.event-bubble:nth-child(3) { width: 100px; height: 100px; left: 55%; animation-duration: 5s; animation-delay: 4s; }
.event-bubble:nth-child(4) { width: 40px; height: 40px; left: 75%; animation-duration: 4.5s; animation-delay: 1s; }
.event-bubble:nth-child(5) { width: 70px; height: 70px; left: 85%; animation-duration: 5.5s; animation-delay: 3s; }
.event-bubble:nth-child(6) { width: 60px; height: 60px; left: 40%; animation-duration: 6.5s; animation-delay: 5s; }

/* ========================================= */
/* PREMIUM EVENT COLLAGE & CURVES            */
/* ========================================= */

/* The Puzzle Photo Grid */
.boba-collage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.collage-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.collage-item:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Make certain photos take up more space for that "Collage" feel! */
.span-tall {
    grid-row: span 2;
}
.span-wide {
    grid-column: span 2;
}

/* --- THE LIQUID CURVED TEXT SECTION --- */
.flowing-text-section {
    background-color: #ffffff;
    /* This creates that smooth wave/curve at the top of the white section! */
    border-top-left-radius: 50% 100px;
    border-top-right-radius: 50% 100px;
    padding: 80px 20px 60px 20px;
    margin-top: -30px; /* Pulls it up slightly behind the photos */
    position: relative;
    z-index: 5;
    text-align: center;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
}

.text-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.flowing-text-section h2 {
    color: #5d4037;
    font-size: 36px;
    margin-bottom: 20px;
}

.flowing-text-section p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* The 3 Text Features */
.event-perks {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
}

.perk h3 {
    color: #ffb6c1; /* Boba Pink */
    font-size: 20px;
    margin-bottom: 10px;
}

.perk p {
    font-size: 15px;
    margin-bottom: 0;
}

/* --- MOBILE OPTIMIZATION FOR COLLAGE --- */
@media (max-width: 768px) {
    .boba-collage-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on phone */
        grid-auto-rows: 150px;
    }
    .span-wide {
        grid-column: span 1; /* Reset wide on mobile */
    }
    .event-perks {
        flex-direction: column; /* Stack text blocks on mobile */
        text-align: center;
    }
    .flowing-text-section {
        border-top-left-radius: 50% 50px; /* Smaller curve on mobile */
        border-top-right-radius: 50% 50px;
    }
}
/* ========================================= */
/* EVENT BOOKING FORM STYLING                */
/* ========================================= */
.event-booking-section {
    padding: 40px 20px 80px 20px;
    position: relative;
    z-index: 10;
}

.booking-container {
    background: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.booking-container h2 {
    color: #5d4037;
    font-size: 32px;
    margin-bottom: 10px;
}

.booking-container p {
    color: #666;
    margin-bottom: 30px;
}

.event-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

/* Make inputs look clean and modern */
.event-form input, 
.event-form select, 
.event-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

/* Pink highlight when typing */
.event-form input:focus, 
.event-form select:focus, 
.event-form textarea:focus {
    border-color: #ffb6c1; 
    background: #ffffff;
}

.full-width-input {
    width: 100%;
}

/* The Submit Button */
.booking-btn {
    background: #5d4037; /* Boba Brown */
    color: #ffffff;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.booking-btn:hover {
    background: #ffb6c1; /* Brand Pink */
    color: #5d4037;
    transform: translateY(-3px);
}

/* Mobile Responsiveness for the form */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column; /* Stacks inputs on small phones */
    }
    .booking-container {
        padding: 25px 15px;
    }
}
/* === GOOGLE REVIEWS CAROUSEL === */
#live-reviews-container::-webkit-scrollbar { 
    display: none; 
}
#live-reviews-container { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}