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

:root {
  --dark: #14110f;
  --dark2: #1c1815;
  --card: #231e1a;
  --text: #f1e9df;
  --gray: #a89d90;
  --gold: #d4a24c;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
}

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

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.tag {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: #1a140c;
  padding: 13px 30px;
  border: 2px solid var(--gold);
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #b0832f;
  border-color: #b0832f;
  transform: translateY(-3px);
}

.btn.outline {
  background: none;
  color: var(--text);
  border-color: var(--text);
  margin-left: 12px;
}

.btn.outline:hover {
  background: var(--text);
  color: var(--dark);
}

.btn.small {
  padding: 7px 20px;
  font-size: 14px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: rgba(20, 17, 15, 0.9);
  border-bottom: 1px solid #2a2420;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
}

.logo span {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: var(--gray);
  font-size: 15px;
  transition: 0.3s;
}

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

.nav a.btn {
  color: #1a140c;
}

#toggle,
.burger {
  display: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 8% 80px;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.92) 25%, rgba(20, 17, 15, 0.4)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-text {
  max-width: 600px;
}

.hero h1 {
  font-size: 84px;
  margin: 10px 0 20px;
}

.hero h1 em {
  color: var(--gold);
}

.hero p {
  color: #d3c9bc;
  font-size: 18px;
}

.hero .btn {
  margin-top: 30px;
}

.numbers {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 45px 8%;
  background: var(--dark2);
  text-align: center;
  color: var(--gray);
}

.numbers b {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: var(--gold);
}

.about {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 100px 8%;
}

.about-img {
  flex: 1;
  height: 520px;
  border-radius: 14px;
  background: url("https://images.unsplash.com/photo-1577219491135-ce391730fb2c?auto=format&fit=crop&w=1000&q=80") center / cover;
}

.about-info {
  flex: 1;
}

.about-info p {
  color: var(--gray);
  margin-top: 16px;
}

.about-info p.tag {
  margin-top: 0;
}

.about-info ul {
  margin-top: 24px;
}

.about-info li {
  padding-left: 22px;
  position: relative;
}

.about-info li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.menu,
.gallery,
.reviews {
  padding: 100px 8%;
  text-align: center;
}

.menu,
.reviews {
  background: var(--dark2);
}

.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
  text-align: left;
}

.dish {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
}

.dish:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.photo {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.dish-info {
  padding: 24px;
}

.dish-info h3 {
  font-size: 21px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dish-info span {
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 18px;
}

.dish-info p {
  color: var(--gray);
  font-size: 15px;
}

.p1 { background-image: url("https://images.unsplash.com/photo-1608897013039-887f21d8c804?auto=format&fit=crop&w=800&q=80"); }
.p2 { background-image: url("https://images.unsplash.com/photo-1476124369491-e7addf5db371?auto=format&fit=crop&w=800&q=80"); }
.p3 { background-image: url("https://images.unsplash.com/photo-1467003909585-2f8a72700288?auto=format&fit=crop&w=800&q=80"); }
.p4 { background-image: url("https://images.unsplash.com/photo-1600891964092-4316c288032e?auto=format&fit=crop&w=800&q=80"); }
.p5 { background-image: url("https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=800&q=80"); }
.p6 { background-image: url("https://images.unsplash.com/photo-1488477181946-6428a0291777?auto=format&fit=crop&w=800&q=80"); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-top: 50px;
}

.g {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: left;
  transition: 0.3s;
}

.g::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8));
}

.g span {
  position: relative;
  padding: 18px;
  font-family: "Playfair Display", serif;
  font-size: 18px;
}

.g:hover {
  transform: scale(1.03);
}

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

.g1 { grid-column: span 2; grid-row: span 2; background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1000&q=80"); }
.g2 { background-image: url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=700&q=80"); }
.g3 { grid-row: span 2; background-image: url("https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=700&q=80"); }
.g4 { background-image: url("https://images.unsplash.com/photo-1559329007-40df8a9345d8?auto=format&fit=crop&w=700&q=80"); }
.g5 { grid-column: span 2; background-image: url("https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?auto=format&fit=crop&w=1000&q=80"); }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

blockquote {
  background: var(--card);
  padding: 34px 28px;
  border-radius: 14px;
  border-top: 3px solid var(--gold);
  text-align: left;
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 12px;
}

blockquote p {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 16px;
}

cite {
  color: var(--gray);
  font-style: normal;
  font-size: 14px;
}

.contact {
  display: flex;
  gap: 70px;
  padding: 100px 8%;
}

.contact-info,
.form {
  flex: 1;
}

.contact-info p {
  color: var(--gray);
  margin-top: 16px;
}

.contact-info p.tag {
  margin-top: 0;
}

.contact-info b {
  color: var(--gold);
  font-weight: 600;
}

.form {
  background: var(--card);
  padding: 38px;
  border-radius: 14px;
  align-self: flex-start;
}

.form label {
  display: block;
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 18px;
}

.form input,
.form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  background: var(--dark);
  border: 1px solid #3a322b;
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}

.form input:focus,
.form select:focus {
  outline: none;
  border-color: var(--gold);
}

.form input[type="date"] {
  color-scheme: dark;
}

.row {
  display: flex;
  gap: 16px;
}

.row label {
  flex: 1;
}

.footer {
  text-align: center;
  padding: 45px 8%;
  background: #0e0c0a;
}

.footer p {
  color: var(--gray);
  font-size: 14px;
  margin-top: 8px;
}

@media (max-width: 960px) {
  .about,
  .contact {
    flex-direction: column;
    gap: 40px;
  }

  .about-img {
    width: 100%;
    height: 350px;
    flex: none;
  }

  .form {
    width: 100%;
  }

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

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

@media (max-width: 700px) {
  h2 {
    font-size: 32px;
  }

  .burger {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text);
    position: relative;
    cursor: pointer;
  }

  .burger::before,
  .burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
  }

  .burger::before { top: -8px; }
  .burger::after { top: 8px; }

  #toggle:checked + .burger {
    background: none;
  }

  #toggle:checked + .burger::before {
    top: 0;
    transform: rotate(45deg);
  }

  #toggle:checked + .burger::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--dark);
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
  }

  #toggle:checked ~ .nav {
    max-height: 400px;
    padding: 25px 0;
  }

  .hero {
    text-align: center;
    justify-content: center;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero .btn.outline {
    margin: 12px 0 0;
  }

  .about,
  .menu,
  .gallery,
  .reviews,
  .contact {
    padding: 70px 6%;
  }

  .dishes,
  .quotes,
  .grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-auto-rows: 220px;
  }

  .g1, .g3, .g5 {
    grid-column: auto;
    grid-row: auto;
  }

  .row {
    flex-direction: column;
    gap: 0;
  }
}
