/* ============================================================
   ÖZBEKIYA — High-Aesthetic Luxury Coming Soon Stylesheet
   Registan Square, Samarkand
   ============================================================ */

:root {
  --font-serif-display: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-serif-body: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Color Palette inspired by Registan's turquoise tiles, lapis lazuli & desert gold */
  --gold-primary: #f5d085;
  --gold-light: #fff2cc;
  --gold-deep: #b5832c;
  --gold-accent: #d89e46;
  --turquoise-glow: rgba(0, 180, 216, 0.25);
  --azure-accent: #38bdf8;
  
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.76);
  --text-faint: rgba(255, 255, 255, 0.52);

  --glass-bg: rgba(14, 23, 42, 0.55);
  --glass-border: rgba(245, 208, 133, 0.24);
  --glass-border-focus: rgba(245, 208, 133, 0.65);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: #070c14;
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   BACKGROUND ARCHITECTURE & CINEMATIC LAYERS
   ============================================================ */
.bg-wrapper {
  position: fixed;
  inset: -20px; /* Slight bleed to allow smooth parallax without white borders */
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s ease-out;
  transform: scale(1.05);
  filter: brightness(0.92) contrast(1.06);
}

/* Three curated perspectives of Registan Square */
.bg-image.bg-day {
  background-image: url('https://images.unsplash.com/photo-1542815905-7b9c2195e13a?auto=format&fit=crop&w=2560&q=85');
}

.bg-image.bg-sunset {
  background-image: url('https://images.unsplash.com/photo-1733586092622-1b3201e802a5?auto=format&fit=crop&w=2560&q=85');
}

.bg-image.bg-night {
  background-image: url('https://images.unsplash.com/photo-1791831751758-4de087b17e9d?auto=format&fit=crop&w=2560&q=85');
}

/* Subtle cinematic zoom / pulse */
@keyframes subtleKenBurns {
  0% { transform: scale(1.03) translateY(0); }
  50% { transform: scale(1.06) translateY(-8px); }
  100% { transform: scale(1.03) translateY(0); }
}

.bg-image.active {
  animation: subtleKenBurns 32s ease-in-out infinite;
}

/* Gradient Overlay to guarantee pristine readability */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(7, 12, 20, 0.72) 0%, rgba(7, 12, 20, 0.35) 45%, rgba(7, 12, 20, 0.85) 100%),
    radial-gradient(ellipse at 50% 40%, rgba(13, 27, 42, 0.35) 0%, rgba(6, 11, 18, 0.88) 100%);
  z-index: 1;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.85);
  z-index: 2;
}

/* Floating Golden Particles */
.dust-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(245, 208, 133, 0.85) 0%, rgba(245, 208, 133, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatUpward linear infinite;
}

@keyframes floatUpward {
  0% {
    transform: translateY(105vh) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-5vh) scale(1.2);
    opacity: 0;
  }
}

/* ============================================================
   PAGE LAYOUT & CONTAINER
   ============================================================ */
.page-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem 3.5rem;
}

@media (max-width: 768px) {
  .page-container {
    padding: 1.5rem 1.25rem;
  }
}

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInDown 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.crest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.1rem;
  background: rgba(14, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 208, 133, 0.25);
  border-radius: 999px;
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.crest-badge:hover {
  border-color: rgba(245, 208, 133, 0.5);
  transform: translateY(-1px);
}

.crest-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  filter: drop-shadow(0 0 6px rgba(245, 208, 133, 0.4));
}

.scene-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 19, 34, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.scene-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
}

.scene-btn .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

.scene-btn:hover {
  color: var(--text-main);
}

.scene-btn.active {
  background: rgba(245, 208, 133, 0.18);
  color: var(--gold-light);
  border: 1px solid rgba(245, 208, 133, 0.35);
}

.scene-btn.active .dot {
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* ============================================================
   CENTER HERO SECTION
   ============================================================ */
.hero-section {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 1.5rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Traditional Medallion Accent Line */
.ornament-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 480px;
  margin-bottom: 1.6rem;
  opacity: 0.9;
}

.ornament-line {
  flex: 1;
  height: 1px;
}

.line-left {
  background: linear-gradient(90deg, transparent, rgba(245, 208, 133, 0.6));
}

.line-right {
  background: linear-gradient(90deg, rgba(245, 208, 133, 0.6), transparent);
}

.ornament-star {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(245, 208, 133, 0.4));
  animation: rotateSlowly 40s linear infinite;
}

@keyframes rotateSlowly {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* BIG BEAUTIFUL TITLE: Özbekiya */
.main-title {
  position: relative;
  font-family: var(--font-serif-display);
  font-size: clamp(3.8rem, 11vw, 8.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
  padding: 0.18em 0;
  margin-bottom: 0.85rem;
  user-select: none;
}

.title-text {
  /* Rich Gold Foil & Luminous Gradient */
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #fff4d4 25%,
    #f5d085 45%,
    #e8ba5a 65%,
    #ffe7a3 85%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
  display: inline-block;
  filter: drop-shadow(0 4px 18px rgba(245, 208, 133, 0.35))
          drop-shadow(0 15px 45px rgba(0, 0, 0, 0.9));
  transition: transform 0.4s ease;
}

.title-text:hover {
  transform: scale(1.02);
}

/* Glow behind title */
.main-title::before {
  content: attr(data-glow);
  position: absolute;
  inset: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding: inherit;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 208, 133, 0.4);
  filter: blur(14px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

/* SUBTITLE: Coming Soon */
.coming-soon-wrapper {
  margin-top: 1rem;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 2.2rem;
  background: linear-gradient(
    135deg,
    rgba(245, 208, 133, 0.08) 0%,
    rgba(14, 23, 42, 0.5) 50%,
    rgba(0, 180, 216, 0.08) 100%
  );
  border: 1px solid rgba(245, 208, 133, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(245, 208, 133, 0.06);
  transition: all 0.3s ease;
}

.coming-soon-badge:hover {
  border-color: rgba(245, 208, 133, 0.65);
  box-shadow: 0 10px 35px rgba(245, 208, 133, 0.2);
}

.sub-title {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.48em;
  padding-left: 0.48em; /* Offset for centered optical balance */
  color: var(--gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.sparkle {
  color: var(--gold-primary);
  font-size: 0.85rem;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 6px var(--gold-primary)); }
}

/* ============================================================
   PAGE FOOTER
   ============================================================ */
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.location-pin {
  filter: drop-shadow(0 0 6px var(--gold-primary));
}

.silk-road-tag {
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 208, 133, 0.08);
  border: 1px solid rgba(245, 208, 133, 0.18);
  color: var(--gold-light);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .page-footer {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}

/* ============================================================
   KEYFRAME ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
