/* ============================================
   Silk Road Rail Journeys - Style
   All fonts and images are local
   ============================================ */

/* ----- LOCAL FONT DECLARATIONS ----- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/CormorantGaramond-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Noto Serif SC uses system fallback for Chinese characters */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Cinzel-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Cinzel-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Cinzel-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----- RESET & BASE ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0B0D17;
  color: #e8e2d0;
  font-family: 'Cormorant Garamond', 'Noto Serif SC', 'Source Han Serif SC', 'Noto Serif CJK SC', 'STSong', 'SimSun', serif;
  overflow-x: hidden;
  line-height: 1.6;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0B0D17; }
::-webkit-scrollbar-thumb { background: #D4AF37; border-radius: 10px; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.gold-text { color: #D4AF37; }
.gold-border {
  border-bottom: 2px solid #D4AF37;
  width: 80px;
  margin: 20px auto;
}
.divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  margin: 10px auto;
}

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes slowZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.animate-on-load {
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.8s; }
.delay-4 { animation-delay: 1.1s; }

/* ----- NAVBAR ----- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(11,13,23,0.95) 0%, transparent 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.logo-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  line-height: 1.2;
  gap: 0 0.5em;
}
.logo-icon {
  font-size: 1.4rem;
  color: #D4AF37;
  grid-row: 1;
  grid-column: 1;
  justify-self: start;
}
.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
  grid-row: 1;
  grid-column: 2;
  white-space: nowrap;
}
.domain-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: #D4AF37;
  opacity: 0.8;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
  grid-row: 2;
  grid-column: 2;
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-links a {
  color: #b8b2a2;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}
.nav-links a:hover { color: #D4AF37; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: #D4AF37;
  transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.lang-group {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.lang-btn {
  background: transparent;
  border: none;
  color: #b8b2a2;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Cinzel', sans-serif;
  letter-spacing: 1px;
}
.lang-btn.active {
  background: #D4AF37;
  color: #0B0D17;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}
.lang-btn:hover:not(.active) { color: #fff; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 28px;
  height: 2px;
  background: #D4AF37;
  transition: 0.3s;
}

/* ----- HERO ----- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0B0D17;
}

#hero .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/silkroadrail.jpg') center/cover no-repeat;
  animation: slowZoom 14s ease-in-out infinite alternate;
  z-index: 0;
}

#hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 40% 50%, rgba(11,13,23,0.25) 0%, #0B0D17 85%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 20px;
}

.hero-content .sub-line {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 10px;
  color: #D4AF37;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 300;
  border-left: 3px solid #D4AF37;
  padding-left: 20px;
}

.hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 10vw, 5.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 4px 50px rgba(0,0,0,0.7);
}
.hero-content h1 .highlight {
  background: linear-gradient(90deg, #D4AF37, #f5e18b, #D4AF37);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 5s linear infinite;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  max-width: 750px;
  margin: 0 auto 40px;
  color: #d4cebc;
  letter-spacing: 1px;
  font-weight: 300;
  font-style: italic;
}

.cta-btn {
  display: inline-block;
  padding: 16px 50px;
  border: 2px solid #D4AF37;
  background: transparent;
  color: #D4AF37;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.4s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.cta-btn:hover {
  background: #D4AF37;
  color: #0B0D17;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.3);
  font-size: 0.6rem;
  letter-spacing: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 1.5s ease 1.5s forwards;
  opacity: 0;
}
.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(transparent, #D4AF37);
}

/* ----- STATS ----- */
#stats {
  padding: 100px 5% 80px;
  background: #0B0D17;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-item .number {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #D4AF37;
  letter-spacing: 2px;
  line-height: 1.2;
}
.stat-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #b0a894;
  margin-top: 6px;
  font-weight: 300;
}
.stat-item .gold-border {
  width: 30px;
  margin: 10px auto;
}

.quote-block {
  max-width: 850px;
  margin: 70px auto 0;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.quote-block .quote-text {
  font-size: 1.8rem;
  font-weight: 400;
  color: #f2ebd8;
  letter-spacing: 1px;
  font-style: italic;
}
.quote-block .quote-author {
  margin-top: 15px;
  color: #D4AF37;
  letter-spacing: 5px;
  font-size: 0.8rem;
  font-weight: 300;
}

/* ----- FOOTER ----- */
footer {
  padding: 60px 5% 40px;
  text-align: center;
  background: #07080e;
}
footer .footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 15px;
}
footer .footer-brand span { color: #D4AF37; }
footer p {
  color: #5a5a5a;
  font-size: 0.75rem;
  letter-spacing: 3px;
  font-weight: 300;
}
footer .coming-soon-badge {
  margin-top: 25px;
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 40px;
  font-size: 0.65rem;
  letter-spacing: 5px;
  color: #D4AF37;
  text-transform: uppercase;
}

.lang-indicator {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(11,13,23,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: #D4AF37;
  z-index: 999;
  pointer-events: none;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
}

/* ----- BOOKING MODAL ----- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11,13,23,0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: linear-gradient(160deg, #11131f 0%, #0B0D17 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  max-width: 620px;
  width: 90%;
  padding: 0;
  position: relative;
  box-shadow: 0 0 80px rgba(212, 175, 55, 0.08), 0 20px 60px rgba(0,0,0,0.6);
  animation: fadeInUp 0.5s ease forwards;
}

.modal-header {
  text-align: center;
  padding: 36px 30px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.modal-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #D4AF37;
  letter-spacing: 3px;
  margin: 0 0 8px;
}
.modal-header .divider-line {
  width: 40px;
  margin: 0 auto;
}

.modal-desc {
  text-align: center;
  padding: 16px 30px 0;
  font-size: 0.85rem;
  color: #b0a894;
  line-height: 1.6;
  font-style: italic;
}

.modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 24px 30px 30px;
}

.modal-qr {
  text-align: center;
  flex-shrink: 0;
}
.qr-image {
  width: 140px;
  height: 140px;
  border: 2px solid rgba(212, 175, 55, 0.25);
  border-radius: 2px;
  padding: 4px;
  background: #fff;
  display: block;
}
.qr-label {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: #D4AF37;
  letter-spacing: 1px;
  font-family: 'Cormorant Garamond', serif;
}

.modal-divider-vert {
  width: 1px;
  height: 120px;
  background: linear-gradient(transparent, rgba(212, 175, 55, 0.25), transparent);
  flex-shrink: 0;
}

.modal-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.15);
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.7rem;
  color: #6b6658;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 3px;
}
.contact-value {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  color: #e8e2d0;
  text-decoration: none;
  letter-spacing: 0;
  transition: color 0.3s;
}
a.contact-value:hover {
  color: #D4AF37;
}

.modal-close-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  color: #6b6658;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.modal-close-btn:hover {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.04);
}

@media (max-width: 520px) {
  .modal-body {
    flex-direction: column;
    gap: 20px;
  }
  .modal-divider-vert {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
  }
  .modal-contact {
    align-items: center;
  }
  .qr-image { width: 120px; height: 120px; }
  .modal-header h2 { font-size: 1.2rem; }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
  .nav-links { gap: 1.2rem; font-size: 0.65rem; }
  .logo-icon, .logo-text { font-size: 1.2rem; }
  .domain-sub { font-size: 0.65rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0B0D17;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    transform: translateY(-100%);
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    backdrop-filter: blur(20px);
    padding: 40px;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links .lang-group { margin-top: 20px; }
  .nav-links a { font-size: 1.2rem; }

  .hero-content h1 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-item .number { font-size: 2.2rem; }
  .quote-block .quote-text { font-size: 1.3rem; }
  .lang-indicator { bottom: 15px; right: 15px; padding: 4px 12px; font-size: 0.5rem; }

  .logo-icon, .logo-text { font-size: 1.0rem; }
  .domain-sub { font-size: 0.55rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .cta-btn { padding: 14px 30px; font-size: 0.7rem; }
  .logo-icon, .logo-text { font-size: 0.9rem; }
  .domain-sub { font-size: 0.5rem; }
  nav { padding: 12px 5%; }
}
