/* --- PRE-LOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

:root.dark .spinner {
    border-color: rgba(255, 255, 255, 0.1);
    border-top-color: var(--brand);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

body.loaded #preloader {
    opacity: 0;
    pointer-events: none;
}

/* --- CSS RESET & BASE --- */
:root {
    --brand: #f59f0b;
    /* warm amber from logo */
    --brand-2: #ffedd5;
    /* soft tint */
    --ink: #111111;
    --bg: #fffdf5;
    --muted: #6b7280;
    --card: #f8fafc;
    --ring: rgba(245, 159, 11, .45);
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --radius: 18px;
    --maxw: 1200px;
}

:root.dark {
    --bg: #0c0b08;
    --ink: #f5f5f5;
    --muted: #9aa0a6;
    --card: #121212;
    --shadow: 0 10px 30px rgba(0, 0, 0, .4);
    --brand-2: #2b1903;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(ellipse 1200px 800px at 20% 10%, rgba(251, 191, 36, 0.15), transparent 50%),
        radial-gradient(ellipse 1000px 600px at 80% 90%, rgba(245, 159, 11, 0.12), transparent 50%),
        var(--bg);
    color: var(--ink);
    font: 16px/1.6 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;

    /* Desktop: Keep the padding for sticky header */
    @media (min-width: 901px) {
        body {
            padding-top: 65px;
        }
    }

    /* Mobile: Remove padding and fix any remaining gap */
    @media (max-width: 900px) {
        body {
            padding-top: 0;
        }

        .hero {
            margin-top: -1px;
            /* Removes any border gap */
        }
    }
}

h1,
h2,
h3,
h4 {
    margin: 0 0 .6rem 0;
    font-family: 'Lora', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    letter-spacing: .2px;
    line-height: 1.25;
    color: #fbbf24;
}

p {
    margin: .4rem 0 1rem 0
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 0 20px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    box-shadow: var(--shadow);
    will-change: transform;
    user-select: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: translateY(0) scale(1);
}

.btn-primary {
    background: var(--brand);
    color: #111
}

.btn-outline {
    background: transparent;
    border-color: var(--brand);
    color: var(--brand)
}

.chip {
    padding: .35rem .7rem;
    border-radius: 999px;
    background: var(--brand-2);
    color: #111;
    font-weight: 700;
    letter-spacing: .1px;
    display: inline-block
}

/* --- HEADER / NAV --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .86);
    color: var(--ink);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    backdrop-filter: saturate(180%) blur(10px);
}

:root.dark .nav {
    background: rgba(0, 0, 0, .9);
    color: var(--ink);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px
}

.brand {
    display: flex;
    align-items: center;
    gap: .8rem
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ink)
}

.brand strong {
    font-size: 1.25rem;
    letter-spacing: .5px;
    color: #f59f0b;
}

.menu-toggle {
    border: none;
    background: transparent;
    padding: .6rem;
    border-radius: 10px;
    cursor: pointer
}

.menu-toggle {
    display: none;
}

/* Desktop Navigation */
.nav-links-desktop {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links-desktop a.link {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.3px;
    color: var(--ink);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-links-desktop a.link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links-desktop a.link:hover {
    color: var(--brand);
    background: rgba(245, 159, 11, 0.1);
}

.nav-links-desktop a.link:hover::before {
    width: 80%;
}

/* Mobile Slide-Out Sidebar */
.nav-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: var(--bg);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 60px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

body.sidebar-open .nav-sidebar {
    transform: translateX(0);
}

.nav-sidebar .nav-links-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.nav-sidebar .link {
    font-size: 1.2rem;
    font-family: 'Lora', serif;
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: 8px;
}

.nav-sidebar .link:hover {
    background-color: var(--brand-2);
}

:root.dark .nav-sidebar .link:hover {
    background-color: rgba(245, 159, 11, 0.1);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

body.sidebar-open .sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
}

.menu-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
}

.theme-toggle {
    border: none;
    background: transparent;
    padding: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.theme-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    color: var(--ink);
}

.theme-toggle .sun-icon {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

.theme-toggle .moon-icon {
    transform: translate(-50%, 100%) rotate(90deg);
    opacity: 0;
}

:root.dark .theme-toggle .sun-icon {
    transform: translate(-50%, -100%) rotate(-90deg);
    opacity: 0;
}

:root.dark .theme-toggle .moon-icon {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex
    }

    .nav-links-desktop {
        display: none;
    }
}

/* --- HERO --- */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 600px at 10% 0%, rgba(245, 159, 11, .2), transparent 60%),
        radial-gradient(1200px 600px at 90% 0%, rgba(245, 159, 11, .14), transparent 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 36px;
    align-items: center;
    padding: 60px 0
}

.hero h1 {
    font-size: clamp(2rem, 2.2rem + 2vw, 3.5rem)
}

.hero p {
    font-size: 1.1rem;
    opacity: .9
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: .4rem 0 1rem;
    flex-wrap: wrap;
}

.hero .card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow)
}

.hero-badge .chip.highlight-estd {
    background-color: var(--brand);
    color: #000;
    font-weight: bold;
}

.hero-badge .chip.highlight-veg {
    background-color: #16a34a;
    color: white;
    font-weight: bold;
}

:root.dark .hero-badge .chip.highlight-estd {
    background-color: var(--brand);
    color: #000;
}

:root.dark .hero-badge .chip.highlight-veg {
    background-color: #22c55e;
    color: #000;
}

@media (max-width:900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 36px 0 !important;
        width: 100% !important;
    }

    /* Add padding back to the text content */
    .hero-inner>div:first-child {
        padding: 0 20px;
    }

    .hero-visual {
        order: -1;
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero-visual img {
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: block;
        border-radius: var(--radius);
        /* Optional: in case rounded corners look like gaps */
    }
}

/* --- SECTION LAYOUTS --- */
section {
    padding: 64px 0;
    border-top: 1px solid rgba(0, 0, 0, .06)
}

:root.dark section {
    border-color: rgba(255, 255, 255, .06)
}

.grid {
    display: grid;
    gap: 22px
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr)
}

@media (max-width:900px) {

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr
    }

    .franchise-actions {
        justify-content: center;
    }
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow)
}

.sec-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    flex-wrap: wrap
}

.sec-head p {
    max-width: 680px
}

/* --- ENHANCED CARD ANIMATION --- */
.interactive-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

:root.dark .interactive-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 159, 11, 0.2);
}

/* --- HYGIENE PROMISE SECTION --- */
.hygiene-card {
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.hygiene-icon {
    display: inline-flex;
    padding: 16px;
    border-radius: 50%;
    background-color: var(--brand-2);
    color: var(--brand);
    margin-bottom: 16px;
}

:root.dark .hygiene-icon {
    background-color: var(--brand-2);
    color: var(--brand);
}

.hygiene-card h4 {
    font-size: 1.2rem;
}

/* --- ORDER ONLINE SECTION --- */
.order-card {
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.order-card img {
    height: 40px;
    width: auto;
    margin: 0 auto 16px;
    object-fit: contain;
}

/* --- GALLERY --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.gallery-filters .btn {
    padding: .6rem 1rem;
}

.gallery-filters .btn.active {
    background: var(--brand);
    color: #111;
}

.masonry {
    columns: 1;
    column-gap: 16px
}

@media (min-width:640px) {
    .masonry {
        columns: 2
    }
}

@media (min-width:1000px) {
    .masonry {
        columns: 3
    }
}

.masonry figure {
    break-inside: avoid;
    margin: 0 0 16px 0;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.masonry figure.hidden {
    transform: scale(0.9);
    opacity: 0;
    display: none;
}

.masonry figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    color: #fff;
    padding: 50px 12px 10px 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
}

.masonry figure:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

/* --- MENU PREVIEW --- */
.menu-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-bottom: 1px dashed rgba(0, 0, 0, .08);
    padding: 16px 0;
    transition: background-color 0.2s ease;
}

.menu-item:hover {
    background-color: rgba(245, 159, 11, 0.05);
}

:root.dark .menu-item {
    border-color: rgba(255, 255, 255, .08)
}

:root.dark .menu-item:hover {
    background-color: rgba(245, 159, 11, 0.1);
}

.menu-item .price {
    margin-left: auto;
    font-weight: 800;
    white-space: nowrap;
}

.veg::after {
    content: "•";
    color: #16a34a;
    margin-left: 6px
}

.bestseller-tag {
    font-size: 0.75rem;
    background: var(--brand);
    color: #111;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 8px;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    margin-left: 8px
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--brand), transparent)
}

.timeline .row {
    position: relative;
    padding-left: 36px;
    margin: 20px 0
}

.timeline .row::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(245, 159, 11, .25)
}

/* --- TESTIMONIALS (SLIDER) --- */
.testimonial-slider {
    width: 100%;
    padding-bottom: 40px;
    /* Space for pagination */
}

.testimonial-slider .swiper-slide {
    padding: 10px;
}

.testimonial-slider .card {
    height: 100%;
}

.swiper-pagination-bullet {
    background: var(--muted);
}

.swiper-pagination-bullet-active {
    background: var(--brand);
}

.quote {
    font-style: italic
}

.stars {
    letter-spacing: 2px
}

/* --- CTA STRIP --- */
.cta {
    background: linear-gradient(90deg, var(--brand), #ffd38a);
    color: #111;
    border-radius: 22px;
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow)
}

.cta p {
    margin: 0
}

@media (max-width:900px) {
    .cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center
    }
}

/* --- FOOTER --- */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    font-size: 0.95rem;
    background-color: var(--card);
}

:root.dark footer {
    background-color: #000;
    border-top-color: rgba(255, 255, 255, 0.1);
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

.footer-col h4 {
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    color: var(--ink);
}

.footer-col p,
.footer-col li {
    color: var(--ink);
    margin-bottom: 0.5rem;
}

:root.dark .footer-col p,
:root.dark .footer-col li {
    color: #ffffff;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--ink);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand);
}

.nav-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.social-links a {
    color: var(--muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a svg {
    width: 32px;
    height: 32px;
}

.social-links a:hover {
    color: var(--brand);
    transform: scale(1.1);
}

.footer-order-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zomato-card {
    background: var(--bg);
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

:root.dark .zomato-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.zomato-card img {
    height: 25px;
    width: auto;
    margin: 0 auto 8px;
    object-fit: contain;
}

.zomato-card .rating {
    display: none;
}

/* Hiding rating for a cleaner look */

@media (max-width: 900px) {
    .foot-cols {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 640px) {
    .foot-cols {
        grid-template-columns: 1fr
    }

    .footer-col {
        text-align: center;
    }

    .foot-cols .brand {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-order-cards {
        flex-direction: row;
        justify-content: center;
    }
}

/* --- UTILITIES --- */
.copy-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-btn svg {
    transition: transform 0.2s ease-in-out;
}

.copy-btn:hover svg {
    transform: scale(1.2) rotate(5deg);
}

.copy-feedback {
    font-size: 0.8rem;
    color: var(--brand);
    font-weight: bold;
    margin-left: 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.center {
    text-align: center
}

.mb-1 {
    margin-bottom: .35rem
}

.mb-2 {
    margin-bottom: .7rem
}

.mb-3 {
    margin-bottom: 1rem
}

.mb-4 {
    margin-bottom: 1.4rem
}

.mt-2 {
    margin-top: .7rem
}

.mt-4 {
    margin-top: 1.4rem
}

.pill {
    display: inline-block;
    background: rgba(0, 0, 0, .08);
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .85rem
}

:root.dark .pill {
    background: rgba(255, 255, 255, .08)
}

.ring {
    outline: 2px solid var(--ring);
    outline-offset: 3px
}

/* --- ABOUT SECTION ENHANCEMENTS --- */
@media (max-width: 900px) {
    #about .grid {
        gap: 20px;
    }

    .about-visual {
        order: -1;
        /* Puts image on top on mobile */
    }
}

/* --- CONTACT FORM STYLES --- */
.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9em;
    color: var(--muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background-color: var(--bg);
    color: var(--ink);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

:root.dark .contact-form input,
:root.dark .contact-form textarea {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--ring);
}

.contact-form textarea {
    resize: vertical;
}

/* --- FOUNDER SECTION --- */
#founder h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 1.2rem;
    color: var(--brand);
    margin-top: -0.5rem;
}

@media (max-width: 900px) {
    .founder-visual {
        order: -1;
        /* Puts image on top on mobile */
    }
}

/* --- MOBILE FLOATING ACTION BUTTON --- */
.fab-container {
    display: none;
    position: fixed;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 100;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--brand);
    color: #111;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.fab-main:hover {
    transform: scale(1.05);
}

.fab-icon-close {
    display: none;
}

.fab-container.active .fab-icon-default {
    display: none;
}

.fab-container.active .fab-icon-close {
    display: block;
}

.fab-container.active .fab-main {
    transform: rotate(45deg);
}

.fab-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fab-option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--card);
    color: var(--ink);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.fab-container.active .fab-option {
    transform: scale(1);
}

.fab-container.active .fab-option:nth-child(1) {
    transition-delay: 0.1s;
}

.fab-container.active .fab-option:nth-child(2) {
    transition-delay: 0.05s;
}

.fab-option:nth-child(1) {
    background-color: #25D366;
    color: white;
}

/* WhatsApp */
.fab-option:nth-child(2) {
    background-color: #3b82f6;
    color: white;
}

/* Call */

@media (max-width: 768px) {
    .fab-container {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    /* Mobile header spacing */
    .nav-inner {
        padding: 15px 20px;
    }

    /* Mobile hero spacing */
    .hero {
        padding: 60px 0 40px 0;
    }

    .hero-inner {
        padding: 0 20px;
        gap: 30px;
    }

    .hero-content {
        padding: 20px 0;
    }

    .hero-visual {
        padding: 20px;
    }

    .hero-visual img {
        margin: 0 auto;
    }
}

/* --- CONTACT SECTION GRID --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Default to a single column for mobile */
    gap: 20px;
}

.map-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 350px;
    /* Ensure map has a good height on mobile */
}

.map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 400px;
}

.map-card iframe {
    pointer-events: auto;
}

.map-button {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--brand) !important;
    color: #111 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: auto;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

/* FRANCHISE PAGE STYLES */
#requirements .hygiene-card h4 {
    font-size: 1.2rem;
}

#requirements .hygiene-card p {
    font-size: 0.95rem;
}

.investment-table {
    max-width: 800px;
    margin: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

:root.dark .investment-table {
    border-color: rgba(255, 255, 255, 0.1);
}

.table-row,
.table-header,
.table-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.table-cell {
    padding: 1rem;
}

.table-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

:root.dark .table-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.table-row:last-child {
    border-bottom: none;
}

.table-header {
    background-color: var(--card);
    font-family: 'Lora', serif;
}

:root.dark .table-header {
    background-color: #1a1a1a;
}

.table-footer {
    background-color: var(--brand-2);
    font-family: 'Lora', serif;
    font-size: 1.1rem;
}

:root.dark .table-footer {
    background-color: rgba(245, 159, 11, 0.1);
}

#support-system .grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    #support-system .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    #support-system .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Fix for Mobile Menu Icon Color in Dark Mode */
.menu-toggle {
    color: var(--ink);
}

/* --- Final Fix: Add Gap After Our Story Section --- */
#story+section {
    margin-top: 64px;
    /* Adjust this value for a bigger or smaller gap */
}

/* ========================================
   MODERN CARD-BASED UI ENHANCEMENTS
   ======================================== */

/* --- ENHANCED COLOR SYSTEM --- */
:root {
    --gradient-primary: linear-gradient(135deg, #f59f0b 0%, #fbbf24 100%);
    --gradient-secondary: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    --gradient-accent: linear-gradient(135deg, #f59f0b 0%, #fb923c 100%);
    --glow-brand: 0 0 20px rgba(245, 159, 11, 0.3), 0 0 40px rgba(245, 159, 11, 0.2);
    --glow-brand-strong: 0 0 30px rgba(245, 159, 11, 0.5), 0 0 60px rgba(245, 159, 11, 0.3);
}

/* --- MODERN GLASSMORPHISM CARD --- */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s ease;
}

:root.dark .glass-card {
    background: rgba(18, 18, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

:root.dark .glass-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), var(--glow-brand);
}

/* --- GLOWING CARD EFFECT --- */
.glowing-card {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.glowing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glowing-card:hover::before {
    opacity: 1;
}

.glowing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--glow-brand-strong), 0 20px 60px rgba(0, 0, 0, 0.2);
}

:root.dark .glowing-card:hover {
    box-shadow: var(--glow-brand-strong), 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* --- MODERN GRADIENT CARD --- */
.gradient-card {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 2px;
    transition: all 0.3s ease;
}

.gradient-card-inner {
    background: var(--card);
    border-radius: calc(var(--radius) - 2px);
    padding: 24px;
    height: 100%;
}

.gradient-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-brand), 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* --- MODERN FAQ ACCORDION CARDS --- */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border-radius: var(--radius);
    padding: 0;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 24px rgba(245, 159, 11, 0.2), var(--shadow);
    transform: translateY(-2px);
}

.faq-item[open] {
    border-color: var(--brand);
    box-shadow: var(--glow-brand), var(--shadow);
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--brand);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-2);
    border-radius: 50%;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item summary:hover {
    color: var(--brand);
    background: rgba(245, 159, 11, 0.05);
}

.faq-item p {
    padding: 0 24px 24px 24px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ENHANCED SECTION CARDS --- */
.section-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

:root.dark .section-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), var(--glow-brand);
}

/* --- MODERN STORY & FOUNDER CARDS --- */
.story-card,
.founder-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card::before,
.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.story-card:hover::before,
.founder-card:hover::before {
    transform: scaleX(1);
}

.story-card:hover,
.founder-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-brand), 0 20px 60px rgba(0, 0, 0, 0.15);
}

:root.dark .story-card:hover,
:root.dark .founder-card:hover {
    box-shadow: var(--glow-brand-strong), 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* --- ENHANCED ORDER CARDS --- */
.order-card {
    position: relative;
    overflow: hidden;
}

.order-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.order-card:hover::after {
    opacity: 0.05;
}

.order-card>* {
    position: relative;
    z-index: 1;
}

/* --- ENHANCED HYGIENE CARDS --- */
.hygiene-card {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hygiene-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.hygiene-card:hover::before {
    opacity: 0.3;
}

.hygiene-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(245, 159, 11, 0.2);
}

.hygiene-icon {
    transition: all 0.3s ease;
}

.hygiene-card:hover .hygiene-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-primary);
    color: #000;
}

/* --- ENHANCED INTERACTIVE CARDS --- */
.interactive-card {
    position: relative;
    overflow: hidden;
}

.interactive-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 159, 11, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.interactive-card:hover::after {
    width: 300%;
    height: 300%;
}

/* --- GRID ENHANCEMENTS --- */
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* --- SMOOTH SCROLL ANIMATIONS --- */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: slideInUp 0.6s ease-out;
}

/* --- ENHANCED BUTTON STYLES --- */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

/* --- ENHANCED MENU ITEMS --- */
.menu-item {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
}

.menu-item:hover {
    background: var(--gradient-primary);
    color: #000;
    border-color: transparent;
}

.menu-item:hover .price {
    color: #000;
    font-weight: 900;
}

/* --- ENHANCED TIMELINE --- */
.nav-links-desktop .btn-primary {
    background: linear-gradient(135deg, #f59f0b 0%, #d97706 100%);
    color: #111;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(245, 159, 11, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.nav-links-desktop .btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59f0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 159, 11, 0.4);
    color: #000;
}

.timeline .row {
    background: var(--card);
    border-radius: 12px;
    padding: 20px 20px 20px 36px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.timeline .row:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(245, 159, 11, 0.2);
}

.timeline .row::before {
    box-shadow: 0 0 0 4px rgba(245, 159, 11, 0.25), 0 0 20px rgba(245, 159, 11, 0.4);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {

    .glowing-card,
    .story-card,
    .founder-card {
        padding: 24px;
    }

    .faq-item summary {
        font-size: 1rem;
        padding: 16px 20px;
    }

    .faq-item p {
        padding: 0 20px 20px 20px;
    }
}
