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

:root {
  --color-bg: #faf7f2;
  --color-bg-alt: #f0ebe3;
  --color-text: #2c2419;
  --color-text-muted: #6b5e4f;
  --color-accent: #8b5a2b;
  --color-accent-dark: #6d4520;
  --color-cream: #fffdf9;
  --color-border: #e4dcd0;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --shadow: 0 12px 40px rgba(44, 36, 25, 0.08);
  --radius: 16px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--primary:hover {
  background: var(--color-accent-dark);
}

.btn--ghost {
  border: 1px solid rgba(255, 253, 249, 0.5);
  color: var(--color-cream);
}

.btn--ghost:hover {
  background: rgba(255, 253, 249, 0.12);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-accent);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-accent);
}

.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(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background:
    linear-gradient(135deg, rgba(44, 36, 25, 0.55), rgba(44, 36, 25, 0.25)),
    url("https://images.unsplash.com/photo-1497935582991-8127378e3329?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
  color: var(--color-cream);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(139, 90, 43, 0.25), transparent 50%);
}

.hero__content {
  position: relative;
  max-width: 680px;
  padding: 4rem 0;
}

.hero__label {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero__text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.92;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.features {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

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

.feature {
  background: var(--color-cream);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.feature__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.feature p {
  color: var(--color-text-muted);
}

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

.about__image {
  min-height: 420px;
  border-radius: var(--radius);
  background:
    url("https://images.unsplash.com/photo-1511920170033-f8396924c348?auto=format&fit=crop&w=900&q=80") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about__content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about__list {
  list-style: none;
  margin-top: 1.5rem;
}

.about__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-weight: 500;
}

.about__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

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

.menu__category {
  background: var(--color-cream);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.menu__list {
  list-style: none;
}

.menu__list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
}

.menu__list li:last-child {
  border-bottom: none;
}

.menu__item {
  white-space: nowrap;
}

.menu__dots {
  flex: 1;
  border-bottom: 1px dotted var(--color-border);
  min-width: 1rem;
  transform: translateY(-4px);
}

.menu__price {
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.menu__status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-muted);
  padding: 2rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 1rem;
}

.gallery__item {
  border-radius: var(--radius);
  background: center / cover no-repeat;
  box-shadow: var(--shadow);
}

.gallery__item--1 {
  grid-row: span 2;
  background-image: url("https://images.unsplash.com/photo-1554118811-1e0d58220f8d?auto=format&fit=crop&w=800&q=80");
}

.gallery__item--2 {
  background-image: url("https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=800&q=80");
}

.gallery__item--3 {
  background-image: url("https://images.unsplash.com/photo-1509042239860-f550ce710b93?auto=format&fit=crop&w=800&q=80");
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact__list {
  list-style: none;
  margin-top: 2rem;
}

.contact__list li {
  margin-bottom: 1.25rem;
}

.contact__list strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.contact__list a:hover {
  color: var(--color-accent);
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  min-height: 320px;
}

.contact__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-cream);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer a:hover {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .features__grid,
  .menu__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery__item--1 {
    grid-row: span 1;
    grid-column: span 2;
    min-height: 280px;
  }

  .gallery__item--2,
  .gallery__item--3 {
    min-height: 200px;
  }

  .about__image {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .header__inner:has(.nav.is-open) .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__inner:has(.nav.is-open) .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header__inner:has(.nav.is-open) .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .gallery__item--1 {
    grid-column: span 1;
  }

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