/* ============================================================
   ATAA HOTEL — فندق مدينة العطاء السياحي
   Premium CSS Design System
   Apple-Inspired · Glassmorphism · RTL Arabic
   ============================================================ */

/* ==============================================
   1. CSS VARIABLES / DESIGN SYSTEM
   ============================================== */

:root {
  /* ── Color Palette ── */
  --color-primary: #0B132B;
  --color-secondary: #1C2541;
  --color-accent: #D4AF37;
  --color-accent-hover: #F9A03F;
  --color-accent-light: rgba(212, 175, 55, 0.15);
  --color-accent-glow: rgba(212, 175, 55, 0.4);

  --color-text: #333333;
  --color-text-muted: #666666;
  --color-text-light: #999999;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-bg: #F8F9FA;
  --color-bg-alt: #EDEEF0;
  --color-border: rgba(0, 0, 0, 0.08);

  /* ── Glass Effect ── */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-light: rgba(255, 255, 255, 0.65);
  --glass-bg-dark: rgba(11, 19, 43, 0.75);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-light: rgba(255, 255, 255, 0.25);
  --glass-blur: blur(20px);
  --glass-blur-heavy: blur(40px);

  /* ── Typography ── */
  --font-primary: 'Cairo', 'Tajawal', sans-serif;
  --font-secondary: 'Tajawal', 'Cairo', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* ── Spacing ── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* ── Border Radius ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 50%;
  --radius-pill: 100px;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 4px 24px rgba(212, 175, 55, 0.25);
  --shadow-gold-lg: 0 8px 40px rgba(212, 175, 55, 0.35);
  --shadow-inner: inset 0 2px 6px rgba(0, 0, 0, 0.06);

  /* ── Transitions ── */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-luxury: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Z-Index Scale ── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-navbar: 1000;
  --z-modal: 9000;
  --z-loading: 9999;
  --z-invoice: 10000;
}


/* ==============================================
   2. RESET & BASE STYLES
   ============================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-white);
}


/* ==============================================
   3. LOADING SCREEN ANIMATION
   ============================================== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-loading);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, #0d1b3e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  visibility: visible;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-md);
  width: 100%;
}

.loading-screen .loading-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--color-white);
  margin: 0 auto;
  animation: loadingPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4));
}

.loading-screen .loading-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  letter-spacing: 2px;
  animation: loadingFadeText 2s ease-in-out infinite alternate;
}

.loading-screen .loading-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(212, 175, 55, 0.15);
  border-top-color: var(--color-accent);
  border-radius: var(--radius-full);
  animation: loadingSpin 1s linear infinite;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loadingPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

@keyframes loadingFadeText {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes loadingSpin {
  to { transform: rotate(360deg); }
}


/* ==============================================
   4. NAVBAR
   ============================================== */

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-navbar);
  background: rgba(11, 19, 43, 0.35);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-md) 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(11, 19, 43, 0.92);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  padding: var(--space-sm) 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(212, 175, 55, 0.1);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
  transition: transform var(--transition-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-white);
  position: relative;
  top: 4px;
}

.logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Nav Links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.925rem;
  font-weight: var(--font-weight-medium);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  border-radius: var(--radius-pill);
  transition: width var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--color-white);
}

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

.nav-links a.active {
  color: var(--color-accent);
}

/* ── Nav Button ── */
.nav-links .btn.btn-primary {
  margin-right: var(--space-sm);
}

/* ── Language Switch ── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
}

.lang-btn:hover {
  color: var(--color-white);
}

.lang-btn.active {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* ── Dark Mode Toggle ── */
.dark-mode-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.dark-mode-toggle:hover {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 175, 55, 0.3);
  transform: rotate(15deg);
}

/* ── Mobile Menu Button ── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ==============================================
   5. HERO SECTION
   ============================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/gemini.png') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 0.3s ease-out;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(11, 19, 43, 0.55) 0%,
    rgba(11, 19, 43, 0.4) 40%,
    rgba(11, 19, 43, 0.65) 70%,
    rgba(11, 19, 43, 0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
  padding: 0 var(--space-xl);
}

.hero-content .stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-content .stars i {
  color: var(--color-accent);
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
  animation: starTwinkle 2s ease-in-out infinite;
}

.hero-content .stars i:nth-child(2) { animation-delay: 0.2s; }
.hero-content .stars i:nth-child(3) { animation-delay: 0.4s; }
.hero-content .stars i:nth-child(4) { animation-delay: 0.6s; }
.hero-content .stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--font-weight-black);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.5px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
  letter-spacing: 1px;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: var(--font-weight-regular);
  margin-bottom: var(--space-2xl);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Hero Animations ── */
.animate-text {
  opacity: 0;
  transform: translateY(40px);
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes heroTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Parallax Hint ── */
.hero[data-parallax]::before {
  will-change: transform;
}


/* ==============================================
   6. SECTION COMMON STYLES
   ============================================== */

.section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  position: relative;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  margin: var(--space-md) auto;
  border-radius: var(--radius-pill);
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.text-right-divider {
  margin-right: 0;
  margin-left: auto;
}

.text-right-divider::before {
  left: auto;
  right: 0;
  transform: translate(50%, -50%);
}


/* ==============================================
   7. SCROLL ANIMATIONS
   ============================================== */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }


/* ==============================================
   STATISTICS SECTION
   ============================================== */

.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold-lg);
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-gold);
}

.stat-number {
  font-size: 3rem;
  font-weight: var(--font-weight-black);
  color: var(--color-accent);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-medium);
}


/* ==============================================
   VIDEO TOUR SECTION
   ============================================== */

.video-tour-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.video-tour-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-black);
  cursor: pointer;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.video-wrapper:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-4px);
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: opacity var(--transition-base);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: linear-gradient(
    180deg,
    rgba(11, 19, 43, 0.3) 0%,
    rgba(11, 19, 43, 0.5) 50%,
    rgba(11, 19, 43, 0.4) 100%
  );
  z-index: 2;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  opacity: 1;
  visibility: visible;
}

.video-play-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-primary);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold-lg);
  transition: all var(--transition-spring);
  position: relative;
  z-index: 1;
}

.video-play-btn::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(212, 175, 55, 0.3);
  animation: videoPulseRing 2s ease-out infinite;
}

.video-play-btn::after {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: -16px;
  bottom: -16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.15);
  animation: videoPulseRing 2s ease-out 0.5s infinite;
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 50px rgba(212, 175, 55, 0.5);
}

.video-play-btn i {
  margin-left: 4px; /* slight offset for visual centering of play triangle */
}

.video-play-text {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

@keyframes videoPulseRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Video wrapper playing state */
.video-wrapper.playing .video-play-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-wrapper.playing:hover .video-play-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-wrapper.playing:hover .video-play-btn i::before {
  content: "\f04c"; /* pause icon */
}

/* Dark mode adjustments */
.dark-mode .video-tour-section {
  background: var(--color-primary);
}

.dark-mode .video-wrapper {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .video-play-btn {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  .video-play-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .video-play-btn {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
  }
}


/* ==============================================
   FAQ SECTION
   ============================================== */

.faq-section {
  background: var(--color-bg);
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

body.dark-mode .faq-item {
  background: var(--color-secondary);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-align: right;
  transition: color var(--transition-fast);
}

body.dark-mode .faq-question {
  color: var(--color-white);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question i {
  transition: transform var(--transition-base);
  color: var(--color-accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--color-text-muted);
  line-height: 1.8;
}

body.dark-mode .faq-answer p {
  color: rgba(255, 255, 255, 0.7);
}


/* ==============================================
   MAP SECTION
   ============================================== */

.map-section {
  background: var(--color-bg-alt);
  position: relative;
}

body.dark-mode .map-section {
  background: var(--color-secondary);
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--space-xl);
  border: 3px solid var(--color-accent);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
}

.map-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.map-info-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

body.dark-mode .map-info-item {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-light);
}

.map-info-item:hover {
  transform: translateY(-4px);
}

.map-info-item i {
  font-size: 2rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.map-info-item h4 {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

body.dark-mode .map-info-item h4 {
  color: var(--color-white);
}

.map-info-item p,
.map-info-item a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

body.dark-mode .map-info-item p,
body.dark-mode .map-info-item a {
  color: rgba(255, 255, 255, 0.7);
}

.map-info-item a:hover {
  color: var(--color-accent);
}


/* ==============================================
   RESPONSIVE - NEW SECTIONS
   ============================================== */

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .map-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-item {
    padding: var(--space-lg);
  }
  
  .map-container iframe {
    height: 300px;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: var(--space-md) var(--space-lg);
  }
  
  .faq-answer p {
    padding: 0 var(--space-lg) var(--space-md);
    font-size: 0.95rem;
  }
}


/* ==============================================
   8. GALLERY SECTION
   ============================================== */

.gallery-section {
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-secondary) 55%, #162038 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.gallery-section .section-header h2 {
  color: var(--color-white);
}

.gallery-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.facility-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  direction: ltr !important;
}

.slider-track-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  position: relative;
  width: 100%;
  direction: ltr !important;
}

.slider-track {
  display: flex;
  direction: ltr !important;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  width: 100%;
}

.slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  position: relative;
  direction: ltr !important;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  background: linear-gradient(to top, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.4) 50%, transparent 100%);
  color: var(--color-white);
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .slide-caption {
  direction: ltr;
  text-align: left;
}

.slide-caption h3 {
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
}

.slide-caption p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Slider Buttons ── */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-base);
}

.slider-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-gold);
}

.slider-btn.prev {
  right: -25px;
}

.slider-btn.next {
  left: -25px;
}

/* ── Slider Dots ── */
.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.slider-dot.active {
  background: var(--color-accent);
  width: 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}


/* ==============================================
   9. ROOMS SECTION
   ============================================== */

.rooms-bg {
  background: var(--color-bg);
  position: relative;
}

.rooms-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.room-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
  position: relative;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212, 175, 55, 0.2);
}

.room-img-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  height: 240px;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.room-card:hover .room-img {
  transform: scale(1.08);
}

.room-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.room-info {
  padding: var(--space-lg);
}

.room-info h3 {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.room-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.room-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.room-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.room-features li i {
  color: var(--color-accent);
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

.room-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.room-price .price {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.room-price .period {
  font-size: 0.85rem;
  color: var(--color-text-light);
}


/* ==============================================
   10. AMENITIES SECTION
   ============================================== */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.amenity-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.amenity-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  opacity: 0;
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.15);
}

.amenity-card:hover::before {
  opacity: 1;
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-spring);
}

.icon-wrapper i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.amenity-card:hover .icon-wrapper {
  transform: scale(1.08) rotate(-3deg);
}

.amenity-card h3 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.amenity-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.buffet-note {
  font-style: italic;
  color: var(--color-text-light) !important;
  font-size: 0.88rem !important;
  margin-top: var(--space-sm);
  padding-right: var(--space-md);
  border-right: 2px solid var(--color-accent);
}

.buffet-gallery {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.buffet-gallery img {
  width: calc(33.333% - 6px);
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base);
}

.buffet-gallery img:hover {
  transform: scale(1.05);
}

/* ── Warning Card ── */
.warning-card {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.02));
  border: 1px solid rgba(220, 53, 69, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
}

.warning-card h4 {
  color: #dc3545;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

.alert-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.overlay-slash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 120%;
  height: 2px;
  background: #dc3545;
  pointer-events: none;
}

.overlay-slash::before {
  content: none !important;
}


/* ==============================================
   11. BOOKING SECTION
   ============================================== */

.booking-bg {
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-secondary) 55%, #162038 100%);
  position: relative;
  overflow: hidden;
}

.booking-bg::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.booking-bg .section-header h2 {
  color: var(--color-white);
}

.booking-bg .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.booking-container {
  max-width: 1100px;
  margin: 0 auto;
}

.booking-content {
  width: 100%;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-xl);
  align-items: start;
}

/* ── Form Styles ── */
.main-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.form-row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group-main label {
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.85);
}

.form-group-main .req {
  color: #ff4d4d;
  margin-right: 2px;
}

.form-group-main input,
.form-group-main select,
.form-group-main textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  direction: rtl;
}

.form-group-main input::placeholder,
.form-group-main textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group-main input:focus,
.form-group-main select:focus,
.form-group-main textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
  background: rgba(255, 255, 255, 0.09);
}

/* ── Date Input Custom Placeholder ── */
.date-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.date-placeholder {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1;
}

/* RTL positioning */
html[dir="rtl"] .date-placeholder {
  right: 18px;
  left: auto;
}

/* LTR positioning */
html[dir="ltr"] .date-placeholder {
  left: 18px;
  right: auto;
}

/* Hide native placeholders completely when empty */
input[type="date"]:not(.has-value)::-webkit-datetime-edit,
input[type="date"]:not(.has-value)::-webkit-datetime-edit-fields-wrapper,
input[type="date"]:not(.has-value)::-webkit-datetime-edit-text,
input[type="date"]:not(.has-value)::-webkit-datetime-edit-month-field,
input[type="date"]:not(.has-value)::-webkit-datetime-edit-day-field,
input[type="date"]:not(.has-value)::-webkit-datetime-edit-year-field {
  opacity: 0 !important;
  visibility: hidden !important;
  color: transparent !important;
}

/* Hide custom placeholder ONLY when input has value */
input[type="date"].has-value ~ .date-placeholder {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Custom styling for calendar icon (table grid icon) */
input[type="date"]::-webkit-calendar-picker-indicator {
  transform: scale(1.35);
  cursor: pointer;
  filter: invert(1); /* ensures the icon is highly visible (white) on dark inputs */
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
  z-index: 2;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  transform: scale(1.5);
  opacity: 1;
}

.form-group-main select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4AF37' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
  cursor: pointer;
}

.form-group-main select option {
  background: var(--color-secondary);
  color: var(--color-white);
}

.full-width {
  width: 100%;
}

/* ── Phone Input ── */
.phone-input-group {
  display: flex;
  gap: var(--space-sm);
}

.country-select-wrap {
  flex-shrink: 0;
  width: 130px;
}

.country-select-wrap select {
  width: 100%;
}

.phone-number-input {
  flex: 1;
}

/* ── Payment Methods ── */
.payment-methods {
  margin-top: var(--space-lg);
}

.payment-methods h4 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
}

.payment-options {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.payment-card {
  flex: 1;
  min-width: 140px;
  position: relative;
  cursor: pointer;
}

.payment-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
}

.payment-card label i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.payment-card label span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--font-weight-medium);
}

.payment-card input[type="radio"]:checked + label {
  border-color: var(--color-accent);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.payment-card input[type="radio"]:checked + label i {
  color: var(--color-accent);
}

.payment-card input[type="radio"]:checked + label span {
  color: var(--color-accent);
}

.payment-card label:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Booking Summary ── */
.booking-summary {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: sticky;
  top: 100px;
}

.booking-summary h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.summary-item .label {
  color: rgba(255, 255, 255, 0.6);
}

.summary-item .value {
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

.summary-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: var(--space-md) 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-total .label {
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
}

.total-price {
  font-size: 1.6rem;
  font-weight: var(--font-weight-black);
  color: var(--color-accent);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ── Contact Card ── */
.contact-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact-card h4 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
}

.contact-card p,
.contact-card a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-card a:hover {
  color: var(--color-accent);
}

.contact-card i {
  color: var(--color-accent);
  width: 18px;
  text-align: center;
}

/* ── WhatsApp Button ── */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: var(--space-md);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128C7E, #075E54);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn i {
  font-size: 1.2rem;
}


/* ==============================================
   11.5 MY RESERVATIONS SECTION
   ============================================== */

.reservations-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.reservations-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.reservations-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(11, 19, 43, 0.05) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

/* ── Empty State ── */
.reservations-empty {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.reservations-empty .empty-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent-light), rgba(212, 175, 55, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  animation: emptyPulse 3s ease-in-out infinite;
}

.reservations-empty .empty-icon i {
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.7;
}

@keyframes emptyPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.1); }
  50% { transform: scale(1.05); box-shadow: 0 0 40px 10px rgba(212, 175, 55, 0.08); }
}

.reservations-empty h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.reservations-empty p {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 400px;
  line-height: 1.8;
}

/* ── Reservations List ── */
.reservations-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-xl);
}

/* ── Reservation Card ── */
.reservation-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  position: relative;
  animation: cardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reservation-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212, 175, 55, 0.2);
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reservation-card:nth-child(2) { animation-delay: 0.1s; }
.reservation-card:nth-child(3) { animation-delay: 0.2s; }
.reservation-card:nth-child(4) { animation-delay: 0.3s; }
.reservation-card:nth-child(5) { animation-delay: 0.4s; }
.reservation-card:nth-child(6) { animation-delay: 0.5s; }

/* ── Card Header ── */
.res-card-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.res-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.res-card-header-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
  z-index: 1;
}

.res-card-number {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: var(--font-weight-medium);
  letter-spacing: 1px;
  font-family: monospace;
}

.res-card-room {
  font-size: 1.15rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
}

.res-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.res-status-badge.status-pending {
  background: rgba(249, 160, 63, 0.15);
  color: #F9A03F;
  border: 1px solid rgba(249, 160, 63, 0.3);
}

.res-status-badge.status-confirmed {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.res-status-badge.status-past {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.res-status-badge.status-accepted {
  background: rgba(46, 164, 79, 0.15);
  color: #2ea44f;
  border: 1px solid rgba(46, 164, 79, 0.3);
}

.res-status-badge.status-rejected {
  background: rgba(218, 54, 55, 0.15);
  color: #da3637;
  border: 1px solid rgba(218, 54, 55, 0.3);
}

.res-status-badge i {
  font-size: 0.7rem;
}

/* ── Card Body ── */
.res-card-body {
  padding: var(--space-xl);
}

.res-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.res-detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.res-detail-label {
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.res-detail-value {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

.res-detail-value i {
  color: var(--color-accent);
  margin-left: 6px;
  font-size: 0.85rem;
}

/* ── Card Footer ── */
.res-card-footer {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-sm);
  padding-top: var(--space-lg);
}

.res-total-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.res-total-label {
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
}

.res-total-amount {
  font-size: 1.4rem;
  font-weight: var(--font-weight-black);
  color: var(--color-accent);
  direction: ltr;
  text-align: right;
}

.res-card-actions {
  display: flex;
  gap: var(--space-sm);
}

.res-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  background: transparent;
}

.res-action-btn.btn-delete {
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.15);
}

.res-action-btn.btn-delete:hover {
  background: rgba(220, 53, 69, 0.08);
  border-color: rgba(220, 53, 69, 0.3);
  transform: scale(1.1);
}

.res-action-btn.btn-whatsapp {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.15);
}

.res-action-btn.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.3);
  transform: scale(1.1);
}

.res-action-btn.btn-view {
  color: var(--color-accent);
  border-color: var(--color-accent-light);
}

.res-action-btn.btn-view:hover {
  background: var(--color-accent-light);
  border-color: rgba(212, 175, 55, 0.3);
  transform: scale(1.1);
}

/* ── Clear All Actions ── */
.reservations-actions {
  text-align: center;
  margin-top: var(--space-2xl);
}

.btn-clear-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  background: rgba(220, 53, 69, 0.06);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-clear-all:hover {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.15);
}

/* ── Confirm Delete Modal ── */
.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.confirm-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.confirm-modal-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-2xl);
  animation: invoiceSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.confirm-modal-box .confirm-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background: rgba(220, 53, 69, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.confirm-modal-box .confirm-icon i {
  font-size: 1.8rem;
  color: #dc3545;
}

.confirm-modal-box h3 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.confirm-modal-box p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.confirm-modal-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.confirm-modal-actions .btn-confirm-delete {
  padding: 12px 28px;
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
}

.confirm-modal-actions .btn-confirm-delete:hover {
  background: linear-gradient(135deg, #c82333, #bd2130);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.confirm-modal-actions .btn-confirm-cancel {
  padding: 12px 28px;
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
}

.confirm-modal-actions .btn-confirm-cancel:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-text-light);
}

/* ── Dark Mode Reservations ── */
body.dark-mode .reservations-section {
  background: var(--color-bg);
}

body.dark-mode .reservation-card {
  background: rgba(22, 27, 34, 0.85);
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .reservation-card:hover {
  border-color: rgba(212, 175, 55, 0.15);
}

body.dark-mode .res-detail-value {
  color: var(--color-text);
}

body.dark-mode .res-card-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .reservations-empty h3 {
  color: var(--color-white);
}

body.dark-mode .confirm-modal-box {
  background: #161B22;
}

body.dark-mode .confirm-modal-box h3 {
  color: var(--color-white);
}

body.dark-mode .res-action-btn {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .btn-clear-all {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.2);
}


/* ==============================================
   12. INVOICE MODAL
   ============================================== */

.invoice-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-invoice);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.invoice-modal.active {
  opacity: 1;
  visibility: visible;
}

.invoice-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.invoice-wrapper {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) transparent;
}

.invoice-wrapper::-webkit-scrollbar {
  width: 6px;
}

.invoice-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.invoice-wrapper::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: var(--radius-pill);
}

.invoice-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow: var(--shadow-2xl);
  color: var(--color-text);
  direction: rtl;
  animation: invoiceSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes invoiceSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Invoice Header ── */
.inv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}

.inv-logo-area {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.inv-hotel-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.inv-hotel-name {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.inv-hotel-sub {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
  letter-spacing: 1px;
}

.inv-title-area {
  text-align: left;
}

.inv-title {
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.inv-number {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.inv-date {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

/* ── Invoice Divider ── */
.inv-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover), var(--color-accent));
  border-radius: var(--radius-pill);
  margin: var(--space-lg) 0;
  opacity: 0.6;
}

/* ── Invoice Sections ── */
.inv-section {
  margin-bottom: var(--space-xl);
}

.inv-section-title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.inv-section-title i {
  color: var(--color-accent);
}

.inv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-xl);
}

.inv-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.inv-label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
}

.inv-value {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

/* ── Invoice Table ── */
.inv-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.inv-table thead th {
  background: var(--color-bg);
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-align: right;
  border-bottom: 2px solid var(--color-border);
}

.inv-table tbody td {
  padding: 14px 16px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.inv-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.03);
}

.inv-total-row td {
  font-weight: var(--font-weight-bold);
  background: var(--color-bg) !important;
  border-bottom: 2px solid var(--color-border) !important;
}

.inv-grand-total {
  font-size: 1.4rem !important;
  color: var(--color-accent) !important;
  font-weight: var(--font-weight-black) !important;
}

/* ── Invoice Status ── */
.inv-status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: var(--font-weight-bold);
  background: rgba(255, 193, 7, 0.12);
  color: #e6a800;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.inv-status-badge.confirmed {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border-color: rgba(40, 167, 69, 0.2);
}

.inv-status-badge i {
  font-size: 0.75rem;
}

/* ── Invoice Footer ── */
.inv-footer-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  line-height: 1.7;
}

/* ── Invoice Actions ── */
.inv-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.inv-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.inv-btn-print {
  background: var(--color-primary);
  color: var(--color-white);
}

.inv-btn-print:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.inv-btn-share {
  background: #0088cc;
  color: var(--color-white);
}

.inv-btn-share:hover {
  background: #006699;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.3);
}

.inv-btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
}

.inv-btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.inv-btn-close {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.inv-btn-close:hover {
  background: var(--color-bg-alt);
  transform: translateY(-2px);
}

/* ── Print Styles ── */
@media print {
  body * {
    visibility: hidden;
  }

  .invoice-modal,
  .invoice-modal * {
    visibility: visible !important;
  }

  .invoice-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .invoice-overlay {
    display: none;
  }

  .invoice-wrapper {
    width: 100%;
    max-width: 100%;
    max-height: none;
    overflow: visible;
  }

  .invoice-box {
    box-shadow: none;
    border-radius: 0;
    padding: 20px;
  }

  .inv-actions {
    display: none !important;
  }

  .inv-divider {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .inv-table thead th {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}


/* ==============================================
   13. FOOTER
   ============================================== */

footer {
  background: linear-gradient(180deg, var(--color-primary) 0%, #080e21 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.3;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
}

.footer-logo h2 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin: 0;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  transform: translateX(-4px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.contact-info li i {
  color: var(--color-accent);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.contact-info li a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.contact-info li a:hover {
  color: var(--color-accent);
}

/* ── Footer Bottom ── */
.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-accent-hover);
}


/* ==============================================
   14. BUTTONS
   ============================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: scale(0.97);
}

/* ── Primary Button ── */
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--color-primary);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-lg);
  background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent));
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: var(--shadow-gold);
}

/* ── Outline Button ── */
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-outline:active {
  transform: translateY(-1px) scale(0.98);
}

/* ── Large Button ── */
.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ── Block Button ── */
.btn-block {
  display: flex;
  width: 100%;
}


/* ==============================================
   15. DARK MODE
   ============================================== */

body.dark-mode {
  --color-text: #E0E0E0;
  --color-text-muted: #A0A0A0;
  --color-text-light: #787878;
  --color-bg: #0D1117;
  --color-bg-alt: #161B22;
  --color-border: rgba(255, 255, 255, 0.06);
  --glass-bg-light: rgba(22, 27, 34, 0.8);

  background-color: var(--color-bg);
  color: var(--color-text);
}

body.dark-mode .section-header h2 {
  color: var(--color-white);
}

body.dark-mode .room-card {
  background: rgba(22, 27, 34, 0.85);
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .room-card:hover {
  border-color: rgba(212, 175, 55, 0.15);
}

body.dark-mode .room-info h3 {
  color: var(--color-white);
}

body.dark-mode .room-features {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .amenity-card {
  background: rgba(22, 27, 34, 0.85);
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .amenity-card:hover {
  border-color: rgba(212, 175, 55, 0.15);
}

body.dark-mode .amenity-card h3 {
  color: var(--color-white);
}

body.dark-mode .rooms-bg {
  background: var(--color-bg);
}

body.dark-mode .rooms-bg::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
}

body.dark-mode .warning-card {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(220, 53, 69, 0.03));
  border-color: rgba(220, 53, 69, 0.2);
}

body.dark-mode .invoice-box {
  background: #161B22;
  color: var(--color-text);
}

body.dark-mode .inv-header,
body.dark-mode .inv-hotel-name,
body.dark-mode .inv-title {
  color: var(--color-white);
}

body.dark-mode .inv-section-title {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .inv-value {
  color: var(--color-text);
}

body.dark-mode .inv-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .inv-table tbody td {
  border-bottom-color: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
}

body.dark-mode .inv-total-row td {
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .inv-footer-note {
  border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .inv-btn-close {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode footer {
  background: linear-gradient(180deg, #0D1117 0%, #060a10 100%);
}

body.dark-mode .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.04);
}

/* Smooth dark mode transition on all elements */
body.dark-mode *,
body.dark-mode *::before,
body.dark-mode *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==============================================
   16. UTILITY CLASSES
   ============================================== */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.w-full { width: 100%; }
.hidden { display: none; }


/* ==============================================
   17. RESPONSIVE — TABLET (≤ 1024px)
   ============================================== */

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #0b132b;
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    flex-direction: column;
    padding: 100px var(--space-xl) var(--space-2xl);
    gap: var(--space-lg);
    transition: right var(--transition-luxury);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
    z-index: var(--z-navbar);
    align-items: flex-start;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: var(--space-sm) 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a::after {
    bottom: -1px;
  }

  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: 1100;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide img {
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 400px;
  }

  .slider-btn.prev {
    right: 10px;
  }

  .slider-btn.next {
    left: 10px;
  }

  .inv-header {
    flex-direction: column;
    gap: var(--space-md);
  }

  .inv-title-area {
    text-align: right;
  }

  .reservations-list {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==============================================
   18. RESPONSIVE — MOBILE (≤ 768px)
   ============================================== */

@media (max-width: 768px) {
  .nav-links {
    width: 100%;
  }

  .slider-btn {
    display: none !important;
  }

  /* Fix slider to show one image at a time on mobile */
  .facility-slider {
    max-width: 100%;
    overflow: hidden;
    direction: ltr !important;
  }

  .slider-track-wrap {
    overflow: hidden;
    width: 100%;
    direction: ltr !important;
  }

  .slider-track {
    width: 100%;
    direction: ltr !important;
  }

  .slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    direction: ltr !important;
  }

  .slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }

  .nav-links .btn {
    font-size: 1.35rem !important;
    padding: 14px var(--space-xl) !important;
    font-weight: var(--font-weight-bold);
    text-align: center;
  }

  .section {
    padding: 70px 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: 100vh;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .phone-input-group {
    flex-direction: column;
  }

  .country-select-wrap {
    width: 100%;
  }

  .payment-options {
    flex-direction: column;
  }

  .reservations-list {
    grid-template-columns: 1fr;
  }

  .res-details-grid {
    grid-template-columns: 1fr;
  }

  .res-card-header {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }

  .confirm-modal-actions {
    flex-direction: column;
  }

  .payment-card {
    min-width: auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-col h3::after {
    right: 50%;
    transform: translateX(50%);
  }

  .contact-info li {
    justify-content: center;
  }

  .slide img {
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 300px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-btn.prev {
    right: 10px;
  }

  .slider-btn.next {
    left: 10px;
  }

  .slide-caption {
    padding: var(--space-2xl) var(--space-md) var(--space-md);
  }

  .slide-caption h3 {
    font-size: 1.15rem;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .main-form {
    padding: var(--space-lg);
  }

  .invoice-box {
    padding: var(--space-lg);
  }

  .inv-grid {
    grid-template-columns: 1fr;
  }

  .inv-actions {
    flex-direction: column;
  }

  .inv-actions .inv-btn {
    width: 100%;
    justify-content: center;
  }

  .inv-table {
    font-size: 0.82rem;
  }

  .inv-table thead th,
  .inv-table tbody td {
    padding: 10px 8px;
  }

  .logo-text h1 {
    font-size: 1.05rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .buffet-gallery {
    flex-direction: column;
  }

  .buffet-gallery img {
    width: 100%;
    height: 140px;
  }
}


/* ==============================================
   19. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================== */

@media (max-width: 480px) {
  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero-title {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content .stars i {
    font-size: 0.9rem;
  }

  .room-card {
    border-radius: var(--radius-lg);
  }

  .room-img-container {
    height: 200px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .room-features {
    grid-template-columns: 1fr;
  }

  .room-info {
    padding: var(--space-md);
  }

  .room-info h3 {
    font-size: 1.15rem;
  }

  .amenity-card {
    padding: var(--space-lg);
  }

  .icon-wrapper {
    width: 52px;
    height: 52px;
  }

  .icon-wrapper i {
    font-size: 1.25rem;
  }

  .slide img {
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 250px;
  }

  .main-form {
    padding: var(--space-md);
  }

  .form-group-main input,
  .form-group-main select,
  .form-group-main textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .booking-summary {
    padding: var(--space-lg);
  }

  .total-price {
    font-size: 1.3rem;
  }

  .invoice-wrapper {
    width: 95%;
  }

  .invoice-box {
    padding: var(--space-md);
  }

  .inv-hotel-icon {
    width: 44px;
    height: 44px;
  }

  .inv-hotel-name {
    font-size: 1.1rem;
  }

  .inv-title {
    font-size: 1.1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.88rem;
  }

  .btn-large {
    padding: 14px 30px;
    font-size: 0.95rem;
  }

  .nav-content {
    padding: 0 var(--space-md);
  }

  .logo-text h1 {
    font-size: 0.95rem;
  }

  .logo-text span {
    font-size: 0.6rem;
  }

  .dark-mode-toggle {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer-col h3 {
    font-size: 1rem;
  }
}


/* ==============================================
   20. SCROLLBAR STYLING
   ============================================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-hover));
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-hover);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-bg);
}


/* ==============================================
   21. ACCESSIBILITY & PERFORMANCE
   ============================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up {
    opacity: 1;
    transform: none;
  }

  .animate-text {
    opacity: 1;
    transform: none;
  }

  .hero::before {
    transform: none;
  }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-primary);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: var(--font-weight-bold);
  z-index: calc(var(--z-loading) + 1);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}
