/* ============================================================
   MATCHA GIRLIE — Professional Café Theme
   Palette: Warm Ivory + Deep Forest Green + Gold Accents
   Fonts: Cormorant Garamond (display) + Plus Jakarta Sans (body)
   ============================================================ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivory:       #F9F5EE;
  --ivory-dark:  #F0E9DC;
  --cream:       #EDE3D0;
  --green-deep:  #1E3A2F;
  --green-mid:   #2D5A3D;
  --green-light: #4A7C59;
  --green-pale:  #D4E6D9;
  --gold:        #B8860B;
  --gold-light:  #D4A843;
  --brown:       #5C3D1E;
  --text-dark:   #1A1A1A;
  --text-mid:    #4A4A4A;
  --text-light:  #7A7A7A;
  --white:       #FFFFFF;

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

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --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);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY HELPERS ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--green-deep);
}

.section-title em {
  font-style: italic;
  color: var(--green-light);
}

/* ── BUTTONS ── */
.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.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--green-deep);
  color: var(--ivory);
}
.btn--primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(249,245,238,0.5);
}
.btn--ghost:hover {
  background: rgba(249,245,238,0.12);
  border-color: var(--ivory);
  transform: translateY(-2px);
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4%;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(249,245,238,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(30,58,47,0.1);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ivory);
  transition: color var(--transition);
}

.nav.scrolled .nav__logo { color: var(--green-deep); }

.nav__logo-leaf {
  color: var(--gold-light);
  font-size: 1rem;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(249,245,238,0.85);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold-light);
  transition: width var(--transition);
}

.nav__links a:hover::after { width: 100%; }
.nav__links a:hover { color: var(--ivory); }

.nav.scrolled .nav__links a { color: var(--text-mid); }
.nav.scrolled .nav__links a:hover { color: var(--green-deep); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav__hamburger span { background: var(--green-deep); }

/* ── 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;
  object-position: center;
}

.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;
  padding: 0 1.5rem;
  max-width: 700px;
  animation: fadeUp 1s ease both;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ivory);
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(249,245,238,0.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(249,245,238,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(249,245,238,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── MARQUEE ── */
.marquee-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(30,58,47,0.85);
  backdrop-filter: blur(4px);
  padding: 0.75rem 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding-right: 0;
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 7rem 6%;
  background: var(--ivory);
}

.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.about__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about__img-wrap:hover img { transform: scale(1.04); }

.about__img-badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: var(--green-deep);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  line-height: 1.3;
}

.about__img-badge small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212,168,67,0.7);
  margin-top: 0.2rem;
}

.about__body {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream);
}

.stat { text-align: center; }

.stat__num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1;
}

.stat__plus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.stat p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.4rem;
}

/* ── MENU SECTION ── */
.menu-section {
  padding: 6rem 5%;
  background: var(--ivory-dark);
}

.menu-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.menu-section__sub {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid var(--cream);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--green-light);
  color: var(--green-deep);
  background: var(--green-pale);
}

.filter-tab.active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--ivory);
}

/* ── MENU GRID ── */
.menu-grid {
  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-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  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;
}

.drink-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
}

.drink-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.drink-card:hover .drink-card__img-wrap img {
  transform: scale(1.07);
}

.drink-card__badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: rgba(30,58,47,0.88);
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.drink-card__body {
  padding: 1.25rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drink-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.drink-card__top h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.25;
}

.drink-card__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.drink-card__body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact {
  padding: 7rem 5%;
  background: var(--green-deep);
}

.contact__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact .section-eyebrow { color: var(--gold-light); }
.contact .section-title { color: var(--ivory); }
.contact .section-title em { color: var(--gold-light); }

.contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.contact__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: 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(--ivory);
  margin-bottom: 0.6rem;
}

.contact__card p {
  font-size: 0.875rem;
  color: rgba(249,245,238,0.6);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.contact__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.contact__link:hover { color: var(--ivory); }

/* ── FOOTER ── */
.footer {
  background: #0F1F16;
  padding: 2.5rem 5%;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}

.footer__leaf { color: var(--gold-light); }

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(249,245,238,0.45);
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(249,245,238,0.3);
  margin-top: 0.25rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 5%;
  }

  .about__img-wrap {
    aspect-ratio: 16/9;
    max-height: 380px;
  }

  .contact__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--green-deep);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }

  .nav__links.open a {
    font-size: 1.5rem;
    color: var(--ivory);
  }

  .hero__title { font-size: clamp(3rem, 14vw, 5rem); }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .about__stats { gap: 1.5rem; }

  .filter-tabs { gap: 0.4rem; }
  .filter-tab { padding: 0.45rem 1rem; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .drink-card__body { padding: 1rem; }
  .drink-card__top h3 { font-size: 1rem; }
  .drink-card__price { font-size: 1rem; }
  .drink-card__body p { display: none; }
}