/* ═══════════════════════════════════════════════════════════
   THE DHOKLA HOUSE — Main Stylesheet
   Authentic Gujarati Snacks, Gurugram
═══════════════════════════════════════════════════════════ */

:root {
  --saffron: #F5A623;
  --turmeric: #D4781A;
  --deep: #8B3A0F;
  --cream: #FFF9F0;
  --white: #FFFFFF;
  --charcoal: #2C1A0E;
  --green: #4A7C59;
  --shadow: 0 8px 32px rgba(139,58,15,0.15);
  --shadow-lg: 0 20px 60px rgba(139,58,15,0.2);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Mukta', sans-serif; background: var(--cream); color: var(--charcoal); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--saffron); border-radius: 3px; }

/* ── NAV ──────────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 5%;
  background: rgba(255,249,240,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(245,166,35,0.25);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(139,58,15,0.12); }

.site-logo img { height: 60px; width: auto; object-fit: contain; }
.site-logo .text-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 900; color: var(--charcoal);
}
.site-logo .text-logo span { color: var(--turmeric); }

#primary-nav { display: flex; gap: 32px; list-style: none; align-items: center; }
#primary-nav a {
  color: var(--charcoal); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.03em; position: relative; padding-bottom: 4px;
}
#primary-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--saffron); transition: width 0.3s;
}
#primary-nav a:hover::after { width: 100%; }

.nav-order-btn {
  background: var(--saffron); color: var(--white) !important;
  padding: 10px 22px; border-radius: 30px;
  font-weight: 700 !important; font-size: 0.88rem !important;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
  transition: background 0.3s, transform 0.2s;
}
.nav-order-btn::after { display: none !important; }
.nav-order-btn:hover { background: var(--turmeric) !important; transform: translateY(-2px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 26px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: 0.3s; display: block; }
.mobile-menu-open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-open .hamburger span:nth-child(2) { opacity: 0; }
.mobile-menu-open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── SHARED SECTION STYLES ───────────────────────────────── */
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--turmeric); margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2; color: var(--charcoal); margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--turmeric); }
.section-sub { font-size: 1rem; color: #6B4423; line-height: 1.7; max-width: 520px; }
.divider-wave {
  width: 60px; height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--saffron), var(--turmeric));
  margin: 14px 0 28px;
}
.divider-wave.center { margin-left: auto; margin-right: auto; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--saffron); color: white;
  padding: 14px 28px; border-radius: 36px;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 6px 24px rgba(245,166,35,0.45);
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--turmeric); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(212,120,26,0.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--charcoal);
  padding: 13px 26px; border-radius: 36px;
  border: 2px solid rgba(44,26,14,0.2);
  font-weight: 600; font-size: 1rem;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--saffron); color: var(--turmeric); background: rgba(245,166,35,0.06); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; padding-top: 88px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; position: relative; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, var(--turmeric) 0, var(--turmeric) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px; pointer-events: none;
}
.hero-left {
  padding: 60px 6% 60px 7%;
  position: relative; z-index: 2;
  animation: fadeUp 0.9s ease both;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.4);
  color: var(--turmeric); font-weight: 600; font-size: 0.8rem;
  padding: 6px 14px; border-radius: 30px; letter-spacing: 0.07em;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero-tag-dot { width: 6px; height: 6px; background: var(--saffron); border-radius: 50%; }
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.15; color: var(--charcoal); margin-bottom: 16px;
}
.hero-h1 em { font-style: italic; color: var(--turmeric); }
.hero-sub {
  font-size: 1.08rem; color: #6B4423; line-height: 1.72;
  margin-bottom: 34px; max-width: 460px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: #6B4423; }

.hero-right {
  position: relative; height: 100vh; overflow: hidden;
  animation: fadeIn 1.1s ease 0.2s both;
}
.hero-right img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; transform: scale(1.03); }
.hero-right:hover img { transform: scale(1.08); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 28%),
              linear-gradient(to top, rgba(139,58,15,0.28) 0%, transparent 50%);
}
.hero-float-card {
  position: absolute; bottom: 48px; left: -20px;
  background: white; border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  animation: floatCard 3s ease-in-out infinite;
  min-width: 200px;
}
.hero-float-stars { color: var(--saffron); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 4px; }
.hero-float-num { font-size: 1.6rem; font-weight: 900; color: var(--charcoal); line-height: 1; }
.hero-float-label { font-size: 0.75rem; color: #888; margin-top: 2px; }

/* ── TRUST BAR ────────────────────────────────────────────── */
#trust {
  background: var(--charcoal); padding: 22px 5%;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.82); font-weight: 500; font-size: 0.88rem;
}
.trust-item .ti { font-size: 1.2rem; }
.trust-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.18); }

/* ── MENU ─────────────────────────────────────────────────── */
#menu { padding: 100px 5%; }
.menu-header { text-align: center; margin-bottom: 56px; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.menu-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.menu-card-img-wrap { overflow: hidden; }
.menu-card-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; }
.menu-card:hover .menu-card-img { transform: scale(1.07); }
.menu-card-body { padding: 20px 22px 24px; }
.menu-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem; color: var(--charcoal); margin-bottom: 8px;
}
.menu-card-desc { font-size: 0.88rem; color: #6B4423; line-height: 1.6; margin-bottom: 14px; }
.menu-card-tag {
  display: inline-block; background: rgba(245,166,35,0.12);
  color: var(--turmeric); font-size: 0.74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; letter-spacing: 0.04em;
}
.veg-dot {
  position: absolute; top: 13px; right: 13px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #4A7C59; background: white;
  display: flex; align-items: center; justify-content: center;
}
.veg-dot::after {
  content: ''; width: 10px; height: 10px;
  border-radius: 50%; background: #4A7C59;
}

/* ── STORY ────────────────────────────────────────────────── */
#story {
  padding: 100px 5%; background: var(--charcoal);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
#story .section-label { color: var(--saffron); }
#story .section-title { color: white; }
.story-text p {
  color: rgba(255,255,255,0.72); line-height: 1.85;
  font-size: 1rem; margin-bottom: 18px;
}
.story-text p strong { color: var(--saffron); }
.story-img-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
}
.story-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.story-quote {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: rgba(44,26,14,0.88); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 18px 20px;
  border-left: 3px solid var(--saffron);
}
.story-quote p {
  font-family: 'Dancing Script', cursive;
  font-size: 1.05rem; color: white; line-height: 1.5; margin-bottom: 6px;
}
.story-quote span { font-size: 0.76rem; color: var(--saffron); font-weight: 600; }

/* ── PRESS ────────────────────────────────────────────────── */
#press { padding: 80px 5%; background: var(--cream); }
.press-header { text-align: center; margin-bottom: 46px; }
.press-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.press-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); position: relative;
  aspect-ratio: 4/3; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.press-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.press-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.press-card:hover img { transform: scale(1.08); }
.press-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,26,14,0.85) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
}
.press-card-badge {
  display: inline-block; background: var(--saffron); color: white;
  font-size: 0.62rem; font-weight: 800;
  padding: 2px 8px; border-radius: 10px;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px;
}
.press-card-title { color: white; font-weight: 700; font-size: 0.83rem; line-height: 1.4; }

/* ── REVIEWS ──────────────────────────────────────────────── */
#reviews { padding: 100px 5%; }
.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: white; border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
  position: relative; transition: transform 0.3s;
  border-top: 4px solid var(--saffron);
}
.review-card:hover { transform: translateY(-5px); }
.review-stars { color: var(--saffron); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text {
  font-size: 0.93rem; line-height: 1.75; color: #4A3020;
  font-style: italic; margin-bottom: 18px;
}
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--turmeric));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 0.88rem; flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.87rem; color: var(--charcoal); }
.review-via { font-size: 0.74rem; color: #999; }
.review-quote-mark {
  position: absolute; top: 18px; right: 20px;
  font-size: 4rem; line-height: 1; color: rgba(245,166,35,0.1);
  font-family: 'Playfair Display', serif; font-weight: 900;
}

/* ── DELIVERY ─────────────────────────────────────────────── */
#delivery {
  padding: 80px 5%;
  background: linear-gradient(135deg, #FFF3DC 0%, var(--cream) 100%);
}
.delivery-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.delivery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 12px; margin: 36px 0;
}
.delivery-pill {
  background: white; border: 2px solid rgba(245,166,35,0.3);
  border-radius: 40px; padding: 10px 16px;
  font-weight: 600; font-size: 0.86rem; color: var(--charcoal);
  box-shadow: 0 2px 12px rgba(212,120,26,0.08);
  transition: all 0.25s;
}
.delivery-pill:hover { border-color: var(--saffron); color: var(--turmeric); background: rgba(245,166,35,0.06); }
.delivery-note { font-size: 0.85rem; color: #6B4423; }

/* ── ORDER ────────────────────────────────────────────────── */
#order {
  padding: 100px 5%; background: var(--saffron);
  text-align: center; position: relative; overflow: hidden;
}
.order-bg::before, .order-bg::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1); pointer-events: none;
}
.order-bg::before { width: 600px; height: 600px; top: -200px; right: -100px; }
.order-bg::after  { width: 400px; height: 400px; bottom: -150px; left: -80px; }
#order .section-label { color: rgba(255,255,255,0.72); }
#order .section-title { color: white; }
#order .section-title em { color: rgba(255,255,255,0.82); }
.order-sub {
  color: rgba(255,255,255,0.85); font-size: 1.04rem;
  margin: 0 auto 46px; max-width: 520px; line-height: 1.7;
}
.order-cards {
  display: flex; gap: 20px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 36px; position: relative; z-index: 2;
}
.order-group { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.order-location { font-size: 0.95rem; font-weight: 700; color: white; }
.order-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--charcoal);
  padding: 14px 28px; border-radius: 36px;
  font-weight: 700; font-size: 0.93rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transition: all 0.3s; min-width: 200px; justify-content: center;
}
.order-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.18); }
.order-btn.swiggy { color: #FC8019; }
.order-btn.zomato { color: #E23744; }
.order-divider { width: 1px; background: rgba(255,255,255,0.3); align-self: stretch; margin: 0 12px; }
.order-whatsapp {
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.4);
  color: white; padding: 16px 32px; border-radius: 36px;
  font-weight: 700; font-size: 0.97rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s; position: relative; z-index: 2;
}
.order-whatsapp:hover { background: rgba(255,255,255,0.25); }

/* ── FOOTER ───────────────────────────────────────────────── */
#colophon {
  background: #1A0D06; padding: 60px 5% 28px;
  color: rgba(255,255,255,0.65);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; margin-bottom: 44px;
}
.footer-logo { height: 64px; width: auto; filter: brightness(0) invert(1) opacity(0.82); margin-bottom: 16px; }
.footer-logo-text {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  font-weight: 900; color: rgba(255,255,255,0.85);
  margin-bottom: 14px; display: inline-block;
}
.footer-logo-text span { color: var(--saffron); }
.footer-desc { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.45); max-width: 300px; }
.footer-heading {
  font-family: 'Playfair Display', serif; color: white;
  font-size: 1rem; margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.48); font-size: 0.86rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--saffron); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 13px; font-size: 0.86rem; align-items: flex-start; }
.footer-contact-item .icon { color: var(--saffron); margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.48); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--saffron); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  font-size: 0.78rem; color: rgba(255,255,255,0.28);
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.82rem;
  transition: all 0.25s;
}
.social-btn:hover { border-color: var(--saffron); color: var(--saffron); }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 998;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  font-size: 1.5rem;
  animation: waPulse 2.5s ease-in-out infinite;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.1); }
}

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  #story { grid-template-columns: 1fr; gap: 48px; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 65vw; min-height: 280px; }
  .hero-float-card { left: 14px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  #primary-nav {
    display: none; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--cream); padding: 20px 5%;
    gap: 18px; border-bottom: 2px solid rgba(245,166,35,0.2);
    box-shadow: 0 8px 24px rgba(139,58,15,0.1);
  }
  #primary-nav.open { display: flex; }
  .hamburger { display: flex; }
  .nav-order-btn-wrap { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .order-divider { display: none; }
  #trust { gap: 18px; }
  .trust-divider { display: none; }
  .hero-btns { flex-direction: column; }
  .hero-left { padding: 40px 5%; }
}
@media (max-width: 480px) {
  .press-grid { grid-template-columns: 1fr 1fr; }
}

/* ── WP ADMIN BAR OFFSET ─────────────────────────────────── */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}
