@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;300;400;500;600;700&family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600;6..96,700&family=Jost:wght@300;400;500;600&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --color-black: #FFFFFF;
  --color-dark: #F7F7F5;
  --color-dark-gray: #EAEAEA; /* Light gray border */
  --color-charcoal: #F1F1EF;  /* Light panel background */
  --color-white: #0A0A0A;
  --color-cream: #FFFFFF;     /* Strictly white background */
  
  /* Gold Accents (Luxury) */
  --color-gold: #C5A870;
  --color-gold-light: #DFCA9E;
  --color-gold-dark: #A27E4B;
  --color-gold-heavy: rgba(197, 168, 112, 0.6);
  
  /* Accent Mappings (Unified Theme: White, Black, Gold) */
  --color-green: #C5A870;       /* Mapped to Theme Gold */
  --color-green-light: #DFCA9E; /* Mapped to Gold Light */
  --color-green-dark: #555550;  /* Mapped to Charcoal for scrollbar */
  
  /* Text Colors */
  --text-main: #1A1A1A;       /* Dark by default */
  --text-muted: #666660;      /* Dark muted by default */
  --text-dark: #FAFAF9;       /* Light for dark backgrounds */
  --text-dark-muted: #BDBDB5; /* Light muted for dark backgrounds */
  
  /* Fonts */
  --font-primary: 'Kanit', sans-serif;
  --font-luxury: 'Bodoni Moda', 'Georgia', serif;
  --font-body-en: 'Jost', sans-serif;

  /* Spacing & Borders */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --border-gold: 1px solid rgba(197, 168, 112, 0.25);
  --border-gold-heavy: 1px solid rgba(197, 168, 112, 0.6);
  --glow-gold: 0 4px 15px rgba(197, 168, 112, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-blur: blur(15px);
  --border-radius: 8px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-black);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-green-dark);
  border: 2px solid var(--color-black);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-gold {
  color: var(--color-gold);
}

.text-green {
  color: var(--color-green-light);
}

.bg-light {
  background-color: var(--color-dark);
  color: var(--text-main);
}

.badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gold-dark);
  border-bottom: 1.5px solid var(--color-gold);
  padding-bottom: 5px;
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

:lang(en) .badge,
html[lang^="en"] .badge {
  font-family: var(--font-body-en);
  letter-spacing: 3px;
}

/* Prevent tone mark shifting and text-transform rendering bugs globally for Thai language */
html[lang^="th"] *,
:lang(th) * {
  letter-spacing: normal !important;
  text-transform: none !important;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.bg-light .section-title {
  color: var(--text-main);
}

/* English mode: serif luxury typeface for section headings */
:lang(en) .section-title,
html[lang^="en"] .section-title {
  font-family: var(--font-luxury);
  font-weight: 500;
  letter-spacing: 1.5px;
}

/* English page-hero title */
:lang(en) .page-hero h1,
html[lang^="en"] .page-hero h1 {
  font-family: var(--font-luxury);
  font-weight: 600;
  letter-spacing: 3px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 50px;
  line-height: 1.75;
  font-weight: 300;
}
.bg-light .section-subtitle {
  color: var(--text-muted);
}

/* Section header block: badge → title → subtitle */
.section-header {
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-smooth);
}

:lang(en) .btn,
html[lang^="en"] .btn {
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-black);
  border: 1px solid var(--color-gold);
  box-shadow: var(--glow-gold);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on btn-primary */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -110%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 168, 112, 0.3);
}

.btn-secondary {
  border: var(--border-gold);
  color: var(--color-gold);
  background: rgba(197, 168, 112, 0.03);
}
.btn-secondary:hover {
  border-color: var(--color-gold-light);
  color: var(--color-white);
  background: rgba(197, 168, 112, 0.1);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1px solid rgba(26, 26, 26, 0.2);
  color: var(--color-black);
}
.btn-outline-dark:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  transform: translateY(-2px);
}

/* Decorative Gold Line */
.divider-gold {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 30px auto;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-gold);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(255,255,255,0.8) inset;
}

/* ==========================================================================
   HEADER / NAVIGATION COMPONENT
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
}

.site-header.scrolled .container {
  height: 65px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  font-weight: 300;
  color: var(--text-dark); /* White on dark header */
  font-size: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 8px;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.site-header.scrolled .logo span {
  color: var(--text-main); /* Black on light scrolled header */
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo-img:hover { opacity: 0.85; }

.footer-logo-img {
  height: 52px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--text-dark); /* White on dark header */
  position: relative;
  padding: 8px 0;
}

.site-header.scrolled .nav-link {
  color: var(--text-main); /* Black on light scrolled header */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
  height: 28px;
  width: 76px;
  user-select: none;
}

.site-header.scrolled .lang-switcher {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.lang-switcher:hover {
  border-color: var(--color-gold);
}

.lang-switcher-bg {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 34px;
  height: 22px;
  background: var(--color-gold);
  border-radius: 18px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.lang-switcher:has(.lang-btn[data-lang="en"].active) .lang-switcher-bg {
  transform: translateX(36px);
}

.lang-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 22px;
  color: var(--text-dark-muted);
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
}

.site-header.scrolled .lang-btn {
  color: var(--text-muted);
}

.lang-btn.active {
  color: #ffffff !important;
  font-weight: 600;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.mobile-nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text-dark); /* White on dark header */
  transition: var(--transition-smooth);
}

.site-header.scrolled .mobile-nav-toggle span {
  background-color: var(--text-main); /* Black on light scrolled header */
}

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.site-footer {
  background-color: var(--color-dark);
  border-top: var(--border-gold);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 24px;
}

.footer-brand .logo span {
  color: var(--text-main);
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-smooth);
}

.footer-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--border-gold);
  border-radius: var(--border-radius);
  margin-top: 8px;
}

.footer-qr-badge-img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: #FFFFFF;
  padding: 2px;
  border: 1px solid rgba(197, 168, 112, 0.2);
}

.footer-qr-badge-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.footer-qr-badge-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-qr-badge-id {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #eadcc5;
  color: #c7a46a;
  transition: var(--transition-smooth);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  display: block;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: #c7a46a;
  color: #ffffff;
  border-color: #c7a46a;
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

/* Specific styling for LINE icon is no longer needed as it uses inline SVG now */

.footer-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: var(--color-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-info {
  list-style: none;
}

.footer-info li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-info svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #c7a46a;
  margin-top: 3px;
}

/* Global Gold/White/Black Filter Utility Classes */
.icon-gold {
  filter: brightness(0) saturate(100%) invert(78.43%) sepia(56.68%) saturate(258.06%) hue-rotate(354.16deg) brightness(76.45%) contrast(103.11%) !important;
}

.icon-white {
  filter: brightness(0) saturate(100%) invert(100%) !important;
}

.icon-black {
  filter: brightness(0) saturate(100%) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted) !important;
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: var(--color-gold) !important;
}

/* ==========================================================================
   PAGE HERO / SUB-HERO BANNER
   ========================================================================== */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.9));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-dark-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   INTERACTIVE & ENTRANCE ANIMATIONS
   ========================================================================== */
/* Scroll fade-in classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  /* Mobile Navigation Menu */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-left: var(--border-gold);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: var(--transition-smooth);
    z-index: 1000;
  }
  
  .nav-menu .nav-link {
    color: var(--text-main);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .mobile-nav-toggle.open span {
    background-color: var(--text-main) !important;
  }
  
  .mobile-nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .page-hero h1 {
    font-size: 36px;
  }
}

/* ==========================================================================
   GOLDEN BORDER DRAW EFFECT ON HOVER
   ========================================================================== */
.room-card,
.attraction-card,
.channel-card {
  position: relative;
}

.room-card::before,
.room-card::after,
.attraction-card::before,
.attraction-card::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 1px solid transparent;
  pointer-events: none;
  z-index: 10;
  border-radius: var(--border-radius);
  transition: width 0.2s ease-out, height 0.2s ease-out;
}

.room-card::before,
.attraction-card::before {
  top: 0;
  left: 0;
}

.room-card::after,
.attraction-card::after {
  bottom: 0;
  right: 0;
}

.room-card:hover::before,
.attraction-card:hover::before {
  width: 100%;
  height: 100%;
  border-top-color: var(--color-gold);
  border-right-color: var(--color-gold);
  transition: width 0.2s ease-out, height 0.2s ease-out 0.2s;
}

.room-card:hover::after,
.attraction-card:hover::after {
  width: 100%;
  height: 100%;
  border-bottom-color: var(--color-gold);
  border-left-color: var(--color-gold);
  transition: width 0.2s ease-out, height 0.2s ease-out 0.2s;
}

/* ==========================================================================
   GLOBAL FLOATING BOOKING HUB WIDGET
   ========================================================================== */
.floating-booking-hub {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.floating-hub-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-black);
  border: 1px solid var(--color-gold-light);
  box-shadow: 0 4px 20px rgba(197, 168, 112, 0.4), var(--glow-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition-smooth);
  animation: pulseTrigger 2.5s infinite;
}

.floating-hub-trigger:hover {
  transform: scale(1.08) rotate(15deg);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
}

@keyframes pulseTrigger {
  0% {
    box-shadow: 0 4px 20px rgba(197, 168, 112, 0.4), 0 0 0 0 rgba(197, 168, 112, 0.5);
  }
  70% {
    box-shadow: 0 4px 20px rgba(197, 168, 112, 0.4), 0 0 0 15px rgba(197, 168, 112, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(197, 168, 112, 0.4), 0 0 0 0 rgba(197, 168, 112, 0);
  }
}

.booking-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.floating-booking-hub.open .booking-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.booking-option-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 1px solid #eadcc5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #c7a46a;
  transition: var(--transition-smooth);
  position: relative;
}

.booking-option-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: var(--transition-smooth);
}

.booking-option-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background-color: #c7a46a;
  color: #ffffff;
  border-color: #c7a46a;
  box-shadow: 0 6px 20px rgba(197, 168, 112, 0.25);
}

/* Tooltip text */
.option-tooltip {
  position: absolute;
  right: 65px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(5px);
  color: #FAFAF9;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-option-btn:hover .option-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .floating-booking-hub {
    bottom: 20px;
    right: 20px;
  }
  .floating-hub-trigger {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .booking-option-btn {
    width: 45px;
    height: 45px;
  }
  .option-tooltip {
    right: 55px;
  }
}

/* ==========================================================================
   SCROLLBAR & PROGRESS BAR
   ========================================================================== */
/* Brand Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0A0A0A;
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border: 2px solid #0A0A0A;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E5C384;
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 99999;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), #E5C384);
  box-shadow: 0 0 10px rgba(197, 168, 112, 0.5);
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   GOLD SHIMMER SHEEN HOVER EFFECT
   ========================================================================== */
.room-img-wrapper {
  position: relative;
  overflow: hidden;
}
.room-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25) 50%, transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 5;
  transition: none;
}
.room-card:hover .room-img-wrapper::after {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}


/* ==========================================================================
   INTERACTIVE LIGHTBOX GALLERY
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 38px;
  cursor: pointer;
  z-index: 100002;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
}
.lightbox-close:hover {
  color: var(--color-gold);
  transform: scale(1.1) rotate(90deg);
}
.lightbox-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(197, 168, 112, 0.15);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}
.lightbox-modal.open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100003;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  line-height: 1;
}
.lightbox-arrow:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #000;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 15px rgba(197, 168, 112, 0.3);
}
.lightbox-arrow.prev {
  left: -80px;
}
.lightbox-arrow.next {
  right: -80px;
}
.lightbox-caption {
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.lightbox-modal.open .lightbox-caption {
  opacity: 0.9;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .lightbox-arrow.prev { left: 15px; }
  .lightbox-arrow.next { right: 15px; }
  .lightbox-arrow {
    width: 48px;
    height: 48px;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
}
@media (max-width: 768px) {
  .lightbox-container {
    height: 60vh;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
  }
  .lightbox-caption {
    font-size: 12.5px;
    padding: 0 10px;
    bottom: -35px;
  }
}

/* ==========================================================================
   ACCESSIBILITY — REDUCED MOTION (Skill: ux/animation/reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   LUXURY TYPOGRAPHY UPGRADE (Skill: typography/Bodoni Moda + Jost)
   ========================================================================== */

/* English-specific: Logo & SAMPRASOB wordmarks use Bodoni Moda */
.logo,
.loader-logo {
  font-family: var(--font-luxury);
  letter-spacing: 6px;
}

/* English text blocks use Jost */
html[lang^="en"] body,
html[lang^="en"] p,
html[lang^="en"] .section-subtitle,
html[lang^="en"] .about-desc,
html[lang^="en"] .room-desc,
html[lang^="en"] .quote-text {
  font-family: var(--font-body-en);
}

html[lang^="en"] h1,
html[lang^="en"] h2,
html[lang^="en"] h3,
html[lang^="en"] .section-title {
  font-family: var(--font-luxury);
}

/* ==========================================================================
   PREMIUM GLOBAL POLISH
   ========================================================================== */

/* Luxury selection color */
::selection {
  background: rgba(197, 168, 112, 0.25);
  color: var(--color-gold-dark);
}

/* Smooth scrollbar gold accent */
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-gold-dark), var(--color-gold));
}

/* Cursor pointer on all interactive cards */
.room-card,
.amenity-card,
.experience-card,
.testimonial-card,
.credential-item,
.ribbon-item,
.travel-card,
.channel-card,
.step-card,
.rule-card,
.bank-card,
.cancellation-card,
.book-direct-item,
.attraction-card,
.faq-item {
  cursor: pointer;
}

/* Gold focus ring for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Premium image rendering */
img {
  image-rendering: auto;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Fluid section transitions */
.section-padding {
  transition: background-color 0.3s ease;
}

/* ==========================================================================
   LOCATION & MAP SECTION
   ========================================================================== */
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.location-nearby-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.nearby-list {
  list-style: none;
  margin-bottom: 32px;
}

.nearby-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(197, 168, 112, 0.12);
}

.nearby-item:first-child { border-top: 1px solid rgba(197, 168, 112, 0.12); }

.nearby-dist {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold);
  min-width: 52px;
  letter-spacing: 0.5px;
}

.nearby-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nearby-name {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-main);
}

.nearby-mode {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.nearby-mode svg { opacity: 0.6; flex-shrink: 0; }

.location-btn { margin-top: 4px; }

.location-map-frame {
  height: 480px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: var(--border-gold-heavy);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .location-layout {
    grid-template-columns: 1fr;
  }
  .location-map-frame {
    height: 360px;
  }
}


/* ==========================================================================
   BRAND PRELOADER (Logo + gold line draw) — GPU-only transform/opacity
   ========================================================================== */
#preloader{
  position:fixed; inset:0; z-index:99999;
  background:var(--color-black); /* token = white */
  display:flex; align-items:center; justify-content:center;
  opacity:1; visibility:visible;
  transition:opacity .6s cubic-bezier(0.25,1,0.5,1), visibility .6s cubic-bezier(0.25,1,0.5,1);
}
#preloader.loaded{ opacity:0; visibility:hidden; }
.preloader-inner{ text-align:center; padding:0 20px; }
.preloader-word{
  font-family:var(--font-luxury); font-weight:500;
  letter-spacing:10px; padding-left:10px;
  font-size:clamp(22px,5vw,32px); color:var(--text-main);
}
.preloader-word span{
  display:inline-block; opacity:0; transform:translateY(14px);
  animation:plUp .6s cubic-bezier(0.25,1,0.5,1) forwards;
}
.preloader-line{
  height:2px; width:0; margin:18px auto 0;
  background:linear-gradient(90deg,var(--color-gold-dark),var(--color-gold-light));
  animation:plLine .7s cubic-bezier(0.25,1,0.5,1) .9s forwards;
}
.preloader-sub{
  font-family:var(--font-luxury); letter-spacing:6px;
  font-size:12px; color:var(--color-gold-dark);
  margin-top:14px; opacity:0; animation:plFade .6s ease 1.5s forwards;
}
@keyframes plUp{ to{ opacity:1; transform:translateY(0); } }
@keyframes plLine{ to{ width:min(200px,62vw); } }
@keyframes plFade{ to{ opacity:1; } }

/* Cached navigations in the same session: skip entrance animation */
html.pl-cached .preloader-word span,
html.pl-cached .preloader-line,
html.pl-cached .preloader-sub{ animation:none; opacity:1; transform:none; }
html.pl-cached .preloader-line{ width:min(200px,62vw); }

@media (prefers-reduced-motion:reduce){
  .preloader-word span,.preloader-line,.preloader-sub{ animation:none !important; opacity:1; transform:none; }
  .preloader-line{ width:min(200px,62vw); }
  #preloader{ transition:opacity .2s linear, visibility .2s linear; }
}
