/* ==========================================================================
   SPARROW HOSTEL - STYLESHEET
   Authentic Ancient Kazakh / Nomad / Tengri Style + Modern Comfort
   "Erkin Sayaxatta • Teren Tynyqta" | "Wander Freely • Rest Deeply"
   Astana, Kazakhstan
   ========================================================================== */

:root {
  /* Color Palette: Terracotta Earth, Nomad Oak & Moss Green */
  --color-terracotta-deep: #210d0b;
  --color-terracotta-dark: #3a1915;
  --color-terracotta: #632a24;
  --color-terracotta-warm: #7b362f;
  --color-terracotta-light: #94483f;
  --color-terracotta-glow: rgba(123, 54, 47, 0.35);

  /* Steppe Sun Gold & Warm Light Track */
  --color-gold: #d4af37;
  --color-gold-light: #f3d484;
  --color-gold-dark: #a6811b;
  --color-gold-glow: rgba(212, 175, 55, 0.28);
  --color-neon-track: #ffebb8;
  --color-neon-glow: rgba(255, 235, 184, 0.4);

  /* Booking.com Iconic Accent */
  --color-booking-blue: #003580;
  --color-booking-light: #006ce4;

  /* Moss Green Accent (bathrooms & lounge cushions) */
  --color-moss: #4e5e48;
  --color-moss-light: #6d8065;
  --color-moss-glow: rgba(78, 94, 72, 0.3);

  /* Natural Oak, Birch & Stone */
  --color-wood-oak: #c89b6d;
  --color-wood-dark: #1f140f;
  --color-wood-card: #2c1a14;
  --color-stone-bg: #1c1817;
  --color-stone-accent: #a59e95;
  --color-cream-felt: #f7f1e6;
  --color-cream-muted: #e2d7c5;

  /* UI Text & Borders */
  --color-text-primary: #fcf9f2;
  --color-text-secondary: #d6cbbe;
  --color-text-muted: #9c8e7e;
  --color-border: rgba(212, 175, 55, 0.22);
  --color-border-subtle: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-ornament: 'Cinzel Decorative', 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout & Radii */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  /* Shadows */
  --card-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px -5px rgba(212, 175, 55, 0.08);
  --card-shadow-hover: 0 24px 48px -12px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.2);
}

/* Cinzel & Plus Jakarta Sans have no (full) Cyrillic, so Kazakh & Russian switch to
   look-alike fonts that cover every Kazakh letter (ә ғ қ ң ө ұ ү һ і). */
:root:lang(ru),
:root:lang(kk) {
  --font-serif: 'Cormorant SC', 'Cinzel', Georgia, serif;
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* Hide the page for a moment while a saved KZ/RU language is applied.
   Fallback animation reveals it anyway if JavaScript fails to load. */
.i18n-pending body {
  visibility: hidden;
  animation: i18n-reveal 0s linear 1.5s forwards;
}

@keyframes i18n-reveal {
  to { visibility: visible; }
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* keeps section titles visible below the sticky header */
  font-size: 16px;
  background-color: var(--color-terracotta-deep);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(99, 42, 36, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 45%, rgba(44, 26, 20, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(78, 94, 72, 0.2) 0%, transparent 55%),
    var(--color-terracotta-deep);
}

/* Fixed backgrounds cause scroll jank on phones, so only use it on desktop */
@media (hover: hover) and (min-width: 1025px) {
  body {
    background-attachment: fixed;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-terracotta-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-gold), var(--color-terracotta-warm));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-light);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Visible focus ring for keyboard users (mouse clicks don't show it) */
:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}

/* "Skip to content" link — only visible when focused with the keyboard */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.6rem 1.2rem;
  background: var(--color-gold);
  color: #1a0f05;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Typography & Nomad Badges
   ========================================================================== */

h1, h2, h3, h4, .nomad-title {
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--color-text-primary);
}

.nomad-gold {
  color: var(--color-gold);
}

.nomad-moss {
  color: var(--color-moss-light);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.section-tag svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Kazakh Ornamental Divider */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem auto;
  opacity: 0.75;
}

.ornament-divider::before,
.ornament-divider::after {
  content: "";
  height: 1px;
  width: 70px;
  background: linear-gradient(to right, transparent, var(--color-gold));
}

.ornament-divider::after {
  background: linear-gradient(to left, transparent, var(--color-gold));
}

.ornament-divider svg {
  width: 26px;
  height: 26px;
  fill: var(--color-gold);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Announcement Bar */
.top-bar {
  background: rgba(20, 8, 7, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  padding: 0.45rem 0;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.top-announcement {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.badge-blessing {
  color: var(--color-gold-light);
  font-weight: 700;
}

.top-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-direct-contacts {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.82rem;
}

.top-direct-contacts a {
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-direct-contacts a:hover {
  color: #fff;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.6rem;
}

.lang-selector select {
  background: transparent;
  border: none;
  color: var(--color-gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.lang-selector select option {
  background: var(--color-terracotta-dark);
  color: var(--color-text-primary);
}

/* Main Navbar */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(33, 13, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  background: rgba(25, 9, 8, 0.98);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 1.5rem;
}

/* Brand Logo using User's Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  transition: transform 0.4s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Cinzel', Georgia, serif; /* brand is always Latin, keep Cinzel in every language */
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--color-gold);
}

.brand-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  font-weight: 600;
  white-space: nowrap;
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.nav-book-btn {
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-gold), var(--color-terracotta-light));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-gold-light);
}

.nav-link:hover::after {
  width: 100%;
}

/* Booking.com Button */
.btn-booking-com {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, #003580 0%, #006ce4 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px -4px rgba(0, 108, 228, 0.45);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-booking-com:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #004299 0%, #1a82f7 100%);
  box-shadow: 0 12px 28px -4px rgba(0, 108, 228, 0.65), 0 0 20px rgba(0, 108, 228, 0.35);
  color: #fff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  background: linear-gradient(135deg, var(--color-gold), #aa8014);
  color: #1a0f05;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.4);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f8d888, var(--color-gold));
  box-shadow: 0 12px 28px -4px rgba(212, 175, 55, 0.6), 0 0 15px rgba(212, 175, 55, 0.3);
  color: #0d0702;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 6rem;
  background: 
    linear-gradient(to bottom, rgba(33, 13, 11, 0.45) 0%, rgba(33, 13, 11, 0.9) 82%, var(--color-terracotta-deep) 100%),
    url('../images/lounge-atrium.webp') center/cover no-repeat;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-section {
    background:
      linear-gradient(to bottom, rgba(33, 13, 11, 0.45) 0%, rgba(33, 13, 11, 0.9) 82%, var(--color-terracotta-deep) 100%),
      url('../images/lounge-atrium-800.webp') center/cover no-repeat;
  }
}

.hero-overlay-neon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(255, 235, 184, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.4rem;
  background: rgba(42, 18, 15, 0.85);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  color: var(--color-gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
  max-width: 100%;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.hero-motto {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--color-gold-light);
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--color-text-secondary);
  max-width: 760px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Booking Aggregator Hero Card */
.hero-booking-aggregator-box {
  background: rgba(35, 15, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2.2rem;
  box-shadow: var(--card-shadow), 0 0 35px rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.aggregator-box-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aggregator-box-text p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.aggregator-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.2rem;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--color-gold-light);
}

.aggregator-highlights span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   Design & Philosophy Section
   ========================================================================== */

.philosophy-section {
  padding: 7rem 0;
  position: relative;
}

.philosophy-quote-box {
  background: linear-gradient(135deg, rgba(58, 25, 21, 0.8), rgba(33, 13, 11, 0.95));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.8rem 3rem;
  margin-bottom: 4.5rem;
  position: relative;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.philosophy-quote-box .quote-icon {
  width: 44px;
  height: 44px;
  fill: var(--color-gold);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.philosophy-quote-kazakh {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-gold-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.philosophy-quote-meaning {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 780px;
  margin: 0 auto;
}

.design-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
}

.design-feature-card {
  background: rgba(38, 16, 13, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.design-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--card-shadow-hover);
  background: rgba(50, 22, 18, 0.9);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-wrap svg {
  width: 30px;
  height: 30px;
  fill: var(--color-gold);
}

.design-feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--color-text-primary);
}

.feature-subtitle {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.design-feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Room Types Showcase (5 Exact Types)
   ========================================================================== */

.rooms-section {
  padding: 6.5rem 0;
  background: rgba(25, 9, 8, 0.7);
  position: relative;
}

.bathroom-notice-banner {
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.8rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.bathroom-notice-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bathroom-notice-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-gold);
}

.bathroom-notice-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.bathroom-notice-text strong {
  color: var(--color-gold-light);
}

.room-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--color-gold-light);
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.1);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-gold), #aa8014);
  color: #150a04;
  border-color: var(--color-gold-light);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
  gap: 2.2rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.room-card {
  background: var(--color-wood-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: var(--card-shadow-hover);
}

.room-card.featured-vip {
  border: 2px solid var(--color-gold);
  background: linear-gradient(180deg, rgba(62, 28, 23, 0.9) 0%, rgba(33, 13, 11, 0.95) 100%);
}

.room-image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.room-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card:hover .room-image-wrap img {
  transform: scale(1.06);
}

.room-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(33, 13, 11, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
}

.badge-vip {
  background: linear-gradient(135deg, var(--color-gold), #aa8014);
  color: #120904;
  border-color: #fff;
  font-weight: 700;
}

.room-bath-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bath-private {
  background: rgba(78, 94, 72, 0.9);
  color: #fff;
  border: 1px solid var(--color-gold-light);
}

.room-capacity {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.room-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.room-desc {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.room-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.amenity-tag {
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.amenity-tag svg {
  width: 12px;
  height: 12px;
  fill: var(--color-gold);
}

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.room-price {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
}

.price-period {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Bathrooms Showcase Section
   ========================================================================== */

.bathrooms-section {
  padding: 6.5rem 0;
  position: relative;
}

.bathrooms-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.bathrooms-visuals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bathrooms-visual-card {
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
  height: 220px;
}

.bathrooms-visual-card.tall {
  grid-row: span 2;
  height: 450px;
}

.bathrooms-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bathrooms-visual-card:hover img {
  transform: scale(1.05);
}

.bath-badge-caption {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--color-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.bathrooms-info h3 {
  font-size: 2.1rem;
  margin-bottom: 1.1rem;
}

.bathrooms-info p {
  color: var(--color-text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.bathrooms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.bathrooms-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--color-text-primary);
}

.bathrooms-list li svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Lounge & Social Spaces
   ========================================================================== */

.lounge-section {
  padding: 6.5rem 0;
  background: rgba(24, 9, 8, 0.8);
}

.lounge-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.lounge-showcase-row:nth-child(even) {
  direction: rtl;
}

.lounge-showcase-row:nth-child(even) .lounge-text {
  direction: ltr;
}

.lounge-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--card-shadow);
  position: relative;
  height: 380px;
}

.lounge-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.lounge-img-wrap:hover img {
  transform: scale(1.04);
}

.lounge-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.lounge-text p {
  color: var(--color-text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Amenities Grid
   ========================================================================== */

.amenities-section {
  padding: 6rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.6rem;
}

.amenity-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.amenity-box:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.amenity-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}

.amenity-box-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--color-gold);
}

.amenity-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.amenity-box p {
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Steppe Photo Gallery & Lightbox
   ========================================================================== */

.gallery-section {
  padding: 7rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px;
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 6; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 6; grid-row: span 1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 8, 7, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.gallery-info p {
  font-size: 0.8rem;
  color: var(--color-gold-light);
}

/* Lightbox Modal (native <dialog>) */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: none;
  background: rgba(18, 7, 6, 0.95);
  color: inherit;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal[open] {
  display: flex;
}

.lightbox-modal::backdrop {
  background: rgba(18, 7, 6, 0.6);
  backdrop-filter: blur(15px);
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-height: 75vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-gold-light);
  font-family: var(--font-serif);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--color-gold);
  color: #000;
}

/* ==========================================================================
   Location & Real Entrance Facade Section
   ========================================================================== */

.location-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.entrance-image-card {
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--card-shadow);
  height: 420px;
}

.entrance-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.entrance-image-card:hover img {
  transform: scale(1.04);
}

.entrance-badge-floating {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  background: rgba(20, 8, 7, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.entrance-badge-floating span {
  font-size: 0.88rem;
  color: var(--color-gold-light);
  font-weight: 600;
}

.location-contacts-card {
  background: rgba(38, 16, 13, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--card-shadow);
}

.location-contacts-card h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.location-contacts-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.contact-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.contact-item-row:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-gold);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
}

.contact-item-info h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-item-info {
  min-width: 0;
}

.contact-item-info a, .contact-item-info > span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-gold-light);
  overflow-wrap: anywhere;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-left: calc(40px + 2rem);
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.map-link-btn:hover {
  background: var(--color-gold);
  color: #1a0f05;
  border-color: var(--color-gold);
}

.map-link-btn[hidden] {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  background: #110504;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 1.2rem 0;
  max-width: 320px;
}

.footer-blessing-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  font-style: italic;
  color: var(--color-gold-light);
  font-size: 0.88rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--color-text-primary);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--color-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.footer-contact-info a {
  color: var(--color-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
  .bathrooms-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .lounge-showcase-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .lounge-showcase-row:nth-child(even) {
    direction: ltr;
  }
  .location-showcase-grid {
    grid-template-columns: 1fr;
  }
  .hero-booking-aggregator-box {
    flex-direction: column;
    text-align: center;
  }
  .aggregator-highlights {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hamburger menu from 1200px down (7 links + logo + button don't fit below that) */
@media (max-width: 1200px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(25, 9, 8, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .top-announcement {
    display: none;
  }

  .map-links {
    padding-left: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bathrooms-visuals-grid {
    grid-template-columns: 1fr;
  }
  .bathrooms-visual-card.tall {
    height: 250px;
  }

  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.9rem;
    max-width: 100%;
    line-height: 1.35;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .nav-book-btn {
    display: none; /* the hero already has a big booking button */
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .top-direct-contacts {
    gap: 0.8rem;
    font-size: 0.78rem;
  }

  .philosophy-quote-box {
    padding: 2rem 1.4rem;
  }

  .hero-booking-aggregator-box,
  .location-contacts-card {
    padding: 1.5rem 1.2rem;
  }

  .room-footer {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
}

/* Respect the "reduce motion" accessibility setting */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
