/* style.css */

/* ===== NAVBAR RESET (DO NOT TOUCH) ===== */
nav a,
nav a:visited,
nav a:hover,
nav a:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

nav ul li {
    border: none !important;
}


/* ---- GLOBAL ---- */
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #faf7ff;
    color: #333;
}
h1, h2, h3 {
    font-family: 'Georgia', serif;
    color: #330066; /* deep purple */
}
a { text-decoration: none; color: inherit; }

/* ---- NAVBAR ---- */
nav {
    background: #330066;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}
nav h2 {
    color: #b8860b; /* gold */
    margin: 0;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
    color: white;
    font-weight: 500;
}
nav ul li a:hover {
    color: #b8860b;
}

/* ---- HERO SECTION ---- */
.hero {
    position: relative;
    padding: 80px 20px; /* reduced from 150px */
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('food.png') center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: -1;
}






.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #2e2e2e;
    text-shadow: 0 0 6px rgba(255,255,255,0.3);
}



.hero button {
    background: #b8860b;
    border: none;
    padding: 15px 35px;
    font-size: 1.2rem;
    color: #330066;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}
.hero button:hover {
    background: white;
}

/* ---- SECTIONS ---- */
section {
    padding: 60px 10%;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.menu-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}
.menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

/* ---- ORDER FORM ---- */
form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button.submit {
    background: #4b0082;
    color: white;
    padding: 15px;
    width: 100%;
    border: none;
    margin-top: 15px;
    border-radius: 5px;
    font-size: 1rem;
}
button.submit:hover {
    background: #b8860b;
    color: #4b0082;
}

/* ---- FOOTER ---- */
footer {
    background: #4b0082;
    padding: 30px;
    text-align: center;
    color: white;
}
footer span {
    color: #b8860b;
}

/* WhatsApp Floating Button */
/* Permanent Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #4b0082; /* deep purple */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    animation: pulse 2s infinite;
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
    filter: invert(82%) sepia(50%) saturate(500%) hue-rotate(320deg) brightness(1) contrast(0.9); 
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Temporary Popup */
/* Temporary Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 100px; /* above floating button */
    right: 25px;
    background: #4b0082;
    color: #f1c40f;
    border-radius: 12px;
    padding: 15px 20px;
    display: none; /* initially hidden */
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999; /* below floating button */
    animation: popupFade 0.8s ease;
}

.whatsapp-popup.show {
    display: flex;
}

.whatsapp-popup img {
    width: 40px;
    height: 40px;
}

.whatsapp-text p {
    margin: 0;
    font-weight: bold;
}

.whatsapp-text a {
    display: block;
    margin-top: 5px;
    color: #f1c40f;
    text-decoration: underline;
}

.close-popup {
    margin-left: auto;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

@keyframes popupFade {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}





/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* NAV MENU */
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* HAMBURGER BUTTON */
.hamburger {
    font-size: 32px;
    display: none;
    cursor: pointer;
    color: white;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    /* Hide normal menu on mobile */
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: rgba(0,0,0,0.8);
        flex-direction: column;
        padding: 20px;
        border-radius: 10px;
        width: 180px;
    }

    nav ul.active {
        display: flex;
    }

    /* Show hamburger menu */
    .hamburger {
        display: block;
    }
}


/* Logo + Text side-by-side */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo size */
.logo-container img {
    width: 45px;  /* adjust size */
    height: auto;
    border-radius: 8px; /* optional */
}



#menu-fullscreen {
    padding: 50px 20px;
    max-width: 100%;
    min-height: calc(100vh - 80px);
    background: 
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url("menu-bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* MENU BACKGROUND */
#menu-fullscreen {
    background: #f7f7f7;   /* light neutral background */
    padding: 60px 20px;
}

/* MENU CARD */
.menu-content {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* HEADINGS */
.menu-content h1 {
    color: #2b2b2b;
    text-align: center;
    margin-bottom: 30px;
}

.menu-content h2 {
    color: #f39c12; /* orange accent */
    margin-top: 40px;
}

.menu-content h3 {
    color: #333;
    margin-top: 20px;
}

/* MENU LIST */
.menu-content ul {
    list-style: none;
    padding: 0;
}

.menu-content li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    color: #444;
    font-size: 16px;
}

/* PRICE */
.menu-content .price {
    color: #f39c12;
    font-weight: 700;
}

nav .logo-container h2 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0; /* optional, keeps spacing clean */
}

.menu-content h1 {
    color: #2d1b0f; /* deep brown */
}

.menu-content h3 {
    color: #4a2f1b;
}

.menu-content li {
    color: #3a3a3a;
}

.testimonials {
    background: #f2e6ff;
    padding: 40px 0;
    overflow: hidden;
    position: relative;
}

.testimonials h2 {
    color: #330066;
    text-align: center;
    margin-bottom: 20px;
}

/* Slider container */
.testimonial-slider {
    overflow: hidden;
    white-space: nowrap;
}

/* Track with duplicated testimonials */
.testimonial-track {
    display: inline-flex;
    gap: 50px;
    animation: scroll 40s linear infinite; /* slower for readability */
}

/* Individual testimonial */
.testimonial-item {
    white-space: nowrap;
    font-size: 1.1rem;
    color: #333;
    font-style: italic;
}

/* Keyframes for continuous scroll */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* scroll half width to loop seamlessly */
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* white icons */
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.2);
}

.promo-banner {
  background: #c62828;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  animation: promoFlash 2.5s ease-in-out infinite;
}

@keyframes promoFlash {
  0%   { opacity: 1; }
  50%  { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ===== FORM ALIGNMENT FIX ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

form,
.form-group {
    width: 100%;
}

input,
select,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    display: block;
}

select {
    background-color: #fff;
}

/* Quantity input fix */
input[type="number"] {
    appearance: textfield;
}

/* Remove weird spacing between fields */
.form-group + .form-group {
    margin-top: 15px;
}

/* ===== FIX PHONE NUMBER & MEAL BOX JOINING ===== */

/* Ensure every form block is separated */
.form-group {
    margin-bottom: 20px;
}

/* Meal section box */
.meal-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Safety: inputs never stick to next element */
input,
select,
textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
}


