/* ============================================
   AR COFFEE — Design System
   Palette: Parchment & Terracotta
   Fonts: Cormorant Garamond + Cabinet Grotesk
   ============================================ */

:root {
  --cream:      #F4ECD8;
  --parchment:  #EDE0C4;
  --tan:        #D4C5A9;
  --brown-lt:   #C9A87C;
  --brown:      #8B4513;
  --brown-dk:   #5B3A29;
  --espresso:   #2C1A0E;
  --terra:      #B5563E;
  --terra-lt:   #D4896A;
  --white:      #FDFAF5;
  --text:       #2C1A0E;
  --text-muted: #7A6050;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Cabinet Grotesk', sans-serif;

  --radius:  12px;
  --radius-lg: 24px;
  --shadow:  0 4px 24px rgba(44,26,14,0.10);
  --shadow-lg: 0 12px 48px rgba(44,26,14,0.18);

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- 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(--white);
  color: var(--text);
  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; }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- TYPOGRAPHY ---- */
.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
}
.section__title em {
  font-style: italic;
  color: var(--terra);
}
.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.btn--primary {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(181,86,62,0.35);
}
.btn--primary:hover {
  background: var(--brown-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(181,86,62,0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn--nav {
  background: var(--terra);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}
.btn--nav:hover { background: var(--brown-dk); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(253,250,245,0.97);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
  box-shadow: 0 2px 20px rgba(44,26,14,0.08);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color 0.4s;
}
.nav__logo span { color: var(--terra-lt); }
.nav.scrolled .nav__logo { color: var(--espresso); }
.nav__links {
  display: flex;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--terra);
  transition: width 0.3s;
}
.nav__links a:hover::after { width: 100%; }
.nav__links a:hover { color: var(--white); }
.nav.scrolled .nav__links a { color: var(--text-muted); }
.nav.scrolled .nav__links a:hover { color: var(--terra); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav__burger span { background: var(--espresso); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--espresso);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { text-align: center; }
.mobile-menu li { margin: 1.5rem 0; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--cream);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--terra-lt); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  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(44,26,14,0.72) 0%,
    rgba(44,26,14,0.45) 50%,
    rgba(44,26,14,0.65) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 2rem;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra-lt);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.2s both;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.4s both;
}
.hero__title em {
  font-style: italic;
  color: var(--terra-lt);
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(244,236,216,0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.6s both;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.8s both;
}
.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(244,236,216,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(244,236,216,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  background: var(--terra);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream);
  padding: 0 1.5rem;
  opacity: 0.9;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about__image-wrap img {
  border-radius: var(--radius-lg);
  height: 580px;
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--terra);
  color: var(--white);
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}
.about__badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about__badge-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  line-height: 1.3;
}
.about__text { padding-left: 1rem; }
.about__body {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--tan);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--terra);
  line-height: 1;
}
.stat__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ============================================
   MENU
   ============================================ */
.menu { background: var(--cream); }
.menu__tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.menu__tab {
  padding: 0.65rem 1.6rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border: 1.5px solid var(--tan);
  background: transparent;
  transition: var(--transition);
}
.menu__tab:hover { border-color: var(--terra); color: var(--terra); }
.menu__tab.active {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.menu__panel { display: none; }
.menu__panel.active { display: block; }
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.menu__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.menu__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.menu__card-img {
  height: 220px;
  overflow: hidden;
}
.menu__card-img img {
  transition: transform 0.6s ease;
}
.menu__card:hover .menu__card-img img {
  transform: scale(1.06);
}
.menu__card-body {
  padding: 1.5rem;
}
.menu__card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.menu__card-top h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--espresso);
}
.price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--terra);
}
.menu__card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.menu__card--special { border: 2px solid var(--terra); }
.badge {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.25rem 0.8rem;
  background: var(--terra);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery { background: var(--espresso); padding-bottom: 7rem; }
.gallery .section__eyebrow { color: var(--terra-lt); }
.gallery .section__title { color: var(--cream); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 1rem;
  padding: 0 2rem;
  max-width: 1300px;
  margin: 0 auto;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery__item img {
  transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall {
  grid-row: span 2;
}
.gallery__item--wide {
  grid-column: span 2;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--parchment); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}
.testimonial:hover { transform: translateY(-4px); }
.testimonial__stars {
  color: var(--terra);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial__text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--espresso);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial__author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--espresso);
}
.testimonial__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.contact__details { margin-top: 2.5rem; }
.contact__item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}
.contact__item svg {
  width: 22px; height: 22px;
  color: var(--terra);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.2rem;
}
.contact__item span {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.contact__social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.contact__social a svg {
  width: 18px; height: 18px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.contact__social a:hover {
  background: var(--terra);
  border-color: var(--terra);
}
.contact__social a:hover svg { color: var(--white); }
.map__placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
}
.map__pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--espresso);
}
.map__pin svg {
  width: 18px; height: 18px;
  color: var(--terra);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--espresso);
  color: var(--cream);
  padding-top: 5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(244,236,216,0.12);
}
.footer__brand .nav__logo { color: var(--cream); margin-bottom: 1rem; display: block; }
.footer__brand p {
  font-size: 0.9rem;
  color: rgba(244,236,216,0.55);
  line-height: 1.7;
}
.footer__links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra-lt);
  margin-bottom: 1.2rem;
}
.footer__links ul li { margin-bottom: 0.7rem; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(244,236,216,0.6);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--cream); }
.footer__newsletter h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra-lt);
  margin-bottom: 0.6rem;
}
.footer__newsletter p {
  font-size: 0.85rem;
  color: rgba(244,236,216,0.55);
  margin-bottom: 1rem;
}
.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid rgba(244,236,216,0.2);
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.2rem;
  background: rgba(244,236,216,0.07);
  border: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(244,236,216,0.35); }
.newsletter-form button {
  padding: 0.75rem 1.4rem;
  background: var(--terra);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--terra-lt); }
.footer__bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(244,236,216,0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__image-wrap img { height: 420px; }
  .about__badge { right: 1rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav { padding: 1.2rem 1.5rem; }
  .nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .section { padding: 5rem 0; }
  .about__stats { gap: 1.5rem; }
  .menu__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; padding: 0 1rem; }
  .gallery__item--wide { grid-column: span 1; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__title { font-size: clamp(2.8rem, 10vw, 5rem); }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .about__stats { flex-direction: column; gap: 1rem; }
  .menu__tabs { gap: 0.4rem; }
  .menu__tab { padding: 0.55rem 1.1rem; font-size: 0.8rem; }
}