/*
Theme Name: Cafezinho
Theme URI: https://cafezinho.in
Author: Cafezinho
Author URI: https://cafezinho.in
Description: Official theme for Cafezinho — Handcrafted Crêpes & Specialty Coffee, Kondapur, Hyderabad.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cafezinho
Tags: restaurant, cafe, food, one-page, mobile-first
*/

:root {
  --dark: #33443b;
  --mid: #6f8d80;
  --gold: #daa72a;
  --navy: #39567a;
  --cream: #F6f1e6;
  --white: #ffffff;
}

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

body {
  background: var(--cream);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}

/* ── SITE HEADER / NAV ── */
.site-header {
  background: var(--dark);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-header .nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.site-header .nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
}
.nav-call {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  padding: .5rem 1.1rem;
  border-radius: 60px;
  text-decoration: none;
  transition: opacity .2s;
}
.nav-call:hover { opacity: .85; }
.nav-call svg { width: 14px; height: 14px; }

/* ── HERO ── */
.hero {
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(218,167,42,0.1) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(111,141,128,0.13) 0%, transparent 55%);
  pointer-events: none;
}
.hero .logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .6s ease forwards .1s;
}
.hero-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp .6s ease forwards .25s;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
  opacity: 0;
  animation: fadeUp .6s ease forwards .4s;
}
.hero-sub {
  font-size: clamp(12px, 3vw, 15px);
  color: var(--mid);
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .6s ease forwards .55s;
}
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp .6s ease forwards .7s;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 1rem 2.25rem;
  border-radius: 60px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(218,167,42,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(218,167,42,0.4); }
.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-secondary {
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,141,128,0.4);
  padding-bottom: 2px;
  transition: color .2s;
}
.btn-secondary:hover { color: var(--white); }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp .6s ease forwards .85s;
}
.pill {
  font-size: 11px;
  color: rgba(246,241,230,0.45);
  border: 1px solid rgba(246,241,230,0.12);
  padding: 5px 14px;
  border-radius: 60px;
  letter-spacing: .04em;
}

/* ── INFO STRIP ── */
.info-strip {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.info-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.info-item:last-child { border-right: none; }
.info-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(246,241,230,0.4);
  margin-bottom: 4px;
}
.info-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.4;
}

/* ── MENU HIGHLIGHTS ── */
.menu-highlights { padding: 4rem 1.5rem; max-width: 680px; margin: 0 auto; }
.section-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: .75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 2rem;
}
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.menu-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(51,68,59,0.08);
}
.menu-card-icon { font-size: 22px; margin-bottom: .5rem; }
.menu-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.menu-card-desc { font-size: 11px; color: var(--mid); line-height: 1.5; }
.menu-card.featured {
  background: var(--dark);
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu-card.featured .menu-card-name { color: var(--white); font-size: 17px; }
.menu-card.featured .menu-card-desc { color: var(--mid); }
.featured-badge {
  background: var(--gold);
  color: var(--dark);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
  display: inline-block;
}

/* ── BOTTOM CTA ── */
.bottom-cta {
  background: var(--dark);
  padding: 4rem 1.5rem;
  text-align: center;
}
.bottom-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.bottom-cta p { font-size: 14px; color: var(--mid); margin-bottom: 2rem; }
.address-block {
  background: rgba(246,241,230,0.06);
  border: 1px solid rgba(246,241,230,0.12);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 13px;
  color: var(--cream);
  line-height: 1.8;
  max-width: 360px;
}
.address-block strong { color: var(--gold); font-weight: 500; display: block; margin-bottom: 4px; }

/* ── FOOTER ── */
.site-footer {
  background: #1e2b25;
  padding: 2.5rem 1.5rem calc(2.5rem + 72px);
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.footer-logo img { width: 40px; height: 40px; object-fit: contain; }
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
}
.footer-tagline { font-size: 11px; color: rgba(111,141,128,0.6); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.footer-details { font-size: 13px; color: var(--mid); line-height: 2; margin-bottom: 1.5rem; }
.footer-details a { color: var(--gold); text-decoration: none; font-weight: 500; }
.footer-details a:hover { text-decoration: underline; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 1.5rem auto; max-width: 200px; }
.footer-copy { font-size: 11px; color: rgba(111,141,128,0.4); }

/* ── STICKY CALL BAR ── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--gold);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.sticky-bar a {
  color: var(--dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sticky-bar svg { width: 18px; height: 18px; }

/* ── MENU PAGE ── */
.menu-hero {
  background: var(--dark);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.menu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(218,167,42,0.09) 0%, transparent 60%);
  pointer-events: none;
}
.menu-hero-tag { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.menu-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 900; color: var(--white); line-height: 1; margin-bottom: .4rem; }
.menu-hero p { font-size: 13px; color: var(--mid); font-weight: 300; letter-spacing: .06em; }

.cat-nav {
  background: var(--white);
  border-bottom: 1px solid rgba(51,68,59,0.08);
  padding: 0 1rem;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: 57px;
  z-index: 90;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-link { flex-shrink: 0; font-size: 12px; font-weight: 500; color: var(--mid); text-decoration: none; padding: .85rem .9rem; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.cat-link:hover, .cat-link.active { color: var(--dark); border-bottom-color: var(--gold); }

.menu-content { max-width: 680px; margin: 0 auto; padding: 0 1.25rem; }
.menu-section { padding: 2.5rem 0 1rem; }
.section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; }
.section-icon { font-size: 24px; }
.section-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.section-divider { height: 1px; background: rgba(51,68,59,0.1); margin-bottom: 1.25rem; }
.section-note { font-size: 12px; color: var(--mid); margin-bottom: 1rem; font-style: italic; }

.item { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(51,68,59,0.07); }
.item:last-child { border-bottom: none; }
.item-info { flex: 1; }
.item-name { font-size: 14px; font-weight: 500; color: var(--dark); margin-bottom: 2px; line-height: 1.4; }
.item-desc { font-size: 12px; color: var(--mid); line-height: 1.5; }
.item-price { font-size: 14px; font-weight: 500; color: var(--dark); white-space: nowrap; padding-top: 1px; }

.tag { display: inline-block; font-size: 9px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 20px; margin-left: 6px; vertical-align: middle; }
.tag-veg { background: #eaf3de; color: #3b6d11; }
.tag-sig { background: rgba(57,86,122,0.1); color: var(--navy); }
.tag-choice { background: #faeeda; color: #633806; }

.price-variants { display: flex; gap: 1rem; margin-top: .25rem; }
.pv-item { font-size: 12px; color: var(--mid); }
.pv-item strong { color: var(--dark); font-weight: 500; }
.pasta-variants { display: flex; flex-wrap: wrap; gap: 6px; margin: .75rem 0 .5rem; }
.pasta-pill { font-size: 11px; color: var(--mid); border: 1px solid rgba(51,68,59,0.15); padding: 3px 10px; border-radius: 20px; }

.drinks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drink-card { background: var(--white); border-radius: 12px; padding: .9rem 1rem; border: 1px solid rgba(51,68,59,0.08); }
.drink-name { font-size: 13px; font-weight: 500; color: var(--dark); margin-bottom: 2px; }
.drink-desc { font-size: 11px; color: var(--mid); line-height: 1.4; margin-bottom: .4rem; }
.drink-price { font-size: 13px; font-weight: 500; color: var(--gold); }

.small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.small-item { background: var(--white); border-radius: 10px; padding: .7rem .9rem; border: 1px solid rgba(51,68,59,0.08); display: flex; justify-content: space-between; align-items: center; }
.small-item-name { font-size: 12px; color: var(--dark); font-weight: 500; }
.small-item-price { font-size: 12px; color: var(--mid); }
.sub-section-label { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); margin: 1.25rem 0 .75rem; }
.tax-note { text-align: center; font-size: 11px; color: var(--mid); padding: 2rem 0 1rem; font-style: italic; }

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

@media (max-width: 400px) {
  .info-strip { grid-template-columns: 1fr; }
  .info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .menu-card.featured { flex-direction: column; }
  .drinks-grid, .small-grid { grid-template-columns: 1fr; }
}
