
:root {
    --red:          #e23744;
    --red-dark:     #c0392b;
    --red-light:    #ff6b6b;
    --orange:       #f57c00;
    --orange-light: #ffa726;
    --white:        #ffffff;
    --off-white:    #f8f8f8;
    --gray-100:     #f5f5f5;
    --gray-200:     #eeeeee;
    --gray-400:     #bdbdbd;
    --gray-600:     #757575;
    --gray-800:     #424242;
    --dark:         #1a1a1a;
    --darker:       #0d0d0d;

    --font:        'Outfit', sans-serif;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 8px 24px rgba(0,0,0,0.14);
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   24px;
    --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--off-white); color: var(--dark); overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
img   { display: block; }


.menu-toggle-checkbox {
    display: none; 
}

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(15, 5, 5, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-icon  { font-size: 24px; }

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-location {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
}

.nav-location:hover { background: rgba(255,255,255,0.1); }

.nav-location-icon   { font-size: 14px; }
.nav-location-text   { font-size: 13px; font-weight: 600; color: var(--white); white-space: nowrap; }
.nav-location-arrow  { font-size: 10px; color: rgba(255,255,255,0.6); }


.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

/* Active nav link — highlights when its section is open (:has is modern CSS) */
body:has(#offers:target)   a.nav-link[href="#offers"],
body:has(#reviews:target)  a.nav-link[href="#reviews"],
body:has(#contact:target)  a.nav-link[href="#contact"],
body:has(#menu:target)     a.nav-link[href="#menu"] {
    color: var(--white);
    background: var(--red);
    font-weight: 700;
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-login,
.btn-signup {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-login {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.55);
    color: var(--white);
}

.btn-login:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
}

.btn-signup {
    background: var(--red);
    color: var(--white);
    border: 1.5px solid var(--red);
}

.btn-signup:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(226,55,68,0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    margin-left: auto;
    transition: background var(--transition);
}

.hamburger:hover { background: rgba(255,255,255,0.1); }

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* Animate hamburger → X when menu is open */
.menu-toggle-checkbox:checked ~ header .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle-checkbox:checked ~ header .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle-checkbox:checked ~ header .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    z-index: 9998;

    /* Hidden by default — slide up out of view */
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
}

/* Show drawer when checkbox is checked */
.menu-toggle-checkbox:checked ~ .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-close {
    align-self: flex-end;
    font-size: 20px;
    cursor: pointer;
    color: var(--gray-600);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    margin-bottom: 8px;
}

.mobile-close:hover { background: var(--gray-100); color: var(--red); }

.mobile-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-800);
    padding: 14px 8px;
    border-bottom: 1px solid var(--gray-200);
    transition: color var(--transition), padding-left var(--transition);
}

.mobile-link:hover { color: var(--red); padding-left: 14px; }

.mobile-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.mobile-actions .btn-login {
    flex: 1;
    border-color: var(--red);
    color: var(--red);
    text-align: center;
    padding: 11px;
}

.mobile-actions .btn-signup {
    flex: 1;
    padding: 11px;
}

/* Dark overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9997;
    cursor: pointer;
}

.menu-toggle-checkbox:checked ~ .mobile-overlay { display: block; }


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 110px 24px 80px;
}

/* Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.5) saturate(1.2);
    animation: heroZoom 10s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1.0); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10,5,5,0.60) 0%,
        rgba(20,5,5,0.40) 50%,
        rgba(0,0,0,0.75) 100%
    );
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    width: 100%;
    animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Tagline pill */
.hero-tagline {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--orange-light);
    background: rgba(245,124,0,0.15);
    border: 1px solid rgba(245,124,0,0.32);
    padding: 6px 18px;
    border-radius: 99px;
    margin-bottom: 22px;
}

/* Main Heading */
.hero-title {
    font-size: clamp(34px, 5.5vw, 62px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

.hero-highlight {
    background: linear-gradient(90deg, var(--red-light), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.78);
    max-width: 480px;
    margin: 0 auto 38px;
    line-height: 1.7;
}


/* ===== BIG SEARCH BOX ===== */
.hero-search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.32);
    height: 62px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 22px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.hero-search-box:focus-within {
    box-shadow: 0 24px 70px rgba(0,0,0,0.38), 0 0 0 3px rgba(226,55,68,0.28);
    transform: translateY(-2px);
}

/* Location dropdown */
.search-location {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px 0 18px;
    flex-shrink: 0;
    position: relative;
}

.search-loc-icon   { font-size: 17px; }

.search-loc-select {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 18px;
    max-width: 110px;
}

.search-loc-arrow {
    position: absolute;
    right: 12px;
    font-size: 10px;
    color: var(--gray-600);
    pointer-events: none;
}

/* Divider */
.search-divider {
    width: 1.5px;
    height: 30px;
    background: var(--gray-200);
    flex-shrink: 0;
}

/* Text Input */
.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
}

.search-input-icon { font-size: 17px; color: var(--gray-400); flex-shrink: 0; }

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font);
    font-size: 14px;
    color: var(--dark);
}

.search-input::placeholder { color: var(--gray-400); }

/* Search Button */
.search-btn {
    height: 100%;
    padding: 0 28px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    white-space: nowrap;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    letter-spacing: 0.4px;
}


/* Popular Tags */
.popular-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.9s 0.2s ease both;
    opacity: 0;
    animation-fill-mode: forwards;
}

.popular-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.tag {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.20);
    padding: 5px 14px;
    border-radius: 99px;
    cursor: pointer;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.tag:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(226,55,68,0.4);
}


/* ===== STATS ROW ===== */
.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    padding: 20px 40px;
    margin-top: 56px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.9s 0.35s ease both;
    opacity: 0;
    animation-fill-mode: forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 36px;
    gap: 4px;
}

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.60);
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.stat-divider {
    width: 1.5px;
    height: 36px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}


/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 13px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollBounce 1.7s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0);    opacity: 1; }
    80%       { transform: translateY(14px); opacity: 0; }
}


/* ============================================================
   MENU SECTION
   ============================================================ */
.menu {
    padding: 90px 50px;
    background: var(--off-white);
    text-align: center;
}

.menu h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 48px;
    letter-spacing: -0.5px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* ── Image wrapper (for offer badge overlay) ── */
.card-img-wrap {
    position: relative;
    overflow: hidden;
}

.card-img-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover .card-img-wrap img { transform: scale(1.06); }


/* Offer badge on image */
.card-offer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(20, 80, 200, 0.92);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

/* ── Info block below image ── */
.card-info {
    padding: 14px 16px 16px;
    text-align: left;
}

/* Name + Rating on same row */
.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

/* Green rating pill */
.card-rating {
    background: #27ae60;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.card-cuisine {
    font-size: 13px;
    color: var(--gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.card-location {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

/* "Opens at" — red like Zomato */
.card-opens {
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 10px;
}

/* Price + Distance row */
.card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gray-200);
    padding-top: 10px;
}

.card-price {
    font-size: 13px;
    color: var(--gray-800);
    font-weight: 500;
}

.card-distance {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 600;
}




/* ============================================================
   OFFERS SECTION — hidden by default, shown on :target
   ============================================================ */
.offers-section {
    display: none;
    padding: 100px 50px 80px;
    text-align: center;
    background: var(--off-white);
    animation: sectionReveal 0.45s ease both;
}

.offers-section:target {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 500;
    overflow-y: auto;
    animation: sectionReveal 0.35s ease both;
}

.offers-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.offers-subtitle {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.offer-img-wrap img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.offer-body {
    padding: 6px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    width: fit-content;
    letter-spacing: 0.3px;
}

.offer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.offer-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}

.offer-desc strong {
    color: var(--red);
    font-weight: 700;
}

.offer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.offer-validity {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
}

.offer-btn {
    background: var(--red);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    display: inline-block;
}

.offer-btn:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(226,55,68,0.35);
}

@media (max-width: 640px) {
    .offers-grid { grid-template-columns: 1fr; }
    .offers-section { padding: 80px 20px 60px; }
}


/* ============================================================
   REVIEWS SECTION — hidden by default, shown on :target
   ============================================================ */
.reviews {
    display: none;
    padding: 0;
    background: #f0eeeb;
    animation: sectionReveal 0.45s ease both;
    position: relative;
}

.reviews:target {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 500;
    overflow-y: auto;
    animation: sectionReveal 0.35s ease both;
}

/* Close button repositioned for this layout */
.reviews-close {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 10;
    background: rgba(255,255,255,0.85);
    color: var(--dark);
    border-color: rgba(255,255,255,0.4);
}

/* Food image banner */
.reviews-banner {
    background: url('images/food.jpg') center/cover no-repeat;
    position: relative;
    padding: 80px 40px 100px;   /* extra bottom padding = space for avatar overlap */
    text-align: left;
}

.reviews-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.reviews-banner-title {
    position: relative;
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    font-family: Georgia, serif;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.reviews-banner-sub {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Cards grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 60px;
    position: relative;
    margin-top: -20px;   /* cards sit lower under the banner */
}

/* Avatar sits at the top of the card — overlap achieved via card padding-top */
.review-card {
    background: var(--white);
    border-radius: 6px;
    padding: 0 28px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* Avatar — pops out of the top of the card */
.review-avatar {
    margin-top: -48px;
    margin-bottom: 16px;
}

.avatar-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    border: 4px solid var(--white);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.avatar-1 { background: linear-gradient(135deg, #e23744, #c0392b); }
.avatar-2 { background: linear-gradient(135deg, #e67e22, #d35400); }
.avatar-3 { background: linear-gradient(135deg, #27ae60, #1e8449); }

/* Decorative flourish */
.review-flourish {
    font-size: 26px;
    color: #c8a96e;
    margin-bottom: 16px;
    line-height: 1;
}

.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
}

.review-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        margin-top: -40px;
        padding: 0 20px 40px;
    }
    .reviews-banner { padding: 60px 24px 80px; }
}



/* ============================================================
   CONTACT SECTION — hidden by default, shown on :target
   ============================================================ */
.contact {
    display: none;   /* Hidden until #contact is targeted */
    padding: 100px 50px 80px;
    text-align: center;
    background: var(--white);
    animation: sectionReveal 0.45s ease both;
}

.contact:target {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 500;
    overflow-y: auto;
    animation: sectionReveal 0.35s ease both;
}

.contact h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 36px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 500px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    font-family: var(--font);
    font-size: 15px;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    color: var(--dark);
    background: var(--off-white);
}

.contact input:focus,
.contact textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(226,55,68,0.12);
    background: var(--white);
}

.contact textarea { min-height: 130px; resize: vertical; }

.contact button[type="submit"] {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.contact button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226,55,68,0.35);
}


/* ===== SECTION CLOSE BUTTON ===== */
.section-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 32px;
    transition: all var(--transition);
    text-decoration: none;
}

.section-close:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* Section reveal animation */
@keyframes sectionReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--darker);
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 28px 24px;
    font-size: 14px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .menu-items { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }

    .hero-search-box {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--radius-md);
        overflow: visible;
    }

    .search-location  { padding: 14px 16px; border-bottom: 1px solid var(--gray-200); }
    .search-divider   { display: none; }
    .search-input-wrap{ padding: 14px 16px; border-bottom: 1px solid var(--gray-200); }
    .search-btn       { border-radius: 0 0 var(--radius-md) var(--radius-md); padding: 14px; justify-content: center; }

    .hero-stats { padding: 18px 24px; }
    .stat-item  { padding: 8px 20px; }
    .stat-number{ font-size: 22px; }
}

@media (max-width: 640px) {
    /* Show hamburger, hide desktop nav */
    .nav-links, .nav-actions    { display: none; }
    .hamburger                  { display: flex; }
    .nav-location               { display: none; }

    .menu                       { padding: 60px 20px; }
    .reviews:target,
    .contact:target             { padding: 80px 20px 60px; }
    .menu-items                 { grid-template-columns: 1fr; }

    .hero-title                 { letter-spacing: -0.5px; }
    .stat-divider               { display: none; }
    .stat-item                  { padding: 8px 12px; }
    .hero-stats                 { flex-wrap: wrap; gap: 4px; padding: 14px 12px; }
}


/* ============================================================
   AUTH PAGES — LOGIN & SIGNUP
   Right-side slide-in panel over the hero page
   ============================================================ */
.auth-page {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 600;
    pointer-events: none;   /* pass clicks through to backdrop */
}

#login:target,
#signup:target,
#location:target { display: block; }

/* Dark translucent backdrop — left side, hero shows through */
.auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: all;
    /* Clicking the backdrop goes back (#) */
}

/* White slide-in panel — right side */
.auth-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 44px;
    box-shadow: -12px 0 50px rgba(0,0,0,0.25);
    overflow-y: auto;
    pointer-events: all;
    animation: slideInRight 0.38s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);   opacity: 1; }
}

/* Logo */
.auth-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 36px;
    display: block;
}

.auth-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 28px;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.auth-field input {
    font-family: var(--font);
    font-size: 14px;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    color: var(--dark);
    background: var(--off-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-field input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(226,55,68,0.12);
    background: var(--white);
}

/* Remember me + Forgot */
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
    cursor: pointer;
}

.auth-forgot { color: var(--red); font-weight: 600; }
.auth-forgot:hover { text-decoration: underline; }

/* Submit button */
.auth-btn {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    padding: 14px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 4px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226,55,68,0.4);
}

/* Switch link */
.auth-switch {
    margin-top: 24px;
    font-size: 13px;
    color: var(--gray-600);
    text-align: center;
}

.auth-switch a { color: var(--red); font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }

/* Active nav highlight */
body:has(#login:target)  .btn-login,
body:has(#signup:target) .btn-signup {
    background: var(--white);
    color: var(--red);
}

body:has(#location:target) .nav-location {
    background: rgba(255,255,255,0.1);
}

/* Location List styles */
.location-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.location-item {
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    transition: all var(--transition);
}

.location-item:hover {
    border-color: var(--gray-400);
    background: var(--off-white);
    cursor: pointer;
}

/* ===== LOCATION STATE (Pure CSS Radio Hack) ===== */
.hidden-radio { display: none; }

#loc-mumbai:checked ~ .navbar .nav-location-text::after { content: "Mumbai, India"; }
#loc-delhi:checked ~ .navbar .nav-location-text::after { content: "Delhi NCR, India"; }
#loc-bangalore:checked ~ .navbar .nav-location-text::after { content: "Bangalore, India"; }
#loc-hyderabad:checked ~ .navbar .nav-location-text::after { content: "Hyderabad, India"; }
#loc-pune:checked ~ .navbar .nav-location-text::after { content: "Pune, India"; }
#loc-chennai:checked ~ .navbar .nav-location-text::after { content: "Chennai, India"; }
#loc-kolkata:checked ~ .navbar .nav-location-text::after { content: "Kolkata, India"; }

/* Highlight active location in panel */
#loc-mumbai:checked ~ #location label[for="loc-mumbai"],
#loc-delhi:checked ~ #location label[for="loc-delhi"],
#loc-bangalore:checked ~ #location label[for="loc-bangalore"],
#loc-hyderabad:checked ~ #location label[for="loc-hyderabad"],
#loc-pune:checked ~ #location label[for="loc-pune"],
#loc-chennai:checked ~ #location label[for="loc-chennai"],
#loc-kolkata:checked ~ #location label[for="loc-kolkata"] {
    border-color: var(--red);
    background: rgba(226,55,68,0.05);
    color: var(--red);
    font-weight: 700;
}

#loc-mumbai:checked ~ #location label[for="loc-mumbai"]::after,
#loc-delhi:checked ~ #location label[for="loc-delhi"]::after,
#loc-bangalore:checked ~ #location label[for="loc-bangalore"]::after,
#loc-hyderabad:checked ~ #location label[for="loc-hyderabad"]::after,
#loc-pune:checked ~ #location label[for="loc-pune"]::after,
#loc-chennai:checked ~ #location label[for="loc-chennai"]::after,
#loc-kolkata:checked ~ #location label[for="loc-kolkata"]::after {
    content: '✓';
    color: var(--red);
}

/* Mobile — full-width panel */
@media (max-width: 500px) {
    .auth-card {
        width: 100%;
        padding: 48px 24px;
    }
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #f0eeeb;
    border-top: 1px solid var(--gray-200);
    font-family: var(--font);
}

/* Main grid — 5 columns */
.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 40px 40px;
}

/* Brand column */
.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 10px;
}

.footer-copy {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Link columns */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 13px;
    color: var(--gray-600);
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--red); }

/* Social icons row */
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all var(--transition);
}

.social-icon svg { width: 16px; height: 16px; }

.social-icon:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 28px;
}

.footer-app-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.footer-apps {
    display: flex;
    gap: 12px;
}

/* App store badge buttons */
.app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    min-width: 150px;
}

.app-badge:hover {
    background: var(--darker);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.app-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.app-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.app-badge small {
    font-size: 10px;
    opacity: 0.75;
    font-weight: 400;
}

.app-badge strong {
    font-size: 15px;
    font-weight: 700;
}

/* Footer responsive */
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        padding: 40px 24px 28px;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .footer-main  { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
    }
    .footer-apps { flex-direction: column; width: 100%; }
    .app-badge   { justify-content: center; }
}