:root {
  --color-espresso: #3D2B1F;
  --color-gold: #8B6914;
  --color-bagel: #D4A574;
  --color-cream: #F5E6D3;
  --color-offwhite: #FAF7F2;
  --color-green: #2C5F2D;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-espresso);
  background-color: var(--color-offwhite);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-espresso);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-bagel);
  margin-bottom: 3rem;
  font-weight: 300;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(61, 43, 31, 0.1);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
}

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

.nav__logo-icon {
  color: var(--color-gold);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  transition: color 0.3s ease;
}

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

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

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

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

.nav__close-wrapper {
  display: none;
}

.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: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav--scrolled .nav__hamburger span {
  background: var(--color-espresso);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-espresso) 0%, #5C3D2E 50%, var(--color-espresso) 100%);
  background-image: linear-gradient(rgba(61, 43, 31, 0.55), rgba(61, 43, 31, 0.65)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__leaf {
  position: absolute;
  opacity: 0.3;
}

.hero__leaf--1 {
  top: 15%;
  left: 10%;
}

.hero__leaf--2 {
  top: 25%;
  right: 15%;
}

.hero__leaf--3 {
  bottom: 30%;
  left: 20%;
}

.hero__leaf--4 {
  bottom: 20%;
  right: 10%;
}

.hero__steam {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.hero__steam-particle {
  display: block;
  width: 4px;
  height: 20px;
  background: rgba(139, 105, 20, 0.15);
  border-radius: 50%;
  opacity: 0;
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--color-cream);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  transform-origin: center;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--color-bagel);
  font-weight: 400;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
  overflow: hidden;
}

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

.hero__cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-gold);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid var(--color-gold);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.hero__cta:hover {
  background: #A07A18;
  border-color: #A07A18;
  transform: translateY(-2px);
}

.hero__cta--outline {
  background: transparent;
  color: var(--color-cream);
  border: 2px solid rgba(245, 230, 211, 0.6);
}

.hero__cta--outline:hover {
  background: rgba(245, 230, 211, 0.15);
  border-color: var(--color-cream);
}

/* ===== ABOUT ===== */
.about {
  padding: 6rem 0;
  background: var(--color-offwhite);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  opacity: 0;
  transform: translateX(-60px);
}

.about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}

.about__text {
  opacity: 0;
  transform: translateX(60px);
}

.about__text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5a4a3a;
}

/* ===== MENU ===== */
.menu {
  padding: 6rem 0;
  background: var(--color-cream);
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(61, 43, 31, 0.08);
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: box-shadow 0.3s ease;
}

.menu__card-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.menu__card:hover .menu__card-image img {
  transform: scale(1.05);
}

.menu__card-image {
  overflow: hidden;
}

.menu__card-body {
  padding: 1.5rem;
}

.menu__card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-espresso);
}

.menu__card-desc {
  font-size: 0.9rem;
  color: #7a6a5a;
  line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 6rem 0;
  background: var(--color-offwhite);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery__item {
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 6rem 0;
  background: var(--color-cream);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonials__card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(61, 43, 31, 0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.testimonials__stars {
  color: var(--color-gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonials__quote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  color: #5a4a3a;
  margin-bottom: 1.2rem;
}

.testimonials__author {
  font-weight: 700;
  color: var(--color-espresso);
  font-size: 0.9rem;
}

/* ===== LOCATION ===== */
.location {
  padding: 7rem 0;
  background: var(--color-cream);
}

.location__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
  opacity: 0;
  transform: translateY(40px);
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-offwhite);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.06);
}

.location__detail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.location__detail:first-child {
  padding-top: 0;
}

.location__detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.location__icon {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 3px;
  width: 24px;
  height: 24px;
}

.location__detail h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-weight: 700;
}

.location__detail p {
  font-size: 1rem;
  color: var(--color-espresso);
  line-height: 1.6;
}

.location__detail a {
  color: var(--color-espresso);
  border-bottom: 1px solid var(--color-bagel);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.location__detail a:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.location__map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(61, 43, 31, 0.12);
  position: relative;
  min-height: 400px;
}

.location__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-espresso);
  color: var(--color-cream);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--color-bagel);
  font-weight: 300;
}

.footer__links h4,
.footer__social h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-bagel);
  transition: color 0.3s ease;
}

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

.footer__instagram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-bagel);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer__copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  font-size: 0.85rem;
  color: var(--color-bagel);
}

/* ===== RESPONSIVE: 1024px ===== */
@media (max-width: 1024px) {
  .about__inner {
    gap: 2.5rem;
  }

  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

/* ===== RESPONSIVE: 768px ===== */
@media (max-width: 768px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 300px;
    height: 100%;
    height: 100dvh;
    background: var(--color-offwhite);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-shadow: -5px 0 20px rgba(61, 43, 31, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 9999;
  }

  .nav__links.active {
    transform: translateX(0);
  }

  .nav__close-wrapper {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

  .nav__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-espresso);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .nav__close:hover {
    background: var(--color-cream);
    color: var(--color-gold);
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image {
    order: -1;
  }

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

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

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

  .location__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .location__info {
    padding: 2rem;
  }

  .location__map {
    min-height: 300px;
  }

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

  .footer__logo {
    justify-content: center;
  }

  .footer__instagram {
    justify-content: center;
  }
}
