/* ═══════════════════════════════════════════════════════
   ANUSUYA PERFORMANCE CAFÉ  — Professional Design System
   ═══════════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&display=swap');

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #f8f3eb;
  color: #1e3a2e;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font: inherit;
}

/* ── Tokens ── */
:root {
  --green-dark: #1a3d2e;
  --green-mid: #214d3a;
  --green-light: #3b6b55;
  --cream: #f8f3eb;
  --sand: #e9dfc8;
  --amber: #d4924a;
  --terracotta: #b85c3a;
  --text-muted: #6b7c73;
  --border: rgba(30, 60, 40, .12);
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 24px rgba(20, 48, 32, .09);
  --shadow-hover: 0 12px 36px rgba(20, 48, 32, .16);
}

/* ════════════════════════════════════════
   TOP BAR
   ════════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(248, 243, 235, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
}

.brand-mark {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  line-height: .75;
  font-style: italic;
  color: var(--green-mid);
}

.brand b {
  display: block;
  font-size: 13px;
  letter-spacing: 2.5px;
  font-weight: 800;
}

.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 3px;
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  color: var(--green-mid);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}

.desktop-nav a:hover {
  border-bottom-color: var(--amber);
}

.cart-btn {
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: background .2s, transform .1s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-btn:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.cart-btn span {
  background: var(--amber);
  color: #fff;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px clamp(24px, 5vw, 80px);
  overflow: hidden;
}

.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.hero h1,
.menu-head h2,
.story h2,
.contact h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: 1;
  color: var(--green-dark);
}

.hero h1 em,
.menu-head h2 em,
.story h2 em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-text {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 24px 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  box-shadow: 0 8px 28px rgba(26, 61, 46, .22);
  transition: background .2s, transform .15s, box-shadow .2s;
}

.primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(26, 61, 46, .28);
}

.primary span {
  margin-left: 10px;
  font-size: 18px;
}

.text-link {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  transition: color .2s;
}

.text-link:hover {
  color: var(--terracotta);
}

.hero-notes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-notes span::before {
  content: '✓ ';
  color: var(--amber);
}

/* Hero Art */
.hero-art {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-grid {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-img-main {
  position: absolute;
  width: 320px;
  height: 320px;
  right: 40px;
  top: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #fff;
  box-shadow: 0 20px 60px rgba(26, 61, 46, .25);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-img-sm {
  position: absolute;
  width: 160px;
  height: 160px;
  left: 20px;
  bottom: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 12px 36px rgba(26, 61, 46, .2);
}

.hero-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-img-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  right: 0;
  bottom: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 10px 28px rgba(26, 61, 46, .18);
}

.hero-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-badge {
  position: absolute;
  right: 10px;
  top: 20px;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green-dark);
}

.hero-card {
  position: absolute;
  right: 0;
  bottom: 20px;
  background: var(--green-dark);
  color: #fff;
  width: 230px;
  padding: 22px;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 20px 50px rgba(26, 61, 46, .3);
}

.hero-card b {
  display: block;
  font-size: 12px;
  letter-spacing: 1.3px;
  line-height: 1.6;
}

.hero-card small {
  display: block;
  color: #c5ddc0;
  margin-top: 10px;
  line-height: 1.6;
  font-size: 11px;
}

/* bg accent circle */
.sun {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, #d4924a33 0%, #e9dfc800 70%);
  right: 20px;
  top: 50px;
  pointer-events: none;
}

.leaf {
  position: absolute;
  color: #4a7a5e;
  font-family: Georgia;
  font-size: 72px;
  opacity: .25;
  pointer-events: none;
}

.l1 {
  left: 10px;
  top: 30px;
  transform: rotate(-28deg);
}

.l2 {
  right: 8px;
  top: 8px;
  transform: rotate(32deg);
}

.l3 {
  left: 120px;
  bottom: 80px;
  transform: rotate(145deg);
  font-size: 48px;
}

/* ════════════════════════════════════════
   CATEGORY STRIP
   ════════════════════════════════════════ */
.category-strip {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 14px clamp(24px, 5vw, 80px);
  background: var(--green-dark);
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-strip a {
  white-space: nowrap;
  color: #d4e8d6;
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: background .2s, color .2s;
}

.category-strip a:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

/* ════════════════════════════════════════
   MENU HEAD
   ════════════════════════════════════════ */
.menu-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 28px 38px;
}

.menu-head h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  margin-bottom: 12px;
}

.menu-head>p {
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

.tools {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.search {
  background: #fff;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  max-width: 440px;
  box-shadow: var(--shadow-card);
}

.search span {
  font-size: 22px;
  color: var(--text-muted);
}

.search input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 14px;
}

.veg-filters {
  display: flex;
  gap: 8px;
}

.filter {
  border: 1.5px solid var(--sand);
  background: transparent;
  color: var(--green-mid);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}

.filter:hover {
  border-color: var(--green-mid);
}

.filter.active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

/* ════════════════════════════════════════
   MENU SECTIONS
   ════════════════════════════════════════ */
.menu-section {
  max-width: 1200px;
  margin: 32px auto 80px;
  padding: 0 28px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  border-bottom: 2px solid var(--sand);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.section-title .icon {
  font-size: 28px;
}

.section-title h3 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  color: var(--green-dark);
  line-height: 1.1;
}

.section-title p {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

/* ── Item Card ── */
.item {
  background: #fff;
  border: 1px solid rgba(30, 60, 40, .08);
  border-radius: var(--radius-card);
  display: flex;
  overflow: hidden;
  min-height: 150px;
  transition: transform .22s, box-shadow .22s;
}

.item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.item.hidden {
  display: none;
}

/* ── Photo Panel ── */
.item-photo {
  position: relative;
  width: 150px;
  min-width: 150px;
  height: 100%;
  min-height: 150px;
  overflow: hidden;
  background: var(--sand);
  flex-shrink: 0;
}

.item-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .4s ease;
}

.item:hover .item-photo img {
  transform: scale(1.07);
}

.photo-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(248, 243, 235, .92);
  color: var(--green-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  backdrop-filter: blur(4px);
}

/* ── Text Content ── */
.item-main {
  flex: 1;
  min-width: 0;
  padding: 16px 12px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--green-dark);
  line-height: 1.3;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #4a9e5c;
  flex-shrink: 0;
  background: #4a9e5c22;
}

.dot.nonveg {
  border-color: #c84040;
  background: #c8404022;
}

.item-desc {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Side Panel ── */
.item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  min-width: 80px;
  border-left: 1px solid rgba(30, 60, 40, .06);
  background: rgba(248, 243, 235, .5);
}

.price {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--terracotta);
  white-space: nowrap;
}

.add {
  border: 1.5px solid var(--green-dark);
  background: transparent;
  color: var(--green-dark);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  transition: background .2s, color .2s;
}

.add:hover {
  background: var(--green-dark);
  color: #fff;
}

/* ════════════════════════════════════════
   NOTICE SECTION
   ════════════════════════════════════════ */
.notice {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 28px;
}

.notice-inner {
  background: var(--sand);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px;
}

.notice>div {
  display: flex;
  gap: 14px;
}

.notice-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 14px;
  font-weight: 800;
}

.notice b {
  font-size: 14px;
  color: var(--green-dark);
}

.notice p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ════════════════════════════════════════
   STORY
   ════════════════════════════════════════ */
.story {
  background: #dfe4d0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
  padding: 100px max(28px, calc((100% - 1200px)/2));
}

.story h2 {
  font-size: clamp(36px, 4vw, 54px);
}

.story>p {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1.7;
  color: #405c4a;
}

/* ════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════ */
.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

.contact h2 {
  font-size: clamp(38px, 4vw, 52px);
}

.contact>div:first-child>p {
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.8;
  margin-top: 14px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  padding-top: 24px;
}

.contact-details a,
.contact-details span {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
}

.contact-details span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   CART SIDEBAR
   ════════════════════════════════════════ */
.cart {
  position: fixed;
  right: -440px;
  top: 0;
  width: min(440px, 100%);
  height: 100vh;
  background: #fff;
  z-index: 200;
  box-shadow: -16px 0 60px rgba(20, 40, 28, .18);
  transition: right .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}

.cart.open {
  right: 0;
}

.cart-head {
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--sand);
}

.cart-head h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: var(--green-dark);
}

.cart-head button {
  border: 0;
  background: none;
  font-size: 32px;
  color: var(--text-muted);
  line-height: 1;
  transition: color .2s;
}

.cart-head button:hover {
  color: var(--terracotta);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.empty {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
  line-height: 1.8;
}

.empty small {
  font-size: 12px;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #f0e8d8;
}

.cart-row b {
  font-size: 13px;
  color: var(--green-dark);
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--green-mid);
  background: transparent;
  color: var(--green-mid);
  font-size: 16px;
  line-height: 1;
  transition: background .2s, color .2s;
}

.qty button:hover {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

.cart-foot {
  padding: 24px 28px;
  border-top: 1px solid var(--sand);
}

.cart-foot>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-foot strong {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: var(--terracotta);
}

.full {
  width: 100%;
}

.cart-foot>small {
  display: block;
  text-align: center;
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 11px;
}

/* ════════════════════════════════════════
   OVERLAY & FOOTER
   ════════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 18, .45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

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

footer {
  background: var(--green-dark);
  color: #c5ddc0;
  padding: 24px clamp(24px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .5px;
}

footer span {
  opacity: .75;
}

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

  .notice-inner {
    grid-template-columns: 1fr;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact {
    flex-direction: column;
  }

  .contact-details {
    align-items: flex-start;
  }

  .tools {
    flex-direction: column;
    align-items: stretch;
  }

  .veg-filters {
    justify-content: flex-start;
  }

  .search {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
    gap: 36px;
  }

  .hero-art {
    height: 360px;
  }

  .hero-img-main {
    width: 250px;
    height: 250px;
    right: 20px;
    top: 50px;
  }

  .hero-img-sm {
    width: 130px;
    height: 130px;
    left: 10px;
    bottom: 40px;
  }

  .hero-img-accent {
    width: 100px;
    height: 100px;
    right: 0;
    bottom: 80px;
  }

  .menu-section {
    margin-bottom: 50px;
  }

  .section-title {
    align-items: center;
  }

  .item-photo {
    width: 120px;
    min-width: 120px;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-notes {
    flex-direction: column;
    gap: 8px;
  }

  .menu-head {
    padding-top: 60px;
  }

  .item {
    min-height: 130px;
  }

  .item-photo {
    width: 105px;
    min-width: 105px;
    min-height: 130px;
  }

  .item-desc {
    font-size: 10px;
  }

  .item-side {
    min-width: 72px;
    padding: 12px;
  }

  .story {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 22px;
  }

  .contact h2 {
    font-size: 36px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}