/* ============================================
   Lé Juice — Website Styles
   Warm, Light, Airy Editorial Feel
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --sand: #F5EDE3;
  --sage: #8A9A7B;
  --sage-dark: #6B7A5C;
  --terracotta: #C4836A;
  --terracotta-dark: #A86B52;
  --espresso: #3D2E1F;
  --warm-gray: #6B5E52;
  --cream: #FDFBF8;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale (Major Third 1.25x) */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-md: 1.25rem;    /* 20px */
  --text-lg: 1.5625rem;  /* 25px */
  --text-xl: 1.953rem;    /* 31px */
  --text-2xl: 2.441rem;   /* 39px */
  --text-3xl: 3.052rem;   /* 49px */

  /* Spacing (8pt system) */
  --space-1: 0.5rem;     /* 8px */
  --space-2: 1rem;       /* 16px */
  --space-3: 1.5rem;     /* 24px */
  --space-4: 2rem;       /* 32px */
  --space-5: 2.5rem;     /* 40px */
  --space-6: 3rem;       /* 48px */
  --space-8: 4rem;       /* 64px */
  --space-10: 5rem;      /* 80px */
  --space-12: 6rem;      /* 96px */
  --space-16: 8rem;      /* 128px */

  /* Layout */
  --max-width: 1200px;
  --gutter: 1.5rem;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 600ms ease-out;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--warm-gray);
  background-color: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.2;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-2);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--space-12) 0;
}

.section--white {
  background-color: var(--cream);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-3) 0;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background-color: rgba(253, 251, 248, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(61, 46, 31, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--sage);
}

.nav__list {
  display: flex;
  gap: var(--space-4);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--warm-gray);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sage);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--espresso);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link.active {
  color: var(--espresso);
}

.nav__link.active::after {
  width: 100%;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--espresso);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sand) 0%, #EDE5D8 50%, var(--cream) 100%);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 237, 227, 0.3) 0%,
    rgba(245, 237, 227, 0.7) 50%,
    rgba(245, 237, 227, 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: var(--space-16) var(--gutter);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-2);
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, var(--text-3xl));
  margin-bottom: var(--space-3);
  color: var(--espresso);
}

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

.hero__subtitle {
  font-size: var(--text-md);
  color: var(--warm-gray);
  margin-bottom: var(--space-5);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn--primary {
  background-color: var(--sage);
  color: var(--cream);
}

.btn--primary:hover {
  background-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(138, 154, 123, 0.3);
}

.btn--outline {
  background-color: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}

.btn--outline:hover {
  background-color: var(--sage);
  color: var(--cream);
}

.btn--light {
  background-color: var(--cream);
  color: var(--espresso);
}

.btn--light:hover {
  background-color: var(--sand);
  transform: translateY(-2px);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-header__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-1);
}

.section-header__title {
  margin-bottom: var(--space-2);
}

.section-header__subtitle {
  max-width: 550px;
  margin: 0 auto;
  color: var(--warm-gray);
}

/* --- Value Props / Bento --- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.bento__item {
  background-color: var(--cream);
  border-radius: 16px;
  padding: var(--space-5);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bento__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(61, 46, 31, 0.1);
}

.bento__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-3);
  background-color: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--sage);
}

.bento__title {
  font-size: var(--text-md);
  margin-bottom: var(--space-1);
}

.bento__text {
  font-size: var(--text-sm);
  color: var(--warm-gray);
  margin-bottom: 0;
}

/* --- Drink Cards --- */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.drink-card {
  background-color: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.drink-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(61, 46, 31, 0.1);
}

.drink-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--sand);
}

.drink-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.drink-card:hover .drink-card__image img {
  transform: scale(1.05);
}

.drink-card__content {
  padding: var(--space-3);
}

.drink-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  margin-bottom: var(--space-1);
}

.drink-card__desc {
  font-size: var(--text-sm);
  color: var(--warm-gray);
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drink-card__price {
  font-weight: 600;
  color: var(--sage);
  font-size: var(--text-sm);
}

/* --- About Snippet --- */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.about-snippet__image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-snippet__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-snippet__content {
  max-width: 480px;
}

.about-snippet__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-1);
}

.about-snippet__title {
  margin-bottom: var(--space-3);
}

.about-snippet__text {
  margin-bottom: var(--space-4);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  text-align: center;
  padding: var(--space-12) var(--gutter);
  border-radius: 24px;
  margin: 0 var(--gutter);
}

.cta-banner__title {
  color: var(--cream);
  margin-bottom: var(--space-2);
}

.cta-banner__text {
  color: rgba(253, 251, 248, 0.85);
  margin-bottom: var(--space-4);
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background-color: var(--espresso);
  color: rgba(253, 251, 248, 0.7);
  padding: var(--space-10) 0 var(--space-4);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--cream);
  margin-bottom: var(--space-2);
}

.footer__logo span {
  color: var(--sage);
}

.footer__tagline {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--cream);
  margin-bottom: var(--space-3);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__link {
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--cream);
}

.footer__social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(253, 251, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.footer__social a:hover {
  background-color: var(--sage);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--cream);
}

.footer__bottom {
  border-top: 1px solid rgba(253, 251, 248, 0.1);
  padding-top: var(--space-4);
  text-align: center;
  font-size: var(--text-xs);
}

/* --- Menu Page --- */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.menu-tab {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  border: none;
  background: none;
  color: var(--warm-gray);
  cursor: pointer;
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.menu-tab:hover,
.menu-tab.active {
  background-color: var(--sage);
  color: var(--cream);
}

.menu-section {
  display: none;
}

.menu-section.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* --- About Page --- */
.about-hero {
  padding-top: calc(80px + var(--space-10));
  padding-bottom: var(--space-10);
  text-align: center;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-12);
}

.about-intro__content {
  max-width: 480px;
}

.about-intro__image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Full-Screen Gallery Strip --- */
.vibe-section {
  background-color: var(--cream);
  padding: var(--space-12) 0;
}
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.vibe-grid__item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
}

.vibe-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vibe-grid__item:hover img {
  transform: scale(1.05);
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(30, 20, 10, 0.96);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 1001;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 1001;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.lightbox__nav--prev {
  left: var(--space-4);
}

.lightbox__nav--next {
  right: var(--space-4);
}

.lightbox__counter {
  position: fixed;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.location-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.location-block__map {
  background-color: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
}

.location-block__info h3 {
  margin-bottom: var(--space-4);
}

.info-item {
  margin-bottom: var(--space-4);
}

.info-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-1);
}

.info-item__value {
  font-size: var(--text-base);
  color: var(--espresso);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.contact-info {
  background-color: var(--cream);
  border-radius: 16px;
  padding: var(--space-6);
}

.contact-info h3 {
  margin-bottom: var(--space-4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--espresso);
}

.form-group input,
.form-group textarea {
  padding: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: 2px solid var(--sand);
  border-radius: 8px;
  background-color: var(--sand);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(138, 154, 123, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Mobile Styles --- */
@media (max-width: 1024px) {
  .drinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 1rem;
  }

  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }

  .section {
    padding: var(--space-8) 0;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--cream);
    flex-direction: column;
    padding: var(--space-3);
    gap: var(--space-2);
    box-shadow: 0 8px 24px rgba(61, 46, 31, 0.1);
  }

  .nav__list.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .drinks-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .about-snippet {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .about-snippet__content {
    max-width: 100%;
    text-align: center;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro__content {
    max-width: 100%;
    text-align: center;
  }

  .vibe-grid {
    grid-template-columns: 1fr 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .location-block {
    grid-template-columns: 1fr;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .cta-banner {
    margin: 0 var(--space-2);
    padding: var(--space-8) var(--space-3);
  }
}

@media (max-width: 480px) {
  .vibe-grid {
    grid-template-columns: 1fr;
  }

  .menu-tabs {
    gap: var(--space-1);
  }

  .menu-tab {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
  }
}