/* ==========================================================================
   Cafe RT Nagar — Design tokens
   ========================================================================== */

:root {
  --teal-900: #0B4A3D;
  --teal-800: #0D5A48;
  --teal-700: #0F6E56;
  --teal-600: #158063;
  --teal-500: #1B9670;

  --orange-600: #C56A2E;
  --orange-500: #D9853F;
  --orange-300: #F0B978;
  --orange-100: #FCEAD3;

  --white: #FFFFFF;
  --bg-soft: #F6F7F4;
  --ink: #16221D;
  --ink-muted: #667169;
  --ink-faint: #98A29A;
  --line: #E5E7E1;

  --whatsapp: #25D366;
  --whatsapp-dark: #128C4A;

  --font-display: 'Baloo 2', 'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-script: 'Caveat', cursive;

  --max-width: 1180px;
  --radius: 10px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--teal-700);
  display: inline-block;
  margin-bottom: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--teal-700); color: var(--white); }
.btn-primary:hover { background: var(--teal-600); }

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

.btn-outline-dark {
  background: transparent;
  border-color: var(--teal-700);
  color: var(--teal-700);
}
.btn-outline-dark:hover { background: var(--teal-700); color: var(--white); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--bg-soft); }
.main-nav a[aria-current="page"] {
  background: var(--teal-700);
  color: var(--white);
}
.main-nav a[aria-current="page"]:hover { background: var(--teal-700); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(11, 74, 61, 0.28);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Placeholder image blocks (swap for real photography)
   ========================================================================== */

.placeholder {
  background-color: var(--teal-700);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--orange-100);
  text-align: center;
  gap: 6px;
  min-height: 100%;
  border-radius: inherit;
}
.placeholder .ph-icon { font-size: 1.6rem; opacity: 0.8; }
.placeholder .ph-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}
.placeholder .ph-file {
  font-family: monospace;
  font-size: 0.68rem;
  opacity: 0.7;
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--teal-900);
  overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,20,17,0.65) 0%, rgba(11,20,17,0.4) 55%, rgba(11,20,17,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 24px;
}
.hero-content .inner { max-width: 620px; }
.hero-content .tagline-small {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--orange-300);
  display: block;
  margin-bottom: 6px;
}
.hero-content h1 { color: var(--white); }
.hero-content p.desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin: 18px 0 30px;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Section: About
   ========================================================================== */

.about { padding: 90px 0; }
.about .grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo {
  aspect-ratio: 4 / 3.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.badge-orders {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--teal-700);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
}
.badge-orders span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.9;
}
.badge-rating {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(11,74,61,0.15);
}
.badge-rating svg { width: 16px; height: 16px; color: var(--orange-500); }

.about-text p.lead {
  font-size: 1.02rem;
  color: var(--ink-muted);
  margin: 14px 0;
  max-width: 54ch;
}
.about-text strong { color: var(--teal-700); font-weight: 700; }

.stat-row { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.stat-row .stat h3 { font-family: var(--font-display); color: var(--teal-700); font-size: 2rem; }
.stat-row .stat span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Section: Highlights (Popular picks)
   ========================================================================== */

.highlights { padding: 80px 0; background: var(--bg-soft); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-head .link-more { font-weight: 600; font-size: 0.92rem; color: var(--teal-700); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.item-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.item-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(11,74,61,0.1); }
.item-card .item-photo { aspect-ratio: 4/3; }

/* ==========================================================================
   Section: Features strip
   ========================================================================== */

.features { background: var(--white); padding: 70px 0; }
.features .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { text-align: center; }
.feature .f-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--teal-700);
}
.feature h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 6px; }
.feature p { font-size: 0.86rem; color: var(--ink-muted); }

/* ==========================================================================
   Section: Adda strip (community/emotion banner)
   ========================================================================== */

.adda-strip {
  background: var(--orange-100);
  padding: 54px 0;
  text-align: center;
}
.adda-strip .inner { max-width: 700px; margin: 0 auto; }
.adda-strip h2 { color: var(--teal-900); }
.adda-strip p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  margin-top: 14px;
}

/* ==========================================================================
   Menu page
   ========================================================================== */

.menu-banner { background: var(--teal-800); padding: 56px 0; text-align: center; }
.menu-banner h1 { color: var(--white); }
.menu-banner p { color: var(--orange-100); margin-top: 10px; }

.menu-note {
  background: var(--orange-100);
  padding: 14px 0;
  text-align: center;
}
.menu-note p { font-size: 0.9rem; color: var(--orange-600); font-weight: 600; }

.category-bar {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.category-bar .scroller { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--teal-700);
  color: var(--teal-700);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  transition: background 0.15s ease, color 0.15s ease;
}
.chip.active, .chip:hover { background: var(--teal-700); color: var(--white); }

.menu-body { padding: 50px 0 120px; }
.menu-container { max-width: 780px; margin: 0 auto; }

.menu-category { margin-bottom: 48px; scroll-margin-top: 160px; }
.menu-category h2 {
  font-family: var(--font-display);
  color: var(--teal-700);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.menu-category .underline { width: 52px; height: 3px; background: var(--orange-500); border-radius: 2px; margin-bottom: 18px; }

.menu-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-row .m-name { font-weight: 600; font-size: 0.98rem; color: var(--orange-600); }
.menu-row .m-leader { flex: 1; border-bottom: 1px dotted var(--ink-faint); transform: translateY(-4px); }
.menu-row .m-price { font-family: var(--font-display); font-size: 1.08rem; color: var(--teal-700); white-space: nowrap; }

.whatsapp-bar { position: sticky; bottom: 0; z-index: 90; background: var(--whatsapp); padding: 14px 0; }
.whatsapp-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1rem; }
.whatsapp-bar svg { width: 22px; height: 22px; }

/* ==========================================================================
   Enquiry page
   ========================================================================== */

.enquiry-section { padding: 70px 0 110px; background: var(--bg-soft); }
.enquiry-section .page-head { max-width: 620px; margin: 0 0 46px; }
.enquiry-section .page-head p { color: var(--ink-muted); margin-top: 10px; font-size: 1.02rem; }

.enquiry-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }

.enquiry-form, .info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); }
.field textarea { resize: vertical; min-height: 110px; }

.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--ink-faint); font-size: 0.82rem; font-weight: 600;
}
.form-divider::before, .form-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.info-card h3 { margin-bottom: 20px; }
.info-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.info-row svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--teal-700); }
.info-row .label {
  display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--orange-600); margin-bottom: 2px;
}
.info-row .value { color: var(--ink); font-size: 0.94rem; }

/* ==========================================================================
   Location page
   ========================================================================== */

.map-embed { height: 380px; width: 100%; border: none; display: block; }

.location-info { padding: 56px 0 110px; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: start; }
.location-block { display: flex; gap: 12px; }
.location-block svg { width: 20px; height: 20px; color: var(--teal-700); flex-shrink: 0; margin-top: 3px; }
.location-block h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); margin-bottom: 8px;
}
.location-block p { color: var(--ink-muted); }
.location-buttons { display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--teal-900); color: rgba(255,255,255,0.85); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-grid img { height: 38px; margin-bottom: 14px; }
.footer-grid > div > p.tagline { font-size: 0.87rem; opacity: 0.85; max-width: 30ch; }
.footer-grid h5 {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--orange-300); margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.89rem; display: flex; gap: 8px; align-items: flex-start; }
.footer-grid li svg { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; opacity: 0.8; }
.footer-grid li a:hover { color: var(--orange-300); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.28); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 15px; height: 15px; }

.footer-bottom { padding-top: 22px; text-align: center; font-size: 0.8rem; opacity: 0.65; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about .grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16/10; }
  .features .grid { grid-template-columns: repeat(2, 1fr); }
  .enquiry-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 680px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; gap: 4px;
  }
  .card-grid { grid-template-columns: 1fr; }
  .features .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .category-bar { top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
