﻿:root {
  --bg: #fff8ef;
  --bg-soft: #fff1dd;
  --card: #ffffff;
  --text: #26140c;
  --muted: #6e4a3c;
  --primary: #c62828;
  --primary-dark: #8b1d1d;
  --accent: #f57c00;
  --accent-soft: #ffd6a0;
  --shadow: 0 10px 30px rgba(80, 36, 18, 0.16);
  --radius: 14px;
  --transition: 0.3s ease;
}

body.dark {
  --bg: #1f1711;
  --bg-soft: #2a2018;
  --card: #30251c;
  --text: #f8ead7;
  --muted: #d4bea4;
  --primary: #ff6b5c;
  --primary-dark: #ff4f3c;
  --accent: #ffb347;
  --accent-soft: #5b4428;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
}

body.cart-open {
  overflow: hidden;
}

img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

.section {
  padding: 88px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title.left {
  text-align: left;
}

.section-title h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.section-title p {
  color: var(--muted);
  max-width: 700px;
  margin: auto;
}

.section-title.left p {
  margin: 0;
}

#loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #401404, #7a2100 45%, #c83e00);
  display: grid;
  place-items: center;
  z-index: 9999;
  color: #ffe9c2;
  gap: 10px;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 60px;
  aspect-ratio: 1;
  border: 5px solid #ffe9c2;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.45)),
    url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  color: #fff5e8;
  position: relative;
}

.navbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4%;
  width: 100%;
  background: rgba(31, 15, 8, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.logo {
  color: #fff3dc;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.logo span {
  color: #ffd085;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: #fff3dc;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ffbf66;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-toggle {
  background: rgba(255, 235, 205, 0.2);
  color: #fff3dc;
  border: 1px solid rgba(255, 216, 160, 0.45);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.cart-toggle:hover {
  background: rgba(255, 216, 160, 0.3);
}

#cartCount {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #2b1309;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-content {
  max-width: 760px;
  margin: 14vh auto 0;
  text-align: center;
  padding-inline: 20px;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 187, 99, 0.2);
  border: 1px solid rgba(255, 208, 145, 0.45);
  padding: 7px 15px;
  border-radius: 40px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--accent);
  color: #291207;
}

.btn-outline {
  border-color: #ffd8a0;
  color: #fff;
}

.about {
  background: radial-gradient(circle at top right, var(--bg-soft) 0%, var(--bg) 56%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.about-card {
  background: var(--card);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
}

.about-card i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.about-card h3 {
  margin-bottom: 8px;
}

.counters {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.counter {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 18px;
}

.counter h3 {
  font-size: 1.9rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.menu-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(100, 44, 24, 0.22);
}

.menu-card div {
  padding: 16px;
}

.menu-card h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.menu-card ul {
  list-style: none;
}

.menu-items {
  display: grid;
  gap: 8px;
}

.menu-card li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(138, 95, 69, 0.28);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
}

.menu-card li:last-child {
  border-bottom: none;
}

.dish-name {
  font-weight: 500;
}

.dish-price {
  color: var(--muted);
  font-weight: 600;
}

.add-btn {
  border: none;
  border-radius: 8px;
  padding: 7px 10px;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.add-btn:hover {
  transform: translateY(-1px);
}

.add-btn.added {
  opacity: 0.8;
}

.drinks-showcase {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.drink-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.drink-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(100, 44, 24, 0.22);
}

.drink-item img {
  height: 180px;
  object-fit: cover;
  border-radius: 0;
}

.drink-item div {
  padding: 14px;
}

.drink-item h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

.drink-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.drink-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.drink-meta span {
  color: var(--muted);
  font-weight: 700;
}

.order {
  background: var(--bg);
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.order-summary-card,
.order-form-card {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
}

.checkout-items {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.checkout-items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(138, 95, 69, 0.24);
  color: var(--muted);
}

.checkout-items li.empty {
  border-bottom: none;
  color: var(--muted);
}

.checkout-total {
  font-size: 1.1rem;
  margin-top: 8px;
}

.order-clear-btn {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

#orderStatus {
  min-height: 20px;
  color: var(--primary);
  font-weight: 500;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 1300;
}

.cart-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(390px, 96%);
  height: 100vh;
  background: var(--card);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.22);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
}

.cart-panel.open {
  right: 0;
}

.cart-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(124, 80, 54, 0.2);
}

.cart-panel-header button {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-items {
  list-style: none;
  padding: 14px 16px;
  display: grid;
  gap: 12px;
  overflow: auto;
  flex: 1;
}

.cart-items .empty {
  color: var(--muted);
}

.cart-row {
  border: 1px solid rgba(138, 95, 69, 0.25);
  border-radius: 10px;
  padding: 10px;
}

.cart-row h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.cart-row p {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-controls {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn,
.remove-btn {
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
}

.qty-btn {
  background: var(--accent-soft);
  color: var(--text);
}

.remove-btn {
  background: #f8d4d4;
  color: #8b1d1d;
  margin-left: auto;
}

.qty-value {
  width: 26px;
  text-align: center;
  font-weight: 700;
}

.cart-panel-footer {
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(124, 80, 54, 0.2);
  display: grid;
  gap: 10px;
}

.gallery {
  background: var(--bg-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.gallery-item {
  height: 230px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform var(--transition), filter var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  filter: saturate(1.15);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.review-card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stars {
  color: #ffb400;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.location {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.location-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.location-info ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.location-info li i {
  color: var(--primary);
  width: 24px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 350px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact {
  background: var(--bg-soft);
}

.upi-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.upi-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  text-align: center;
}

.upi-name {
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.upi-id {
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.upi-qr {
  width: min(340px, 82vw);
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(138, 95, 69, 0.24);
  background: #fff;
}

.upi-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.upi-help {
  min-height: 20px;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 500;
}

form {
  display: grid;
  gap: 10px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d3b79f;
  background: #fff;
  border-radius: 10px;
  font: inherit;
}

body.dark input,
body.dark textarea {
  background: #433327;
  color: #fff2df;
  border-color: #5b4637;
}

#formStatus {
  min-height: 20px;
  color: var(--primary);
  font-weight: 500;
}

.contact-actions {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px;
  align-self: start;
}

.quick-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 8px 8px 8px 0;
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 600;
}

.quick-btn.whatsapp {
  background: #21a455;
}

.quick-btn.call {
  background: #004d99;
}

.footer {
  background: #2b1309;
  color: #ffe6c3;
  padding: 44px 0 18px;
}

.footer h3,
.footer h4 {
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.footer a {
  color: #ffe6c3;
  text-decoration: none;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 228, 184, 0.2);
}

.copyright {
  text-align: center;
  margin-top: 20px;
  opacity: 0.9;
}

.floating-order {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  background: linear-gradient(140deg, var(--accent), #ff4d00);
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.dark-toggle {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--card);
  color: var(--primary);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  place-items: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox.active {
  display: grid;
}

.lightbox img {
  max-width: min(900px, 95%);
  max-height: 85vh;
}

#closeLightbox {
  position: absolute;
  top: 20px;
  right: 22px;
  background: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 4%;
    background: rgba(31, 15, 8, 0.96);
    border-radius: 12px;
    width: 230px;
    padding: 14px;
    flex-direction: column;
    gap: 10px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .cart-toggle {
    padding: 8px 10px;
  }

  .location-grid,
  .order-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 72px 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .gallery-item {
    height: 180px;
  }

  .menu-card li {
    grid-template-columns: 1fr;
  }

  .add-btn {
    width: 100%;
  }
}
