/* ==========================================================================
   Morning Vibe — тёмный элегантный стиль (dark & gold)
   ========================================================================== */

:root {
  --ink: #120B08;
  --ink-2: #1C130E;
  --ink-3: #241A13;
  --cream: #F3ECDE;
  --muted: #B7A88F;
  --muted-2: #8B7C64;
  --gold: #C9A45C;
  --gold-soft: #E4C989;
  --line: rgba(201, 164, 92, 0.22);

  --shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 14px 34px -20px rgba(0, 0, 0, 0.6);

  --font-head: "Playfair Display", Georgia, serif;
  --font-script: "Dancing Script", cursive;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--cream);
  background: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--cream); font-weight: 600; line-height: 1.2; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ornament { color: var(--gold); font-size: 0.9em; margin: 0 12px; display: inline-block; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: 0.02em;
}
.section-title--center { text-align: center; }
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 14px auto 48px;
  font-size: 0.95rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cream);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.link-arrow span { color: var(--gold); transition: transform 0.2s ease; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--gold { color: var(--gold-soft); border-color: var(--gold-soft); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

section { padding: 88px 0; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 11, 8, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 90px;
  gap: 24px;
}

.nav { display: flex; gap: 30px; }
.nav--right { justify-content: flex-end; }
.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover { color: var(--gold); }

.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; justify-self: center; }
.brand__mark { font-size: 1.5rem; }
.brand__text {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold-soft);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--cream); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-nav.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 100px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero__content .eyebrow { color: var(--muted); }
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 7vw, 5.2rem);
  color: var(--cream);
  line-height: 1;
  margin-bottom: -8px;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-style: italic;
  color: var(--gold-soft);
  margin-bottom: 24px;
}
.hero__subtitle {
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 36px;
  font-size: 1rem;
}
.hero__cta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}
.hero__cta span { color: var(--gold); font-weight: 700; }

.hero__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

/* ---------- About ---------- */
.about { background: var(--ink-2); }
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.about__content .section-title { margin-bottom: 24px; }
.about__text { color: var(--muted); margin-bottom: 28px; max-width: 480px; }

/* ---------- Menu ---------- */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.menu__card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.menu__card:hover { transform: translateY(-6px); border-color: var(--gold); }
.menu__card img { width: 100%; height: 190px; object-fit: cover; }
.menu__card-body { padding: 22px 24px 26px; }
.menu__card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.menu__card-top h3 { font-size: 1.05rem; }
.price { font-weight: 700; color: var(--gold); white-space: nowrap; font-family: var(--font-body); }
.menu__card-body p { font-size: 0.88rem; color: var(--muted); }
.menu__footer { margin-top: 44px; text-align: center; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--ink-2); }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery__item {
  border: 1px solid var(--gold);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Booking ---------- */
.booking { background: var(--ink); }
.booking__form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.booking__form .btn-gold { grid-column: 1 / -1; justify-self: center; margin-top: 12px; }
.booking__success {
  display: none;
  text-align: center;
  color: var(--gold-soft);
  margin-top: 24px;
  font-size: 0.92rem;
}
.booking__success.is-visible { display: block; }

/* ---------- CTA Meal ---------- */
.cta-meal { background: var(--ink-2); }
.cta-meal__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.cta-meal__content .section-title { margin-bottom: 20px; }
.cta-meal__content p { color: var(--muted); max-width: 460px; margin-bottom: 26px; }
.cta-meal__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

/* ---------- Contacts ---------- */
.contacts__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.contacts__info .section-title { margin-bottom: 32px; }
.contact-row { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-row span { font-size: 1.2rem; }
.contact-row strong { display: block; font-size: 0.92rem; margin-bottom: 2px; color: var(--cream); }
.contact-row p { color: var(--muted); font-size: 0.9rem; }
.contact-row a:hover { color: var(--gold); }

.contacts__map { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); min-height: 380px; border: 1px solid var(--line); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: invert(92%) hue-rotate(180deg) contrast(90%); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  padding: 56px 0 32px;
  border-top: 1px dashed var(--line);
}
.footer__grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer__nav a { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer__nav a:hover { color: var(--gold); }
.footer__socials { display: flex; gap: 14px; }
.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
}
.footer__socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer__copy { color: var(--muted-2); font-size: 0.78rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid, .about__grid, .cta-meal__grid, .contacts__grid { grid-template-columns: 1fr; }
  .about__media, .cta-meal__media { order: -1; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .booking__form { grid-template-columns: 1fr; max-width: 460px; }
}

@media (max-width: 760px) {
  .nav--left, .nav--right { display: none; }
  .burger { display: flex; }
  .header__row { grid-template-columns: auto 1fr auto; height: 70px; }
  .header__row .brand { justify-self: start; flex-direction: row; }

  section { padding: 64px 0; }
  .menu__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}
