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

:root {
  --bg: #16120d;
  --bg-soft: #1d1812;
  --bg-card: #28211a;
  --bg-warm: #2d2419;
  --cream: #efdfb8;
  --cream-bright: #faecc8;
  --gold: #f0c878;
  --gold-bright: #ffd98a;
  --text: #f5f1e6;
  --text-muted: #b8ac95;
  --border: #3a2f22;
  --glow: rgba(240, 200, 120, 0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--cream-bright);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7) saturate(1.15);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,18,13,0.35) 0%, rgba(22,18,13,0.55) 60%, rgba(22,18,13,1) 100%);
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-logo-3d {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 32px;
  animation: logo-glow-filter 4s ease-in-out infinite;
}

.hero-logo-3d .logo-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  box-shadow: 0 0 40px rgba(240,200,120,0.4), inset 0 0 20px rgba(240,200,120,0.15);
  transition: opacity 0.6s ease;
}

.hero-logo-3d.three-loaded .logo-fallback {
  opacity: 0;
}

.hero-logo-3d #logo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes logo-glow-filter {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(240,200,120,0.35)); }
  50%       { filter: drop-shadow(0 0 55px rgba(240,200,120,0.75)); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--cream-bright);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.5;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero .scroll-hint {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  padding-top: 20px;
  position: relative;
}

.hero .scroll-hint::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 12px;
  background: var(--gold-bright);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: translateX(-50%) scaleY(1); }
  50% { transform: translateX(-50%) scaleY(0.3); }
}

/* SECTIONS */
section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 60px;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* INTRO */
.intro {
  background: var(--bg);
  text-align: center;
}

.intro-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.5;
  color: var(--cream-bright);
  max-width: 820px;
  margin: 0 auto;
  font-weight: 300;
}

.intro .divider {
  width: 60px;
  height: 1px;
  background: var(--gold-bright);
  margin: 40px auto;
  box-shadow: 0 0 12px var(--glow);
}

/* 3D ATMOSPHERE */
.atmosphere {
  height: 60vh;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
  padding: 0;
}

#three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.atmosphere-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 24px;
}

.atmosphere-text h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--cream-bright);
  text-shadow: 0 0 40px rgba(240,200,120,0.4);
  margin-bottom: 16px;
}

.atmosphere-text p {
  color: var(--text-muted);
  max-width: 540px;
  font-size: 0.95rem;
}

/* SPACES GRID */
.spaces {
  background: var(--bg-soft);
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.space-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-card);
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.space-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transform: translateZ(40px);
}

.space-card h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: #fff;
}

.space-card p {
  color: var(--cream);
  font-size: 0.92rem;
}

@media (hover: hover) {
  .space-card:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 40px rgba(240,200,120,0.15);
  }
  .space-card:hover img {
    transform: scale(1.06);
    filter: brightness(1.1) saturate(1.1);
  }
}

/* TWO-COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse .col-image { order: 2; }

.col-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.col-content h2 { margin-bottom: 28px; }

.col-content p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1rem;
}

.col-content p strong {
  color: var(--cream-bright);
  font-weight: 500;
}

/* MENU (food) */
.menu-section {
  background: var(--bg-soft);
}

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

.menu-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.menu-category.wide {
  grid-column: span 2;
}

@media (hover: hover) {
  .menu-category:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(240,200,120,0.1);
  }
}

.menu-category h3 {
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.menu-category h3 .cat-note {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 4px;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  font-size: 0.95rem;
  align-items: baseline;
}

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

.menu-list .item-name {
  color: var(--text);
}

.menu-list .item-name small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.menu-list .item-price {
  color: var(--cream-bright);
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
}

.menu-list .item-price small {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 400;
  text-align: right;
  margin-top: 1px;
  letter-spacing: 0.05em;
}

.menu-note {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--bg-card);
  border-left: 2px solid var(--gold-bright);
  border-radius: 2px;
}

.menu-note p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.menu-note p:last-child { margin-bottom: 0; }

.menu-note strong {
  color: var(--cream-bright);
  font-weight: 500;
}

.menu-note ul {
  list-style: none;
  margin: 10px 0 14px 0;
}

.menu-note ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 3px 0 3px 18px;
  position: relative;
}

.menu-note ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--gold-bright);
  font-weight: 700;
}

/* FEATURES */
.features {
  background: var(--bg-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transition: left 0.6s ease;
}

@media (hover: hover) {
  .feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(240,200,120,0.1);
  }
  .feature-card:hover::before {
    left: 100%;
  }
}

.feature-card .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 10px var(--glow));
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CAPACITY */
.capacity {
  background: var(--bg);
  text-align: center;
}

.capacity-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.capacity-item .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 300;
  text-shadow: 0 0 30px var(--glow);
}

.capacity-item .label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* VIDEO GALLERY */
.videos {
  background: var(--bg-warm);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.video-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (hover: hover) {
  .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 40px rgba(240,200,120,0.2);
  }
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(240, 200, 120, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: all 0.3s ease;
  pointer-events: none;
}

.video-card.playing .play-icon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.video-card .play-icon svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

/* GALLERY */
.gallery {
  background: var(--bg-soft);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 50px;
}

.gallery-grid .gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-grid .gallery-item:nth-child(1),
.gallery-grid .gallery-item:nth-child(6) {
  grid-row: span 2;
  aspect-ratio: 1/2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

@media (hover: hover) {
  .gallery-grid .gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.15);
  }
}

/* PRICING */
.pricing {
  background: var(--bg);
}

.pricing-intro {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

@media (hover: hover) {
  .price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border-color: var(--gold);
  }
}

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(240,200,120,0.08), rgba(240,200,120,0.02));
  box-shadow: 0 0 40px rgba(240,200,120,0.1);
}

.price-card.featured::before {
  content: 'популярно';
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold-bright);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 600;
}

.price-card .day-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.price-list {
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  font-size: 0.95rem;
}

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

.price-list .guests {
  color: var(--text-muted);
}

.price-list .amount {
  color: var(--cream-bright);
  font-weight: 500;
  font-size: 1.05rem;
}

.pricing-note {
  margin-top: 50px;
  padding: 28px;
  background: var(--bg-card);
  border-left: 2px solid var(--gold-bright);
  border-radius: 2px;
}

.pricing-note p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.pricing-note p:last-child { margin-bottom: 0; }

.pricing-note strong {
  color: var(--cream-bright);
  font-weight: 500;
}

/* CTA */
.cta {
  background: var(--bg-soft);
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/2026-05-06%2011.12.46.jpg') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
  filter: brightness(1.1);
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29,24,18,0.7), rgba(29,24,18,0.95));
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 24px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--cream-bright);
  text-decoration: none;
  padding: 18px 40px;
  border: 1px solid var(--gold-bright);
  border-radius: 2px;
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 30px rgba(240,200,120,0.15);
}

@media (hover: hover) {
  .phone-link:hover {
    background: var(--gold-bright);
    color: var(--bg);
    box-shadow: 0 0 60px rgba(240,200,120,0.5);
    transform: translateY(-2px);
  }
}

.phone-link svg {
  width: 28px;
  height: 28px;
}

.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 12px 24px;
  border-radius: 2px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

@media (hover: hover) {
  .tg-link:hover {
    color: var(--gold-bright);
    transform: translateY(-2px);
  }
}

.tg-link svg {
  width: 22px;
  height: 22px;
}

/* FOOTER */
footer {
  background: #0e0a06;
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

footer a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover { color: var(--gold-bright); }

/* RESPONSIVE */
@media (max-width: 900px) {
  section { padding: 70px 0; }
  .container { padding: 0 24px; }
  .spaces-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse .col-image { order: 0; }
  .col-image { aspect-ratio: 4/3; }
  .capacity-numbers { grid-template-columns: 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .gallery-item:nth-child(1),
  .gallery-grid .gallery-item:nth-child(6) {
    grid-row: span 1;
    aspect-ratio: 1;
  }
  .videos-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-logo-3d { width: 160px; height: 160px; }
  .atmosphere { height: 50vh; }
  .menu-grid { grid-template-columns: 1fr; gap: 18px; }
  .menu-category.wide { grid-column: span 1; }
  .menu-category { padding: 26px 22px; }
  .menu-note { padding: 24px 22px; }
}

@media (max-width: 500px) {
  .phone-link { font-size: 1.5rem; padding: 14px 28px; }
}

/* Reduced motion: kill heavy animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-logo-3d { animation: none; }
  .scroll-hint::before { animation: none; }
}
