/* Restaurant Nani - originalgetreues, modernisiertes Design (rekonstruiert) */
:root {
  --bg-black: #0a0a0a;
  --bg-darker: #060606;
  --accent-copper: #c9773f;
  --accent-copper-light: #e0925c;
  --accent-blue: #6b8fb8;
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-muted: #a0a0a0;
  --text-faint: #888888;
  --serif: Georgia, 'Times New Roman', serif;
  --script: 'Brush Script MT', cursive;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--serif);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.full-width { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6,6,6,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
}
.nav-info { color: var(--text-faint); font-size: 0.82em; line-height: 1.5; }
.logo img { height: 60px; display: block; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-contact a { color: var(--text-light); font-size: 0.95em; }
.nav-contact a:hover { color: var(--accent-copper-light); }

.translate-menu { position: relative; }
.globe-btn {
  background: none; border: 1px solid rgba(255,255,255,0.15); color: var(--text-light);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.1em;
}
.globe-btn:hover { border-color: var(--accent-copper-light); }
.translate-dropdown {
  display: none; position: absolute; top: 52px; right: 0; background: var(--bg-darker);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; overflow: hidden; min-width: 140px;
}
.translate-menu:hover .translate-dropdown { display: block; }
.translate-dropdown a { display: block; padding: 10px 18px; color: var(--text-light); font-size: 0.9em; }
.translate-dropdown a:hover { background: rgba(201,119,63,0.12); color: var(--accent-copper-light); }

.burger { display: none; background: none; border: none; color: var(--text-white); font-size: 1.6em; cursor: pointer; }

nav ul { list-style: none; display: flex; gap: 34px; }
nav ul li a { color: var(--text-light); font-size: 0.95em; letter-spacing: 1px; text-transform: uppercase; }
nav ul li a:hover { color: var(--accent-copper-light); }

/* Hero */
.hero {
  position: relative;
  height: 92vh; min-height: 640px; max-height: 980px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(rgba(6,6,6,0.55), rgba(6,6,6,0.85)), url('images/hero-bg.webp') center/cover no-repeat;
  padding-top: 90px;
  overflow: hidden;
}

.spark-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.spark-layer .spark {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: radial-gradient(circle, #ffdca8 0%, var(--accent-copper-light) 45%, transparent 80%);
  opacity: 0; will-change: transform, opacity;
  animation-name: spark-rise, spark-flicker;
  animation-timing-function: ease-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
}
@keyframes spark-rise {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: translate(var(--drift, 20px), -420px) scale(0.2); opacity: 0; }
}
@keyframes spark-flicker {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.35; }
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 0 24px; }
.script-title { font-family: var(--script); font-size: 2.8em; color: var(--accent-copper-light); font-style: italic; letter-spacing: 1px; margin-bottom: 8px; }
.hero h1 { font-size: 2.6em; font-weight: 400; margin-bottom: 10px; }
.hero p { color: var(--text-light); font-size: 1.15em; margin-bottom: 34px; }

.hero-buttons { display: grid; grid-template-columns: repeat(2, minmax(160px, 220px)); justify-content: center; gap: 14px 16px; margin-bottom: 34px; }
@media (max-width: 480px) { .hero-buttons { grid-template-columns: 1fr; } }
.hero-buttons a {
  padding: 14px 30px; border: 1px solid rgba(255,255,255,0.25); border-radius: 4px;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.85em; transition: all 0.25s ease;
}
.hero-buttons a:first-child { background: var(--accent-copper); border-color: var(--accent-copper); color: var(--bg-black); }
.hero-buttons a:hover { border-color: var(--accent-copper-light); color: var(--accent-copper-light); }
.hero-buttons a:first-child:hover { opacity: 0.88; color: var(--bg-black); }

.hero-socials { display: flex; justify-content: center; gap: 16px; }
.hero-socials a {
  width: 54px; height: 54px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text-light);
  background: rgba(255,255,255,0.04); transition: all 0.25s ease;
}
.hero-socials a:hover { color: var(--accent-copper-light); border-color: var(--accent-copper); background: rgba(201,119,63,0.12); transform: translateY(-2px); }
.hero-socials svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.google-mark { font-weight: 700; font-size: 1.2em; }

/* Feature / gallery sections */
.feature-section { padding: 120px 24px; text-align: center; }
.feature-section:not(.full-width) { max-width: 1480px; margin: 0 auto; }
.section-title { font-family: var(--script); font-size: 2.4em; color: var(--accent-blue); font-style: italic; letter-spacing: 2px; margin-bottom: 50px; }

.gallery-section { overflow: hidden; background: var(--bg-darker); padding: 40px 0; }
.gallery-viewport { overflow: hidden; width: 100%; max-width: 1700px; margin: 0 auto; }
.gallery-track { display: flex; gap: 28px; width: max-content; animation: scrollTrack 40s linear infinite; padding: 0 24px; }
.gallery-track img { width: 380px; height: 480px; object-fit: cover; border-radius: 16px; box-shadow: 0 22px 50px rgba(0,0,0,0.24); }
.card-track { animation-duration: 55s; }
.card-slide { position: relative; flex-shrink: 0; }
.card-slide img { width: 340px; height: 420px; object-fit: cover; border-radius: 16px; }
.card-title {
  position: absolute; bottom: 18px; left: 18px; right: 18px; color: var(--text-white);
  font-size: 1.05em; letter-spacing: 1px; text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

@keyframes scrollTrack { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Story */
.story { position: relative; text-align: center; padding: 60px 24px; background: var(--bg-black); overflow: hidden; }
.story-text { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.story-text p { color: var(--text-light); margin-bottom: 20px; font-size: 1.05em; }
.sunburst { position: absolute; top: 50%; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(201,119,63,0.12), transparent 70%); transform: translateY(-50%); z-index: 1; }
.sunburst.left { left: -80px; }
.sunburst.right { right: -80px; }

/* Menu */
#menu { max-width: 1100px; margin: 0 auto; padding: 60px 24px 120px; text-align: center; }
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; }
.menu-tabs button {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: var(--text-light);
  padding: 10px 22px; border-radius: 20px; font-size: 0.85em; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  transition: all 0.2s ease; font-family: var(--serif);
}
.menu-tabs button:hover, .menu-tabs button.active { background: var(--accent-copper); border-color: var(--accent-copper); color: var(--bg-black); }

.menu-item { text-align: center; margin-bottom: 60px; }
.menu-item .item-name { font-size: 1.4em; font-weight: 800; color: var(--text-white); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 3px; }
.menu-item .item-desc { font-size: 1.05em; color: var(--text-light); margin-bottom: 10px; }
.menu-item .item-price { font-size: 1.2em; color: var(--text-white); margin: 12px 0 20px; }
.menu-item .item-price.multi span { display: block; font-size: 1.1em; color: var(--text-white); margin: 8px 0; }
.menu-item .item-name.ru { font-size: 1.25em; font-weight: 800; color: #a0a0a0; margin: 20px 0 8px; text-transform: uppercase; letter-spacing: 2px; }
.menu-item .item-desc.ru { font-size: 0.95em; color: #888888; margin-bottom: 8px; }
.menu-item .item-price.ru { font-size: 1.1em; color: #888888; margin: 0 0 0; }
.menu-item .item-price.multi.ru span { display: block; font-size: 1em; color: #888888; margin: 8px 0; }

/* Contact */
.contact-section {
  position: relative;
  text-align: center;
  background: var(--bg-darker);
  overflow: hidden;
  scroll-margin-top: 110px;
  padding: 120px 24px;
}
.contact-box { max-width: 550px; margin: 0 auto; position: relative; z-index: 2; }
.contact-box h2 { font-size: 2em; margin-bottom: 30px; }
.contact-box p { color: var(--text-light); margin-bottom: 10px; }
.contact-box .btn-book {
  display: inline-block; margin-top: 20px; padding: 14px 36px; background: var(--accent-copper);
  color: var(--bg-black); border-radius: 4px; letter-spacing: 2px; text-transform: uppercase; font-size: 0.9em;
  transition: opacity 0.2s;
}
.contact-box .btn-book:hover { opacity: 0.85; }

.opentable-wrap { margin-top: 10px; display: flex; justify-content: center; align-items: center; width: 100%; min-height: 720px; }
.opentable-wrap iframe { border-radius: 6px; margin: 0 auto; width: 100% !important; height: 720px !important; min-height: 720px !important; border: 0; }

.gallery-viewport iframe { width: 100%; height: 300px; border: 0; border-radius: 6px; margin-top: 40px; }
.map-frame { width: 100%; height: 300px; border: 0; border-radius: 6px; margin-top: 14px; }

/* Footer */
footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; text-align: center;
  padding: 30px 20px; color: var(--text-faint); border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.9em;
}
footer a { color: var(--text-faint); }
footer a:hover { color: var(--accent-copper-light); }
footer .footer-credit { margin-left: auto; opacity: 0.55; font-size: 0.85em; text-align: right; }
footer .footer-credit a { color: var(--text-faint); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.15); }
footer .footer-credit a:hover { color: var(--accent-copper-light); opacity: 1; }

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  nav ul { flex-wrap: wrap; gap: 14px 22px; }
  .nav-info { display: none; }
}

@media (max-width: 700px) {
  .burger { display: block; }
  nav { display: none; }
  .hero h1 { font-size: 1.9em; }
  .gallery-track img, .card-slide img { width: 220px; height: 280px; }
}

.video-section { padding-top: 10px; padding-bottom: 20px; }
.video-shell { display: flex; justify-content: center; padding: 0 24px; }
.portrait-video {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}
.portrait-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 520px) {
  .video-shell { padding: 0 18px; }
  .portrait-video { width: min(100%, 360px); }
}
