:root {
  --cream: #f6ede1;
  --cream-2: #efe1cd;
  --brown-dark: #4a2f1f;
  --brown: #7a4a2b;
  --brown-light: #b9825a;
  --terracotta: #c8583a;
  --ink: #3a2a1e;
  --white: #fffdf9;
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  scroll-behavior: smooth;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 237, 225, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(74, 47, 31, 0.1);
}

nav.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown-dark);
}

.brand .arch {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 4px 4px;
  background: var(--brown-dark);
  position: relative;
  flex-shrink: 0;
}
.brand .arch::after {
  content: "";
  position: absolute;
  inset: 6px 6px 0 6px;
  background: var(--cream);
  border-radius: 50% 50% 2px 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

nav ul a {
  transition: color 0.2s;
}
nav ul a:hover { color: var(--terracotta); }

.nav-cta {
  background: var(--brown-dark);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--terracotta); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--brown-dark);
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-image: url("images/hero-cafe-interior.jpg");
  background-size: cover;
  background-position: center 60%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 8, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--cream);
}

.hero-content .lead {
  color: var(--cream);
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.hero-content .eyebrow { text-shadow: none; }
.hero-content .hero-actions { justify-content: center; }
.hero-stats strong, .hero-stats span { text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(74,47,31,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--brown-dark);
}

.hero p.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--brown-dark);
  color: var(--cream);
}
.btn-primary:hover { background: var(--terracotta); }

.btn-outline {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  color: var(--cream);
}
.btn-outline:hover { background: var(--terracotta); border-color: var(--terracotta); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stats div { text-align: center; }
.hero-stats strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--white);
}
.hero-stats span {
  font-size: 0.8rem;
  color: var(--cream-2);
}

/* SECTION HEADINGS */
.section {
  padding: 80px 0;
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--brown-dark);
  margin: 10px 0 14px;
}
.section-head p {
  color: var(--brown);
  line-height: 1.6;
}
.kicker {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
}

/* ABOUT */
.about {
  background: var(--white);
}
.about .container {
  display: flex;
  justify-content: center;
}
.about-text {
  max-width: 640px;
  text-align: center;
}

.about-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--brown-dark);
  margin-top: 10px;
}
.about-text p { color: var(--brown); line-height: 1.7; margin-bottom: 16px; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: inline-grid;
  gap: 10px;
  text-align: center;
}
.feature-list li {
  font-family: 'Haymila', 'Caveat', cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown-dark);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 14px 30px -20px rgba(74,47,31,0.4);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* MENU */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.menu-tab {
  background: var(--white);
  border: 1px solid rgba(74,47,31,0.15);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--brown);
}
.menu-tab.active {
  background: var(--brown-dark);
  color: var(--cream);
  border-color: var(--brown-dark);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.menu-panel { display: none; }
.menu-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 30px -20px rgba(74,47,31,0.4);
  transition: transform 0.25s ease;
}
.menu-card:hover { transform: translateY(-6px); }

.menu-card .img-wrap {
  aspect-ratio: 43/56;
  overflow: hidden;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-card-body { padding: 18px 20px 22px; }
.menu-card-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--brown-dark);
}
.menu-card-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--brown);
  line-height: 1.5;
}
.menu-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--brown-light);
}

/* REVIEWS */
.reviews {
  background: var(--brown-dark);
  color: var(--cream);
}
.reviews .section-head h2 { color: var(--cream); }
.reviews .section-head p { color: var(--cream-2); }

.rating-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  flex-wrap: wrap;
}
.rating-banner .score {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  color: var(--cream);
}
.stars { color: #e9b44c; font-size: 1.3rem; letter-spacing: 2px; }
.rating-banner .meta { font-size: 0.85rem; color: var(--cream-2); }
.rating-links { display: flex; gap: 14px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.rating-links a {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.rating-links a:hover { background: rgba(255,255,255,0.1); }

/* VISIT / CONTACT */
.visit .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}
.info-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--brown-dark);
  margin-top: 0;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(74,47,31,0.15);
  font-size: 0.92rem;
}
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--brown-light); }
.info-row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(74,47,31,0.15);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* FOOTER */
footer {
  background: var(--brown-dark);
  color: var(--cream-2);
  padding: 40px 0 26px;
  border-top: 4px solid var(--terracotta);
}
footer .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
footer .brand { color: var(--cream); }
footer .brand .arch { background: var(--cream); }
footer .brand .arch::after { background: var(--brown-dark); }
.footer-links { display: flex; gap: 20px; font-size: 0.85rem; justify-self: end; }
.footer-fine { font-size: 0.75rem; color: rgba(246,237,225,0.5); white-space: nowrap; justify-self: center; }

@media (max-width: 860px) {
  nav ul { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .visit .container { grid-template-columns: 1fr; }
  .menu-grid, .menu-panel.active { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  footer .container { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .footer-links { justify-self: center; }
  .footer-fine { justify-self: center; white-space: normal; }
  .hero { padding: 110px 0; min-height: 560px; }
  .hero-content { padding: 0 12px; }
}
@media (max-width: 520px) {
  .menu-grid, .menu-panel.active { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .hero-stats { gap: 22px; }
  .about-text { padding: 0 8px; }
  .feature-list { margin-left: auto; margin-right: auto; }
}
