/* ============ Taschte Café – Design System ============ */

/* ============ Self-hosted fonts (variable woff2) ============ */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-optical-sizing: auto;
  font-display: swap;
  src: url("../fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-optical-sizing: auto;
  font-display: swap;
  src: url("../fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-optical-sizing: auto;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-optical-sizing: auto;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #faf5ee;
  --cream-2: #f3ebdf;
  --espresso: #2b2118;
  --espresso-2: #4a3a2c;
  --terra: #c05f33;
  --terra-dark: #a04d27;
  --gold: #d9a441;
  --white: #fffdf9;
  --shadow: 0 12px 40px rgba(43, 33, 24, 0.12);
  --radius: 20px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.01em; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terra);
  margin-bottom: 14px;
}

.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-sub { margin-top: 14px; color: var(--espresso-2); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; font-family: var(--font-body);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--terra); color: var(--white); }
.btn-primary:hover { background: var(--terra-dark); }
.btn-ghost { background: rgba(255, 253, 249, 0.16); color: var(--white); border: 1.5px solid rgba(255, 253, 249, 0.65); backdrop-filter: blur(6px); }
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(43, 33, 24, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo-text {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 600;
  color: var(--white); transition: color 0.3s ease;
  display: flex; flex-direction: column; line-height: 1;
}
.logo-text small {
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.28em; margin-top: 5px; opacity: 0.85;
}
.scrolled .logo-text { color: var(--espresso); }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  color: var(--white); font-weight: 500; font-size: 0.95rem; white-space: nowrap;
  transition: color 0.3s ease, opacity 0.2s ease;
}
.main-nav a:hover { opacity: 0.7; }
.scrolled .main-nav a { color: var(--espresso); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; border-radius: 999px; overflow: hidden;
  border: 1.5px solid rgba(255, 253, 249, 0.5); transition: border-color 0.3s ease;
}
.scrolled .lang-switch { border-color: rgba(43, 33, 24, 0.25); }
.lang-btn {
  background: transparent; border: none; color: var(--white);
  padding: 7px 13px; font-weight: 600; font-size: 0.8rem; cursor: pointer;
  font-family: var(--font-body); transition: all 0.25s ease;
}
.scrolled .lang-btn { color: var(--espresso); }
.lang-btn.active { background: var(--terra); color: var(--white) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--white); margin: 5px 0; transition: all 0.3s ease;
}
.scrolled .nav-toggle span { background: var(--espresso); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 30%;
  filter: brightness(1.1) saturate(1.05);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28, 19, 12, 0.68) 0%, rgba(28, 19, 12, 0.38) 55%, rgba(28, 19, 12, 0.1) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 100px; max-width: 720px; }
.hero .eyebrow { color: var(--gold); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); margin: 22px 0 34px; max-width: 540px; opacity: 0.94; font-weight: 300; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.badge {
  background: rgba(255, 253, 249, 0.13); border: 1px solid rgba(255, 253, 249, 0.3);
  backdrop-filter: blur(8px); padding: 8px 18px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; color: var(--gold);
}
.badge em { font-style: normal; color: var(--white); }
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 90px; z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--espresso));
}

/* ============ Marquee ============ */
.marquee { background: var(--espresso); color: var(--cream); overflow: hidden; padding: 18px 0; }
.marquee-track {
  display: flex; align-items: center; gap: 28px; white-space: nowrap;
  width: max-content; animation: scroll 30s linear infinite;
  font-family: var(--font-display); font-size: 1.15rem; font-style: italic;
}
.marquee-track i { color: var(--terra); font-style: normal; font-size: 0.8rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ Story ============ */
.story { background: var(--cream); }
.story-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.story-images { position: relative; }
.img-arch { border-radius: 260px 260px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-arch img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.img-small {
  position: absolute; right: -10%; bottom: -8%; width: 46%;
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow);
}
.img-small img { aspect-ratio: 1; object-fit: cover; }
.story-text h2 { margin-bottom: 22px; }
.story-text p { color: var(--espresso-2); margin-bottom: 16px; }
.story-points { list-style: none; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.story-points li { padding-left: 30px; position: relative; font-weight: 500; }
.story-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--terra); color: var(--white);
  font-size: 0.7rem; display: flex; align-items: center; justify-content: center;
}

/* ============ Menu ============ */
.menu { background: var(--cream-2); }
.menu-cat { margin-bottom: 56px; }
.menu-cat:last-child { margin-bottom: 0; }
.menu-cat h3 {
  font-size: 1.5rem; margin-bottom: 24px; display: flex; align-items: center; gap: 16px;
}
.menu-cat h3::after { content: ""; flex: 1; height: 1px; background: rgba(43, 33, 24, 0.18); }
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 22px;
}
.menu-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(43, 33, 24, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.menu-card > img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.menu-card-body { padding: 20px 22px 24px; }
.menu-card-body header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.menu-card-body h4 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; }
.menu-card-body .tag {
  display: inline-block; font-family: var(--font-body); font-size: 0.68rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--cream-2); color: var(--terra); border-radius: 999px;
  padding: 3px 10px; vertical-align: middle; margin-left: 4px;
}
.menu-card-body p { font-size: 0.92rem; color: var(--espresso-2); }
.price { font-weight: 700; color: var(--terra); white-space: nowrap; }

.drinks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; max-width: 880px; }
.drink { display: flex; align-items: baseline; gap: 10px; font-weight: 500; }
.drink small { color: var(--espresso-2); font-weight: 400; }
.drink .dots { flex: 1; border-bottom: 2px dotted rgba(43, 33, 24, 0.3); transform: translateY(-4px); }
.menu-note { margin-top: 34px; font-size: 0.88rem; color: var(--espresso-2); font-style: italic; }

/* ============ Gallery ============ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-grid img:hover { transform: scale(1.025); box-shadow: var(--shadow); }
.ig-cta { text-align: center; margin-top: 44px; }
.ig-cta p { margin-bottom: 16px; color: var(--espresso-2); }

/* ============ Quotes ============ */
.quotes { background: var(--espresso); color: var(--cream); }
.quotes .eyebrow { color: var(--gold); }
.quotes .section-head { margin-inline: auto; text-align: center; }
.stars { color: var(--gold); letter-spacing: 4px; }
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.quote-card {
  background: rgba(255, 253, 249, 0.06); border: 1px solid rgba(255, 253, 249, 0.14);
  border-radius: var(--radius); padding: 30px 28px;
}
.quote-card p { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.55; }
.quote-card footer { margin-top: 18px; font-size: 0.82rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.12em; }

/* ============ Visit ============ */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.visit-info h2 { margin-bottom: 28px; }
.visit-list { display: grid; gap: 20px; margin-bottom: 28px; }
.visit-list dt {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.18em;
  font-weight: 700; color: var(--terra); margin-bottom: 3px;
}
.visit-list dd a { font-weight: 600; border-bottom: 2px solid var(--gold); }
.visit-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  background: var(--white); border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: 999px; padding: 7px 16px; font-size: 0.85rem; font-weight: 500;
}
.visit-map iframe {
  width: 100%; height: 100%; min-height: 480px; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ============ Footer ============ */
.site-footer { background: var(--espresso); color: var(--cream); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 44px;
}
.footer-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin-bottom: 10px; }
.footer-grid p { opacity: 0.8; font-size: 0.93rem; }
.footer-h { font-weight: 700 !important; opacity: 1 !important; text-transform: uppercase; font-size: 0.76rem !important; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 14px; }
.footer-grid a { display: block; opacity: 0.8; margin-bottom: 9px; font-size: 0.93rem; transition: opacity 0.2s; }
.footer-grid a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255, 253, 249, 0.14);
  padding: 20px 0; font-size: 0.83rem; opacity: 0.6;
}

/* ============ Sticky call (mobile) ============ */
.sticky-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: none; align-items: center; gap: 8px;
  background: var(--terra); color: var(--white);
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 8px 28px rgba(192, 95, 51, 0.45);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sticky-call.visible { opacity: 1; pointer-events: auto; transform: none; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .story-grid, .visit-grid { grid-template-columns: 1fr; }
  .story-images { max-width: 440px; }
  .img-small { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 80vw);
    background: var(--espresso); flex-direction: column; gap: 8px;
    padding: 110px 36px 36px; transform: translateX(100%);
    transition: transform 0.35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    z-index: 99;
  }
  .main-nav.open { transform: none; }
  .main-nav a { color: var(--cream) !important; font-size: 1.25rem; padding: 12px 0; font-family: var(--font-display); }
  .nav-toggle { display: block; position: relative; z-index: 100; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--cream); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--cream); }
  .header-actions .btn { display: none; }
  .sticky-call { display: inline-flex; }
  .drinks-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
  .story-points { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .visit-map iframe { min-height: 340px; }
}

/* ============ Mobile hero cleanup (≤767px) ============ */
@media (max-width: 767px) {
  .marquee { display: none; }
  .hero-bg { overflow: hidden; }
  .hero-bg img {
    height: 100%;
    object-position: center top;
    transform: scale(1.15);
    transform-origin: 50% 0;
  }
  .hero-content { padding: 104px 0 48px; }
  .hero h1 { font-size: clamp(2.1rem, 7.5vw, 2.8rem); }
  .hero-sub { font-size: 0.98rem; line-height: 1.5; margin: 14px 0 22px; }
  .hero-cta { gap: 10px; }
  .hero-badges { margin-top: 26px; }
  .hero-badges .badge { display: none; }
  .hero-badges .badge:last-child { display: inline-block; }
}
