/* ============================================
   MATCHA GIRLIE — Professional Refined Theme
   Palette: Parchment & Sage
   Fonts: Cormorant Garamond + Plus Jakarta Sans
   ============================================ */

:root {
  --cream:       #F7F3EE;
  --cream-dark:  #EDE7DC;
  --sage:        #4A6741;
  --sage-light:  #7A9B6E;
  --sage-pale:   #D4E4CE;
  --brown:       #3D2B1F;
  --brown-mid:   #7A5C44;
  --gold:        #B8860B;
  --white:       #FFFFFF;
  --text:        #2C2218;
  --text-muted:  #7A6A5A;
  --border:      #DDD5C8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 12px rgba(60,40,20,0.08);
  --shadow-md:   0 8px 32px rgba(60,40,20,0.12);
  --shadow-lg:   0 20px 60px rgba(60,40,20,0.16);
  --transition:  0.3s 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(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-style: italic; font-family: var(--font-display); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 3px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(247, 243, 238, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.02em;
}
.nav-logo em { color: var(--sage); }
.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: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--sage);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--sage); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  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 {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30, 20, 10, 0.55) 0%,
    rgba(30, 20, 10, 0.35) 50%,
    rgba(74, 103, 65, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  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.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.hero-title em {
  color: var(--sage-pale);
  font-style: italic;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(74,103,65,0.4);
}
.btn-primary:hover {
  background: var(--sage-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,103,65,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.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.6rem;
  color: rgba(255,255,255,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(255,255,255,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(--sage);
  overflow: hidden;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.ticker-track .dot {
  color: var(--sage-pale);
  font-size: 0.6rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

/* ===== ABOUT ===== */
.about {
  padding: 7rem 2rem;
  background: var(--white);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 90px; height: 90px;
  background: var(--sage);
  color: var(--white);
  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: 500;
  text-align: center;
  box-shadow: var(--shadow-md);
  line-height: 1.2;
}
.about-badge small {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brown);
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--sage);
  line-height: 1;
}
.stat span:not(.stat-num) {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sage);
  line-height: 1;
}
.stat small {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ===== MENU SECTION ===== */
.menu-section {
  padding: 7rem 2rem;
  background: var(--cream);
}
.menu-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.menu-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 0.75rem;
}
.menu-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--sage-light);
  color: var(--sage);
}
.filter-btn.active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(74,103,65,0.3);
}

/* ===== MENU GRID ===== */
.menu-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

/* ===== DRINK CARD ===== */
.drink-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.drink-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.drink-card.hidden {
  display: none;
}
.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.drink-card:hover .card-img-wrap img {
  transform: scale(1.06);
}
.card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(6px);
  color: var(--sage);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  border: 1px solid rgba(74,103,65,0.2);
}
.card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.card-top h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.25;
}
.price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sage);
  white-space: nowrap;
  flex-shrink: 0;
}
.card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
  padding: 7rem 2rem;
  background: var(--brown);
}
.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.contact .section-label {
  color: var(--sage-pale);
}
.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 3.5rem;
}
.contact-inner h2 em { color: var(--sage-pale); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: background var(--transition), transform var(--transition);
}
.contact-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.contact-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.contact-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sage-pale);
  border-bottom: 1px solid rgba(212,228,206,0.3);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.contact-link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brown);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
}
.footer-logo em { color: var(--sage-pale); }
.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image img { height: 340px; }
  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(247,243,238,0.98);
    backdrop-filter: blur(12px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { font-size: 1rem; color: var(--text); }
  .nav-toggle { display: flex; }

  .hero-title { font-size: 3rem; }
  .about { padding: 4rem 1.5rem; }
  .menu-section { padding: 4rem 1.5rem; }
  .contact { padding: 4rem 1.5rem; }
  .stats { gap: 1.5rem; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
}