/* ============================================================
   MATCHA GIRLIE — Design System
   Theme: Botanical Elegance
   Palette: Deep forest green + warm cream + blush rose + gold
   Fonts: Playfair Display (display) + Cabinet Grotesk (body)
   ============================================================ */

:root {
  --forest:    #1E3A2F;
  --sage:      #4A7C59;
  --sage-light:#7BAE8A;
  --cream:     #F7F2EA;
  --cream-dark:#EDE5D4;
  --blush:     #E8C4B0;
  --rose:      #C97B5A;
  --gold:      #C9A84C;
  --ink:       #1A1A1A;
  --muted:     #6B6B5E;
  --white:     #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Cabinet Grotesk', 'Helvetica Neue', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --shadow-sm:  0 2px 12px rgba(30,58,47,0.08);
  --shadow-md:  0 8px 32px rgba(30,58,47,0.12);
  --shadow-lg:  0 20px 60px rgba(30,58,47,0.18);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(3.5rem, 9vw, 8rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
em { font-style: italic; color: var(--sage); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(247,242,234,0.5);
}
.btn-ghost:hover {
  background: rgba(247,242,234,0.12);
  border-color: var(--cream);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4vw;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(247,242,234,0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a { color: var(--forest); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,242,234,0.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav.scrolled .nav-links a:hover { color: var(--sage); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--forest); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,25,15,0.72) 0%,
    rgba(30,58,47,0.55) 50%,
    rgba(10,25,15,0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 0 1.5rem;
  animation: fadeUp 1s 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-title {
  color: var(--cream);
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.hero-title em {
  color: var(--sage-light);
  display: block;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(247,242,234,0.85);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247,242,234,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 1s 1s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(247,242,234,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--forest);
  overflow: hidden;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(74,124,89,0.3);
  border-bottom: 1px solid rgba(74,124,89,0.3);
}
.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,242,234,0.75);
}
.ticker-track .dot {
  color: var(--gold);
  font-size: 0.6rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}
.about-img {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-img:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--forest);
  color: var(--cream);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-md);
}
.about-badge small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-top: 2px;
}
.about-text {
  background: var(--cream-dark);
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(30,58,47,0.12);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.stat span:not(.stat-num) {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
}
.stat small {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ── MENU SECTION ── */
.menu-section {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.menu-header {
  text-align: center;
  padding: 0 1.5rem 3rem;
}
.menu-header h2 { margin-bottom: 0.75rem; }
.menu-sub {
  color: var(--muted);
  font-size: 1rem;
}

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 1.5rem 3.5rem;
}
.tab {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--cream-dark);
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.tab:hover {
  color: var(--forest);
  background: var(--blush);
}
.tab.active {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

/* ── MENU CATEGORY ── */
.menu-category {
  padding: 0 clamp(1.5rem, 5vw, 5rem) 4rem;
  transition: opacity 0.3s ease;
}
.menu-category.hidden { display: none; }

.category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--cream-dark);
}
.category-header h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--forest);
  position: relative;
}
.category-header h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--sage);
  border-radius: 2px;
}
.coffee-header h3::after { background: var(--rose); }
.cream-header h3::after  { background: var(--gold); }
.milk-header h3::after   { background: var(--sage-light); }
.soda-header h3::after   { background: #7BAFC9; }

/* ── DRINKS GRID ── */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ── DRINK CARD ── */
.drink-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.drink-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.drink-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.drink-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.drink-card:hover .drink-img-wrap img {
  transform: scale(1.08);
}
.drink-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-xl);
}
.coffee-badge { background: var(--rose); }
.cream-badge  { background: var(--gold); color: var(--forest); }
.milk-badge   { background: var(--sage); }
.soda-badge   { background: #4A7C9C; }

.drink-info {
  padding: 1.1rem 1.25rem 1.25rem;
}
.drink-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.drink-info p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sage);
}

/* ── CONTACT ── */
.contact {
  background: var(--forest);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 5rem);
}
.contact-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.contact .section-eyebrow { color: var(--gold); }
.contact h2 { color: var(--cream); margin-bottom: 3rem; }
.contact h2 em { color: var(--sage-light); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.contact-card {
  background: rgba(247,242,234,0.06);
  border: 1px solid rgba(247,242,234,0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background var(--transition), transform var(--transition);
}
.contact-card:hover {
  background: rgba(247,242,234,0.1);
  transform: translateY(-4px);
}
.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.contact-card h4 {
  font-family: var(--font-display);
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.contact-card p {
  font-size: 0.88rem;
  color: rgba(247,242,234,0.6);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.contact-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--sage-light); }

/* ── FOOTER ── */
.footer {
  background: #0D1F16;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--sage-light);
  margin-bottom: 1rem;
  font-style: italic;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(247,242,234,0.35);
  letter-spacing: 0.05em;
}

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75vw;
    max-width: 320px;
    height: 100svh;
    background: var(--forest);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right var(--transition);
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1.1rem;
    color: var(--cream);
  }
  .nav-toggle { display: flex; z-index: 101; }

  .about {
    grid-template-columns: 1fr;
  }
  .about-img { min-height: 320px; }

  .drinks-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .drink-img-wrap { height: 160px; }

  .stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .drinks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .drink-img-wrap { height: 140px; }
  .drink-info { padding: 0.85rem; }
  .drink-info h4 { font-size: 0.88rem; }
  .drink-info p { display: none; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }