/* ============================================================
   Chilla by Potters — stylesheet
   Palette: cream, wood, terracotta, turquoise, indigo accent
   ============================================================ */

:root {
  --cream: #f6efe3;
  --cream-deep: #eaddc4;
  --wood: #a9744f;
  --wood-dark: #8a5a3b;
  --terracotta: #c96f4a;
  --terracotta-dark: #b05a38;
  --turquoise: #5fb3ab;
  --turquoise-deep: #4c8f7d;
  --indigo: #3b3a63;
  --indigo-deep: #2d2c4e;
  --ink: #35302a;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(59, 58, 99, 0.12);
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

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

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--indigo); }

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); }
.section-sub { margin-top: 0.7rem; color: #6c6155; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--small { padding: 0.5rem 1.15rem; font-size: 0.9rem; }
.btn--terracotta { background: var(--terracotta); color: var(--cream); }
.btn--terracotta:hover { background: var(--terracotta-dark); }
.btn--ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--ghost:hover { background: var(--indigo); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--indigo); }
.btn--outline-cream { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--outline-cream:hover { background: var(--cream); color: var(--indigo); }
.btn--indigo { background: var(--indigo); color: var(--cream); border: none; }
.btn--indigo:hover { background: var(--indigo-deep); }

/* ---------------- Logo badge motif ---------------- */
.logo-badge { display: inline-block; border-radius: 50%; }
.logo-badge svg { width: 100%; height: 100%; }
.logo-badge--small { width: 44px; height: 44px; }
.logo-badge--large {
  width: clamp(120px, 16vw, 168px);
  height: clamp(120px, 16vw, 168px);
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 8px 18px rgba(201, 111, 74, 0.35));
}

.badge-ring-outer { fill: var(--terracotta); }
.badge-ring-inner { fill: none; stroke: var(--cream); stroke-width: 2.5; }
.badge-ring-dashed { fill: none; stroke: var(--cream); stroke-width: 1.5; stroke-dasharray: 3 6; opacity: 0.8; }
.badge-cup { fill: var(--cream); }
.badge-steam { fill: none; stroke: var(--cream); stroke-width: 2.5; stroke-linecap: round; }
.badge-latte-art { fill: none; stroke: var(--terracotta); stroke-width: 2.5; stroke-linecap: round; }
.badge-arc-text { font-family: var(--font-body); font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; fill: var(--cream); }
.badge-name { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: 0.28em; fill: var(--cream); }

.logo-badge--footer .badge-ring-outer { fill: var(--turquoise); }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 227, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 58, 99, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--indigo);
}
.nav-brand-text em { font-style: italic; font-weight: 400; color: var(--terracotta); font-size: 0.95rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--terracotta); border-color: var(--terracotta); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--indigo);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--cream-deep) 0%, #e2d2b3 55%, #d8c5a2 100%);
  overflow: hidden;
}

.hero-texture {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(169, 116, 79, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4.5rem, 9vw, 7rem);
}

.hero-tagline {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #5b5045;
  max-width: 46ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.hero-illustration {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 52px; }

.steam-anim { animation: steam-drift 3.2s ease-in-out infinite alternate; }
@keyframes steam-drift {
  from { opacity: 0.5; transform: translateY(0); }
  to   { opacity: 1;   transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .steam-anim { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-visual { position: relative; width: fit-content; margin-inline: auto; }
.about-badge-frame {
  width: clamp(240px, 30vw, 340px);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.about-stamp {
  position: absolute;
  right: -14px; bottom: -6px;
  width: clamp(88px, 10vw, 116px);
  animation: stamp-spin 24s linear infinite;
}
@keyframes stamp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .about-stamp { animation: none; } }
.stamp-text { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; fill: var(--cream); }
.stamp-center { font-family: var(--font-display); font-size: 22px; font-weight: 700; fill: var(--cream); }

.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { margin-bottom: 1rem; color: #55493d; }

.about-points { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.65rem; }
.about-points li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; }
.point-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.point-dot--terracotta { background: var(--terracotta); }
.point-dot--turquoise { background: var(--turquoise); }
.point-dot--indigo { background: var(--indigo); }

/* ---------------- Menu ---------------- */
.menu { background: #fffdf8; }

.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.menu-tab {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--cream-deep);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.menu-tab:hover { border-color: var(--turquoise); color: var(--turquoise-deep); }
.menu-tab.is-active { background: var(--turquoise); border-color: var(--turquoise); color: #fff; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2.6rem;
}

.menu-item {
  padding: 0;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(169, 116, 79, 0.16);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.menu-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.menu-item:hover .menu-photo img { transform: scale(1.05); }

.menu-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-deep);
}
.menu-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.menu-item-body { padding: 1rem 1.15rem 1.15rem; }

.menu-item-head { display: flex; align-items: baseline; gap: 0.6rem; }
.menu-item h3 { font-size: 1.08rem; font-weight: 600; white-space: nowrap; }
.menu-dots { flex: 1; border-bottom: 2px dotted rgba(169, 116, 79, 0.5); transform: translateY(-4px); }
.price { font-family: var(--font-display); font-weight: 700; color: var(--terracotta); font-size: 1.05rem; white-space: nowrap; }
.menu-item p { margin-top: 0.3rem; font-size: 0.9rem; color: #6c6155; line-height: 1.45; }

.menu-note {
  text-align: center;
  margin-top: 2.4rem;
  font-size: 1rem;
  color: var(--indigo);
  background: var(--cream-deep);
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  width: fit-content;
  margin-inline: auto;
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(120deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: var(--cream);
  padding: clamp(2.8rem, 6vw, 4.2rem) 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--cream); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(246, 239, 227, 0.75); max-width: 46ch; }
.cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1.2rem;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(59, 58, 99, 0.10);
}
.gallery-card svg { width: 100%; height: 100%; object-fit: cover; }
.gallery-card--tall { grid-row: span 2; }
.gallery-card--wide { grid-column: span 2; }

.gallery-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(transparent, rgba(45, 44, 78, 0.82));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-card:hover figcaption,
.gallery-card:focus-within figcaption { opacity: 1; }

.gallery-svg-caption { font-family: var(--font-display); font-style: italic; font-size: 20px; fill: var(--wood-dark); }
.gallery-svg-caption--light { fill: var(--cream); font-size: 26px; }
.gallery-svg-caption--light-small { fill: rgba(246, 239, 227, 0.7); font-family: var(--font-body); font-style: normal; font-size: 15px; }

/* ---------------- Location ---------------- */
.location { background: var(--cream-deep); }

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.location-address {
  font-style: normal;
  font-size: 1.05rem;
  margin: 1.2rem 0 1.6rem;
  line-height: 1.7;
}

.hours-table { border-collapse: collapse; width: 100%; max-width: 340px; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(169, 116, 79, 0.4);
  font-size: 1rem;
}
.hours-table th { font-weight: 600; color: var(--indigo); }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-special th, .hours-special td { color: var(--terracotta); font-weight: 600; border-bottom: none; }

.location-note { margin-top: 1.4rem; color: #6c6155; font-size: 0.95rem; }

.location-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dcd2bd;
}
.location-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.map-link {
  position: absolute;
  right: 12px; bottom: 12px;
  background: var(--indigo);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-list { list-style: none; margin: 1.4rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 0.9rem; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.contact-list a:hover { color: var(--terracotta); }

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--turquoise);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; fill: #fff; }

.socials { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.socials a {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--indigo);
  display: grid;
  place-items: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.socials a:hover { background: var(--terracotta); transform: translateY(-3px); }
.socials svg { width: 21px; height: 21px; fill: var(--cream); }

.contact-form {
  background: #fffdf8;
  border: 1px solid rgba(169, 116, 79, 0.16);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
}
.contact-form label { display: grid; gap: 0.35rem; }
.contact-form label span { font-weight: 600; font-size: 0.92rem; color: var(--indigo); }
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid var(--cream-deep);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--turquoise);
}
.form-hint { font-size: 0.85rem; color: #8a7d6d; text-align: center; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--indigo-deep);
  color: rgba(246, 239, 227, 0.85);
  padding: 2.6rem 0;
}
.footer-inner {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand em { color: var(--turquoise); font-style: italic; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.footer-nav a { color: rgba(246, 239, 227, 0.85); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--turquoise); }
.footer-copy { font-size: 0.85rem; color: rgba(246, 239, 227, 0.55); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-scene { order: 2; }

  .about-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-card--wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(59, 58, 99, 0.1);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.is-open { max-height: 420px; }
  .nav-links li { border-top: 1px solid rgba(59, 58, 99, 0.06); }
  .nav-links a:not(.btn) { display: block; padding: 0.9rem 6%; border-bottom: none; }
  .nav-links .btn { margin: 0.9rem 6%; text-align: center; }

  .menu-grid { grid-template-columns: 1fr; }
  .location-map iframe { height: 320px; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gallery-card--tall { grid-row: span 1; }
  .gallery-card--wide { grid-column: span 1; }
  .gallery-card figcaption { opacity: 1; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}
