:root {
  --bg: #f7f1e8;
  --surface: #fffaf3;
  --primary: #8f4f2a;
  --primary-dark: #5f3018;
  --accent: #d98b45;
  --text: #2b221d;
  --muted: #6a584d;
  --border: rgba(75, 46, 30, 0.1);
  --shadow: 0 18px 45px rgba(65, 38, 24, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcf7f0 0%, #f6eee4 100%);
}

.menu-page {
  background: url("menu-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-page {
  background: url("about-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-page {
  background: url("contact-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(rgba(42, 24, 15, 0.58), rgba(42, 24, 15, 0.58)),
    radial-gradient(circle at 20% 20%, rgba(255, 206, 138, 0.55), transparent 25%),
    linear-gradient(135deg, #9c4f2b, #5f3018);
  overflow: hidden;
}

.home-hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(18, 18, 18, 0.28), rgba(18, 18, 18, 0.28)),
    url("home-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero {
  position: relative;
  min-height: 58vh;
  padding: 24px;
  background:
    linear-gradient(rgba(42, 24, 15, 0.6), rgba(42, 24, 15, 0.6)),
    linear-gradient(135deg, #9c4f2b, #5f3018);
  overflow: hidden;
}

.menu-hero {
  min-height: 28vh;
  background: transparent;
}

.about-hero {
  min-height: 28vh;
  background: transparent;
}

.contact-hero {
  min-height: 28vh;
  background: transparent;
}

.contact-page .overlay {
  display: none;
}

.contact-page .nav {
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(92, 62, 44, 0.16);
  box-shadow: 0 16px 36px rgba(45, 30, 20, 0.22);
}

.contact-page .logo,
.contact-page .nav-links a,
.contact-page .page-hero-content,
.contact-page .page-hero h1 {
  color: #fff8f1;
}

.contact-page .logo {
  color: #251812;
}

.contact-page .nav-links a {
  color: #2d1d15;
  font-weight: 700;
}

.contact-page .page-hero-content {
  padding: 40px 0 12px;
}

.contact-page .page-hero h1 {
  max-width: 560px;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.contact-page .section {
  padding-top: 18px;
}

.contact-page .info-box,
.contact-page .contact-form {
  background: rgba(255, 250, 243, 0.88);
}

.contact-page .page-hero .eyebrow {
  color: #ffd166;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-page .overlay {
  display: none;
}

.about-page .nav {
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(92, 62, 44, 0.16);
  box-shadow: 0 16px 36px rgba(45, 30, 20, 0.22);
}

.about-page .page-hero-content {
  padding: 40px 0 12px;
  color: #fff8f1;
}

.about-page .page-hero h1 {
  max-width: 540px;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.1;
}

.about-page .section {
  padding-top: 18px;
}

.about-page .logo,
.about-page .nav-links,
.about-page .page-hero-content,
.about-page .page-hero h1 {
  color: #1f1813;
}

.about-page .nav-links a {
  color: #2b1f18;
  font-weight: 700;
}

.about-page .logo {
  color: #241711;
}

.about-page .page-hero h1 {
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.35);
}

.about-page .page-hero .eyebrow {
  color: #8a420f;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.45);
}

.about-page .about-content {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 250, 243, 0.84);
  box-shadow: var(--shadow);
}

.about-page .about-content h2 {
  color: #231912;
}

.about-page .about-content p {
  color: #3d2f27;
}

.about-page .about-content .eyebrow.dark {
  color: #b9652b;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 220, 175, 0.18), transparent 18%),
    radial-gradient(circle at 35% 70%, rgba(255, 255, 255, 0.08), transparent 20%);
}

.nav,
.hero-layout,
.hero-content,
.section,
.contact-layout {
  position: relative;
  z-index: 1;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff7ef;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: #fff7ef;
  font-weight: 600;
}

.hero-layout {
  max-width: 1100px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-content {
  max-width: 1100px;
  margin: 0;
  padding: 100px 0 80px;
  color: #fff8f1;
}

.page-hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 0 70px;
  color: #fff8f1;
}

.eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffd8b5;
}

.eyebrow.dark {
  color: var(--accent);
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1;
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 620px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.menu-hero .page-hero-content {
  padding: 36px 0 10px;
}

.menu-hero h1 {
  max-width: 520px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.hero-text {
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 248, 241, 0.88);
  margin-bottom: 28px;
}

.hero-image-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  border-radius: 36px;
  background: rgba(255, 248, 240, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-image {
  width: 100%;
  min-height: 520px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    url("home-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.04);
  background: #c96b2d;
  box-shadow: 0 16px 28px rgba(90, 54, 32, 0.24);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.menu-page .section {
  padding-top: 18px;
}

.menu-page .overlay {
  display: none;
}

.menu-page .nav {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.menu-page .page-image {
  background: transparent;
}

.menu-page .page-image img {
  height: 320px;
}

.home-intro {
  padding-top: 72px;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.section-title {
  margin-bottom: 28px;
  text-align: center;
}

.section-title h2,
.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px rgba(65, 38, 24, 0.22);
}

.card-image {
  height: 210px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.card-content {
  padding: 18px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.card-top h3 {
  font-size: 1.2rem;
}

.card-top span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(217, 139, 69, 0.14);
  color: var(--primary-dark);
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-content p,
.about-content p,
.info-box p {
  color: var(--muted);
  line-height: 1.7;
}

.page-image {
  width: 100%;
  margin-bottom: 28px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-image img {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-section {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}

.about-image-wrap {
  padding: 14px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.about-image {
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(46, 28, 19, 0.14), rgba(46, 28, 19, 0.14)),
    url("about-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-photo {
  min-height: 240px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background:
    linear-gradient(rgba(46, 28, 19, 0.2), rgba(46, 28, 19, 0.2)),
    url("contact-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.info-box,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.info-box {
  padding: 24px;
}

.info-box h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: #231912;
}

.info-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(217, 139, 69, 0.16);
  color: #9a5a2f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(100, 67, 49, 0.14);
  border-radius: 16px;
  outline: none;
  font: inherit;
  background: #fffdf9;
}

.contact-form textarea {
  resize: vertical;
}

@media (max-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-grid,
  .about-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 16px;
  }

  .page-hero {
    min-height: auto;
    padding: 16px;
  }

  .nav {
    border-radius: 28px;
    padding: 18px;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero-content {
    padding: 90px 0 70px;
  }

  .page-hero-content {
    padding: 80px 0 56px;
  }

  .hero-image {
    min-height: 340px;
  }

  .section {
    padding: 60px 16px;
  }

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

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

  .card-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
