/* ============================================
   EL REDUCTO — La Mamounia Luxury Edition
   A Historic Riad in the Heart of Tétouan
   Inspired by the Palace of Marrakech
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@200;300;400;500&family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Pinyon+Script&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette — Deep Moroccan Garden Green */
  --midnight:       #0a1628;
  --midnight-light: #132240;
  --deep-blue:      #132e1c;
  --royal-blue:     #1a4028;

  /* Gold Spectrum — Warmer, Softer, Palace Gold */
  --gold:           #b8a472;
  --gold-light:     #c9b68a;
  --gold-dark:      #9e8a5a;
  --gold-muted:     rgba(184, 164, 114, 0.12);
  --gold-glow:      rgba(184, 164, 114, 0.3);

  /* Neutrals — Softer, Warmer */
  --cream:          #ede8df;
  --cream-dark:     #ddd5c8;
  --warm-white:     #f5f2ed;
  --ivory:          #faf7f2;
  --stone:          #8a8474;
  --charcoal:       #2a2a28;
  --jet:            #141412;

  /* Accent Colors */
  --terracotta:     #b86b4a;
  --emerald:        #2d6a4f;
  --zellige-blue:   #2e6b8a;
  --stained-glass:  #7a4420;

  /* Functional — Green-tinted overlays */
  --overlay-dark:   rgba(8, 15, 10, 0.75);
  --overlay-deeper: rgba(8, 15, 10, 0.9);
  --overlay-light:  rgba(255, 255, 255, 0.05);

  /* Typography Scale */
  --font-display:   'Playfair Display', serif;
  --font-elegant:   'Cormorant Garamond', serif;
  --font-body:      'Inter', sans-serif;
  --font-arabic:    'Noto Naskh Arabic', serif;

  /* Fluid Type Sizes — Slightly larger for luxury spacing */
  --text-xs:    clamp(0.65rem, 0.6rem + 0.25vw, 0.75rem);
  --text-sm:    clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
  --text-base:  clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --text-md:    clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  --text-lg:    clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --text-xl:    clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --text-2xl:   clamp(1.8rem, 1.5rem + 1.5vw, 2.8rem);
  --text-3xl:   clamp(2.4rem, 2rem + 2vw, 4rem);
  --text-4xl:   clamp(3rem, 2.4rem + 3vw, 5.5rem);
  --text-hero:  clamp(3.5rem, 2.8rem + 4vw, 7.5rem);

  /* Spacing Scale — Increased for luxury whitespace */
  --space-xs:   clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
  --space-sm:   clamp(1rem, 0.8rem + 0.75vw, 1.5rem);
  --space-md:   clamp(2rem, 1.5rem + 1.5vw, 3rem);
  --space-lg:   clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  --space-xl:   clamp(6rem, 4.5rem + 5vw, 10rem);
  --space-2xl:  clamp(8rem, 6rem + 8vw, 16rem);

  /* Layout */
  --container-max: 1300px;
  --container-narrow: 800px;
  --header-height: 100px;

  /* Transitions — Slower, more cinematic */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-reveal: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-palace: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast: 0.4s;
  --duration-normal: 0.8s;
  --duration-slow: 1.4s;
  --duration-slower: 2s;
  --duration-luxe: 1.8s;
  --duration-cinematic: 2.4s;

  /* Borders & Radius */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  /* Shadows — Softer, more diffused */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 50px rgba(0,0,0,0.18);
  --shadow-gold: 0 0 40px rgba(184, 164, 114, 0.1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 200;
  color: var(--cream);
  background-color: var(--midnight);
  line-height: 1.8;
  font-size: var(--text-base);
  overflow-x: hidden;
  letter-spacing: 0.02em;
  cursor: none;
}

/* Custom luxury cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transition: transform 0.15s var(--ease-luxury);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184, 164, 114, 0.4);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-luxury), width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.hovering {
  width: 50px;
  height: 50px;
  border-color: var(--gold);
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-in-out);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--gold);
  color: var(--midnight);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--midnight);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-stone { color: var(--stone); }

/* ---------- Typography ---------- */
.heading-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.05;
}

.heading-elegant {
  font-family: var(--font-elegant);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.text-body {
  font-family: var(--font-body);
  font-weight: 200;
  line-height: 2;
  letter-spacing: 0.03em;
}

.text-label {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: var(--text-xs);
  color: var(--gold);
}

/* ---------- Decorative Elements ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: var(--space-md) 0;
}

.ornament::before,
.ornament::after {
  content: '';
  width: 40px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.4;
}

.ornament-icon {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  border: none;
  transform: none;
  flex-shrink: 0;
  opacity: 0.6;
}

.divider-gold {
  width: 50px;
  height: 0.5px;
  background: var(--gold);
  margin: var(--space-md) auto;
  position: relative;
  opacity: 0.5;
}

.divider-gold::after {
  display: none;
}

/* Section Subtitle */
.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  font-size: var(--text-xs);
  color: var(--gold);
  margin-bottom: var(--space-sm);
  opacity: 0.85;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: var(--space-md);
  letter-spacing: 0.06em;
}

.section-description {
  font-family: var(--font-elegant);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--stone);
  max-width: 560px;
  margin: 0 auto;
  line-height: 2;
  letter-spacing: 0.02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.15rem 3rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  transition: all var(--duration-slow) var(--ease-luxury);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: transparent;
  color: var(--gold);
  border: 0.5px solid var(--gold);
}

.btn--primary:hover {
  background: var(--gold);
  color: var(--midnight);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 0.5px solid rgba(184, 164, 114, 0.5);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--cream);
  transform: none;
}

.btn--outline-white {
  background: transparent;
  color: rgba(237, 232, 223, 0.7);
  border: 0.5px solid rgba(255,255,255,0.2);
}

.btn--outline-white:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--cream);
}

.btn--dark {
  background: var(--midnight);
  color: var(--gold);
  border: 1px solid var(--midnight);
}

.btn--dark:hover {
  background: var(--midnight-light);
  border-color: var(--gold);
}

/* Button Arrow animation */
.btn .btn-arrow {
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- HEADER & NAVIGATION ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out-expo);
  padding: 0 var(--space-md);
}

.site-header--transparent {
  background: transparent;
}

.site-header--scrolled {
  background: rgba(8, 15, 10, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: none;
  border-bottom: 0.5px solid rgba(184, 164, 114, 0.08);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  z-index: 1001;
}

.logo-name {
  font-family: var(--font-elegant);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.7;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(237, 232, 223, 0.7);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--duration-normal) var(--ease-luxury);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0.5px;
  background: var(--gold);
  transition: width var(--duration-slow) var(--ease-luxury), left var(--duration-slow) var(--ease-luxury);
  opacity: 0.6;
}

.nav-link:hover {
  color: var(--cream);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-book-btn {
  padding: 0.55rem 1.6rem;
  font-size: 0.55rem;
  font-weight: 300;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.lang-switcher a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color var(--duration-fast) ease;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--gold);
}

.lang-switcher span {
  color: var(--stone);
  font-size: 0.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--cream);
  transition: all var(--duration-fast) var(--ease-out-expo);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 850px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroKenBurns1 35s ease-in-out infinite alternate;
  filter: saturate(0.8) brightness(0.9);
}

/* Ken Burns variants with different transform origins per slide */
.hero-slide:nth-child(1) img {
  transform-origin: center center;
  animation-name: heroKenBurns1;
}

.hero-slide:nth-child(2) img {
  transform-origin: left center;
  animation-name: heroKenBurns2;
}

.hero-slide:nth-child(3) img {
  transform-origin: right top;
  animation-name: heroKenBurns3;
}

.hero-slide:nth-child(4) img {
  transform-origin: center top;
  animation-name: heroKenBurns1;
}

/* Clip-path image reveal on initial load */
.hero-slide.active img {
  animation: heroKenBurns1 25s ease-in-out infinite alternate,
             heroImageReveal 2s var(--ease-reveal) forwards;
}

@keyframes heroKenBurns1 {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.12); }
}

@keyframes heroKenBurns2 {
  0% { transform: scale(1.02) translateX(0); }
  100% { transform: scale(1.12) translateX(2%); }
}

@keyframes heroKenBurns3 {
  0% { transform: scale(1.0) translateY(0); }
  100% { transform: scale(1.1) translateY(2%); }
}

@keyframes heroImageReveal {
  0% { clip-path: inset(0 0 100% 0); }
  100% { clip-path: inset(0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 15, 10, 0.5) 0%,
    rgba(8, 15, 10, 0.25) 30%,
    rgba(8, 15, 10, 0.3) 60%,
    rgba(8, 15, 10, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-md);
  padding-top: calc(var(--header-height) * 2);
  max-width: 900px;
}

.hero-label {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  animation: heroLabelReveal 2s var(--ease-luxury) 1s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 3vw, 5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: 0.04em;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(50px);
  filter: blur(8px);
  animation: heroTitleReveal 2.4s var(--ease-luxury) 1.6s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: var(--space-sm) auto;
  transform: scaleX(0);
  transform-origin: center;
  animation: goldenSweep 1.4s var(--ease-luxury) 1.4s forwards;
}

.hero-subtitle {
  font-family: var(--font-elegant);
  font-size: var(--text-xl);
  font-weight: 300;
  color: rgba(237, 232, 223, 0.6);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  animation: heroSubtitleReveal 2s var(--ease-luxury) 2.2s forwards;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  animation: heroCtaReveal 1.8s var(--ease-luxury) 2.8s forwards;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: heroScrollReveal 1s var(--ease-out-expo) 2s forwards;
}

@keyframes heroScrollReveal {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero-scroll span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero element reveal keyframes — Palace cinematic style */
@keyframes heroLabelReveal {
  0% { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  60% { filter: blur(1px); }
  100% { opacity: 0.85; transform: translateY(0); filter: blur(0); }
}

@keyframes heroTitleReveal {
  0% { opacity: 0; transform: translateY(50px); filter: blur(8px); }
  50% { filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes heroSubtitleReveal {
  0% { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  60% { filter: blur(1px); }
  100% { opacity: 0.6; transform: translateY(0); filter: blur(0); }
}

@keyframes heroCtaReveal {
  0% { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes goldenSweep {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes clipRevealUp {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0); }
}

@keyframes clipRevealLeft {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

@keyframes softFocus {
  from { filter: blur(8px); opacity: 0; }
  to { filter: blur(0); opacity: 1; }
}

/* Image reveal for JS-driven scroll animation */
.room-detail-image img,
.experience-image img,
.gallery-masonry-item img {
  clip-path: inset(6% 0 6% 0);
  transition: clip-path 2s cubic-bezier(0.65, 0, 0.35, 1),
              filter 2.4s cubic-bezier(0.19, 1, 0.22, 1);
  filter: saturate(0.6) brightness(0.92);
}

.room-detail-image img.revealed,
.experience-image img.revealed,
.gallery-masonry-item img.revealed {
  clip-path: inset(0);
  filter: saturate(0.85) brightness(1);
}

/* Subtle desaturate → warm color on image hover */
.room-card-image img,
.gallery-item img,
.gallery-masonry-item img,
.intro-image img {
  transition: transform 2s var(--ease-luxury), filter 1.4s ease;
  filter: saturate(0.75) brightness(0.95);
}

.room-card:hover .room-card-image img,
.gallery-item:hover img,
.gallery-masonry-item:hover img,
.intro-image:hover img {
  filter: saturate(0.9) brightness(1);
  transform: scale(1.015);
}

/* Lightbox zoom-in animation */
.lightbox.lightbox-zoom-in #lightboxImg {
  animation: lightboxZoomIn 0.6s var(--ease-luxury) forwards;
}

@keyframes lightboxZoomIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- INTRO / WELCOME SECTION ---------- */
.intro-section {
  padding: var(--space-2xl) 0;
  position: relative;
  background: var(--midnight);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.intro-image {
  position: relative;
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.intro-image:hover img {
  transform: scale(1.03);
}

.intro-image-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: none;
  pointer-events: none;
  display: none;
}

.intro-text {
  padding: var(--space-md);
}

.intro-text .section-subtitle {
  margin-bottom: var(--space-xs);
}

.intro-text .section-title {
  margin-bottom: var(--space-sm);
}

.intro-text p {
  font-family: var(--font-elegant);
  font-size: var(--text-md);
  color: var(--stone);
  line-height: 2.2;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.intro-text .btn {
  margin-top: var(--space-sm);
}

/* Year Badge */
.year-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
  padding: 0.5rem 0;
}

.year-badge-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}

.year-badge-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--stone);
  line-height: 1.4;
}

/* ---------- ROOMS SECTION ---------- */
.rooms-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--midnight-light) 50%, var(--midnight) 100%);
  position: relative;
}

.rooms-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.room-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  group: room;
}

.room-card-image {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.room-card:hover .room-card-image img {
  transform: scale(1.03);
}

.room-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 15, 10, 0.9) 0%,
    rgba(8, 15, 10, 0.3) 40%,
    transparent 100%
  );
  transition: background var(--duration-normal) ease;
}

.room-card:hover .room-card-overlay {
  background: linear-gradient(
    to top,
    rgba(8, 15, 10, 0.95) 0%,
    rgba(8, 15, 10, 0.5) 50%,
    rgba(8, 15, 10, 0.3) 100%
  );
}

.room-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  transform: translateY(20px);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.room-card:hover .room-card-content {
  transform: translateY(0);
}

.room-card-name {
  font-family: var(--font-elegant);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.room-card-desc {
  font-family: var(--font-elegant);
  font-size: var(--text-base);
  color: var(--stone);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out-expo) 0.1s;
}

.room-card:hover .room-card-desc {
  opacity: 1;
  transform: translateY(0);
}

.room-card-link {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 300;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out-expo) 0.2s;
}

.room-card:hover .room-card-link {
  opacity: 1;
  transform: translateY(0);
}

.room-card-link svg {
  transition: transform var(--duration-fast) ease;
}

.room-card-link:hover svg {
  transform: translateX(4px);
}

/* ---------- EXPERIENCES SECTION ---------- */
.experiences-section {
  padding: var(--space-2xl) 0;
  background: var(--midnight);
  position: relative;
}

.experience-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0;
}

.experience-row:nth-child(even) {
  direction: rtl;
}

.experience-row:nth-child(even) > * {
  direction: ltr;
}

.experience-image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.experience-row:hover .experience-image img {
  transform: scale(1.02);
}

.experience-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  background: var(--midnight-light);
}

.experience-content .section-subtitle {
  margin-bottom: var(--space-xs);
}

.experience-content .section-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.experience-content p {
  font-family: var(--font-elegant);
  font-size: var(--text-md);
  color: var(--stone);
  line-height: 1.9;
  margin-bottom: var(--space-sm);
}

/* ---------- GALLERY SECTION ---------- */
.gallery-section {
  padding: var(--space-2xl) 0;
  background: var(--midnight);
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 4px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 10, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-normal) ease;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(8, 15, 10, 0.4);
}

.gallery-item-overlay svg {
  width: 40px;
  height: 40px;
  color: var(--cream);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* ---------- TESTIMONIAL SECTION ---------- */
.testimonials-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--midnight-light) 0%, var(--deep-blue) 100%);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
}

.testimonial-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-family: var(--font-elegant);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  position: relative;
  letter-spacing: 0.02em;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-elegant);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
}

.testimonial-source {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--stone);
  margin-top: 0.25rem;
}

/* Stars */
.stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--space-sm);
}

.stars svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* ---------- LOCATION SECTION ---------- */
.location-section {
  padding: var(--space-2xl) 0;
  background: var(--midnight);
  position: relative;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.location-map {
  height: 500px;
  border: none;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) contrast(1.05) brightness(0.8);
}

.location-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-detail-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail-item h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.location-detail-item p {
  font-family: var(--font-elegant);
  font-size: var(--text-base);
  color: var(--stone);
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--jet);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(184, 164, 114, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-name {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.footer-brand .logo-tagline {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-family: var(--font-elegant);
  font-size: var(--text-base);
  color: var(--stone);
  line-height: 1.8;
  max-width: 300px;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--stone);
  transition: color var(--duration-fast) ease;
}

.footer-column ul li a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  background: var(--gold-muted);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  color: var(--stone);
  transition: color var(--duration-fast) ease;
}

.footer-social a:hover svg {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--stone);
  letter-spacing: 0.05em;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: var(--text-xs);
  color: var(--stone);
  transition: color var(--duration-fast) ease;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  filter: blur(6px);
  transition: opacity var(--duration-cinematic) var(--ease-luxury),
              transform var(--duration-cinematic) var(--ease-luxury),
              filter var(--duration-cinematic) var(--ease-luxury);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  filter: blur(6px);
  transition: opacity var(--duration-cinematic) var(--ease-luxury),
              transform var(--duration-cinematic) var(--ease-luxury),
              filter var(--duration-cinematic) var(--ease-luxury);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  filter: blur(6px);
  transition: opacity var(--duration-cinematic) var(--ease-luxury),
              transform var(--duration-cinematic) var(--ease-luxury),
              filter var(--duration-cinematic) var(--ease-luxury);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  filter: blur(6px);
  transition: opacity var(--duration-cinematic) var(--ease-luxury),
              transform var(--duration-cinematic) var(--ease-luxury),
              filter var(--duration-cinematic) var(--ease-luxury);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Clip-path reveal variant */
.reveal-clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path var(--duration-cinematic) var(--ease-reveal);
}

.reveal-clip.visible {
  clip-path: inset(0);
}

.reveal-clip-left {
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--duration-cinematic) var(--ease-reveal);
}

.reveal-clip-left.visible {
  clip-path: inset(0);
}

/* Stagger children — slower, more deliberate */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.8s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 1.1s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 1.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 1.7s; }

/* ---------- LOADING / PAGE TRANSITION ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

/* Curtain split — top half */
.page-loader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--midnight);
  z-index: 1;
  transform-origin: top center;
  transition: transform 1.8s var(--ease-luxury) 0.4s;
}

/* Curtain split — bottom half */
.page-loader::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--midnight);
  z-index: 1;
  transform-origin: bottom center;
  transition: transform 1.8s var(--ease-luxury) 0.4s;
}

.page-loader.loaded::before {
  transform: translateY(-100%);
}

.page-loader.loaded::after {
  transform: translateY(100%);
}

.page-loader.loaded {
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 2.8s;
}

.loader-logo {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.loader-bar {
  width: 120px;
  height: 0.5px;
  background: rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loadBar 3.5s var(--ease-palace) forwards;
}

/* Golden center line that expands on load */
.page-loader .loader-bar::before {
  content: '';
  position: absolute;
  top: -0.5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: goldenExpand 1.6s var(--ease-luxury) 2s forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Animated SVG Logo — Tétouan Scalloped Door */
.logo-svg {
  width: 380px;
  max-width: 85vw;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Outer door frame (straight pillars + base) */
.logo-door-frame {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawDoor 2.8s var(--ease-palace) 0.2s forwards;
}

/* Scalloped/lambrequin arch — the signature Tétouan shape */
.logo-door-scallop {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawDoor 3s var(--ease-palace) 0.5s forwards;
}

/* Inner scalloped arch (lighter, smaller) */
.logo-door-inner {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawDoor 2.6s var(--ease-palace) 1s forwards;
}

/* Decorative keystone / finial at top */
.logo-door-keystone {
  opacity: 0;
  animation: fadeIn 1.2s ease 2s forwards;
}

/* Small ornamental details inside arch */
.logo-door-ornament {
  opacity: 0;
  animation: fadeIn 1s ease 2.2s forwards;
}

/* Script title — "El Reducto" in carte visite style */
.logo-title {
  opacity: 0;
  animation: scriptReveal 2s var(--ease-luxury) 2.4s forwards;
}

/* Subtitle text */
.logo-subtitle {
  opacity: 0;
  animation: fadeIn 1.2s ease 3.2s forwards;
}

/* Thin decorative lines flanking subtitle */
.logo-flank-line {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawDoor 1s ease 3s forwards;
}

@keyframes drawDoor {
  to { stroke-dashoffset: 0; }
}

@keyframes scriptReveal {
  0% { opacity: 0; filter: blur(4px); transform: translateY(5px); }
  60% { opacity: 0.7; filter: blur(1px); transform: translateY(1px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes logoTextReveal {
  0% { opacity: 0; letter-spacing: 16px; filter: blur(3px); }
  100% { opacity: 1; letter-spacing: 8px; filter: blur(0); }
}

@keyframes loaderTextReveal {
  0% {
    opacity: 0;
    letter-spacing: 0.5em;
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    letter-spacing: 0.25em;
    filter: blur(0);
  }
}

@keyframes goldenExpand {
  0% { transform: translateX(-50%) scaleX(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(-50%) scaleX(1); opacity: 0; }
}

/* ---------- PARALLAX BANNER ---------- */
.parallax-banner {
  height: 50vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0);
}

.parallax-banner .hero-overlay {
  z-index: 1;
}

.parallax-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: var(--space-2xl) 0;
  background: var(--midnight);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(184, 164, 114, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner .section-title {
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  font-family: var(--font-elegant);
  font-size: var(--text-lg);
  color: var(--stone);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

/* ---------- MOBILE MENU OVERLAY ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--overlay-deeper);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .nav-link {
  font-size: var(--text-xl);
  letter-spacing: 0.15em;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}

.lightbox-close:hover {
  color: var(--gold);
}

/* ============================================
   INNER PAGES — Page Hero, Room Details, etc.
   ============================================ */

/* ---------- PAGE HERO BANNER (Inner Pages) ---------- */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s ease-in-out;
}

.page-hero .hero-slide.active {
  opacity: 1;
}

.page-hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-md);
  padding-top: calc(var(--header-height) * 2);
  max-width: 800px;
}

.page-hero-content .hero-title {
  font-size: clamp(2.2rem, 1.8rem + 2.5vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- ROOMS INTRO SECTION ---------- */
.rooms-intro-section {
  padding: var(--space-xl) 0;
  background: var(--midnight);
  position: relative;
}

.rooms-intro-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
}

.rooms-intro-text {
  font-family: var(--font-elegant);
  font-size: var(--text-lg);
  color: var(--stone);
  line-height: 2;
  max-width: 750px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.rooms-intro-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.rooms-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--gold-muted);
  background: rgba(201, 168, 76, 0.03);
  transition: all var(--duration-fast) ease;
}

.rooms-feature:hover {
  border-color: var(--gold);
  background: var(--gold-muted);
}

.rooms-feature svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.rooms-feature span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream);
}

/* ---------- ROOM DETAIL SHOWCASE ---------- */
.rooms-showcase {
  background: var(--midnight);
  position: relative;
}

.room-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.room-detail:nth-child(even) {
  background: var(--midnight-light);
}

.room-detail--reverse {
  direction: rtl;
}

.room-detail--reverse > * {
  direction: ltr;
}

.room-detail-image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.room-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out-expo);
}

.room-detail:hover .room-detail-image img {
  transform: scale(1.02);
}

.room-detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
}

.room-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 5vw, 8rem);
  font-weight: 400;
  color: var(--gold-muted);
  line-height: 1;
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  opacity: 0.4;
  user-select: none;
  pointer-events: none;
}

.room-detail--reverse .room-number {
  right: auto;
  left: var(--space-md);
}

.room-detail-name {
  font-family: var(--font-elegant);
  font-size: var(--text-2xl);
  color: var(--cream);
  font-weight: 300;
  margin-bottom: var(--space-sm);
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.room-detail-desc {
  font-family: var(--font-elegant);
  font-size: var(--text-md);
  color: var(--stone);
  line-height: 1.9;
  margin-bottom: var(--space-md);
  max-width: 500px;
}

.room-detail-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.room-detail-amenities span {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  border: 0.5px solid rgba(184, 164, 114, 0.25);
  background: transparent;
}

/* ---------- ROOM DETAIL META (beds, size, breakfast) ---------- */
.room-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(184, 164, 114, 0.12);
}

.room-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--stone);
}

.room-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.85;
}

.room-meta-item--breakfast {
  color: var(--gold);
  font-weight: 400;
}

.room-meta-size {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border: 0.5px solid rgba(184, 164, 114, 0.2);
  background: rgba(184, 164, 114, 0.04);
}

/* ---------- ROOM EQUIPMENT SECTION ---------- */
.room-equipment {
  margin-bottom: var(--space-md);
}

.room-equipment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--duration-fast) ease;
}

.room-equipment-toggle:hover {
  color: var(--cream);
}

.room-equipment-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform var(--duration-fast) ease;
}

.room-equipment-toggle.active svg {
  transform: rotate(180deg);
}

.room-equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              margin 0.4s ease;
  opacity: 0;
  margin-top: 0;
}

.room-equipment-grid.expanded {
  max-height: 600px;
  opacity: 1;
  margin-top: 0.75rem;
}

.room-equip-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.room-equip-item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Accessible badge */
.room-accessible-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  margin-bottom: var(--space-sm);
  border: 1px solid rgba(184, 164, 114, 0.3);
  background: rgba(184, 164, 114, 0.06);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

/* Mobile adjustments for room detail meta */
@media (max-width: 1024px) {
  .room-equipment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .room-detail-meta {
    gap: 0.4rem 0.8rem;
  }
  .room-meta-item {
    font-size: 0.6rem;
  }
}

/* ---------- BATHROOMS SECTION ---------- */
.bathrooms-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--midnight-light) 0%, var(--midnight) 100%);
}

.bathroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.bathroom-card {
  position: relative;
  overflow: hidden;
  height: 500px;
}

.bathroom-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.bathroom-card:hover img {
  transform: scale(1.02);
}

/* ---------- POLICIES SECTION ---------- */
.policies-section {
  padding: var(--space-2xl) 0;
  background: var(--midnight);
  position: relative;
}

.policies-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.policy-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.policy-card:hover {
  border-color: var(--gold-muted);
  background: rgba(201, 168, 76, 0.03);
  transform: translateY(-4px);
}

.policy-card svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.policy-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--cream);
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.policy-card p {
  font-family: var(--font-elegant);
  font-size: var(--text-sm);
  color: var(--stone);
  line-height: 1.8;
}

.policy-card strong {
  color: var(--gold);
  font-weight: 500;
}

/* ---------- RESTAURANT PAGE ---------- */
.dining-ambiance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding: var(--space-xl) 0;
  background: var(--midnight);
}

.dining-ambiance-img {
  position: relative;
  overflow: hidden;
  height: 450px;
}

.dining-ambiance-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.dining-ambiance-img:hover img {
  transform: scale(1.05);
}

.dining-ambiance-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-lg);
  background: var(--midnight);
}

.menu-section {
  padding: var(--space-2xl) 0;
  background: var(--midnight-light);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.menu-category {
  padding: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.menu-category h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--gold);
  font-weight: 400;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--gold-muted);
}

.menu-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.menu-item-name {
  font-family: var(--font-elegant);
  font-size: var(--text-md);
  color: var(--cream);
  font-style: italic;
}

.menu-item-price {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--gold);
  letter-spacing: 0.05em;
}

.menu-item-desc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- HISTORY / TIMELINE PAGE ---------- */
.timeline-section {
  padding: var(--space-2xl) 0;
  background: var(--midnight);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-muted), var(--gold-muted), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
  align-items: center;
}

.timeline-item--reverse {
  direction: rtl;
}

.timeline-item--reverse > * {
  direction: ltr;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
  background: var(--midnight);
  z-index: 2;
}

.timeline-year {
  position: absolute;
  left: 50%;
  top: calc(50% - 30px);
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--gold);
  letter-spacing: 0.2em;
  white-space: nowrap;
  z-index: 2;
}

.timeline-image {
  overflow: hidden;
  height: 350px;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.timeline-image:hover img {
  transform: scale(1.05);
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--cream);
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.timeline-content p {
  font-family: var(--font-elegant);
  font-size: var(--text-md);
  color: var(--stone);
  line-height: 1.9;
}

/* ---------- GALLERY PAGE — MASONRY ---------- */
.gallery-page-section {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--midnight);
}

.gallery-masonry {
  columns: 3;
  column-gap: var(--space-sm);
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.gallery-masonry-item:hover img {
  transform: scale(1.02);
}

.gallery-masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  pointer-events: none;
}

.gallery-masonry-item:hover::after {
  opacity: 1;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.gallery-filter-btn {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--stone);
  background: none;
  border: 0.5px solid rgba(255,255,255,0.08);
  padding: 0.7rem 1.8rem;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-luxury);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  color: var(--cream);
  border-color: rgba(184, 164, 114, 0.4);
  background: transparent;
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
  padding: var(--space-2xl) 0;
  background: var(--midnight);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 0.5px solid rgba(255,255,255,0.04);
  background: transparent;
  transition: all var(--duration-slow) var(--ease-luxury);
}

.contact-info-card:hover {
  border-color: rgba(184, 164, 114, 0.15);
  background: rgba(184, 164, 114, 0.02);
}

.contact-info-card svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info-card h4 {
  font-family: var(--font-elegant);
  font-size: var(--text-md);
  color: var(--cream);
  font-weight: 300;
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.contact-info-card p,
.contact-info-card a {
  font-family: var(--font-elegant);
  font-size: var(--text-sm);
  color: var(--stone);
  line-height: 1.8;
}

.contact-info-card a:hover {
  color: var(--gold);
}

.contact-form {
  padding: var(--space-lg);
  border: 0.5px solid rgba(255,255,255,0.04);
  background: transparent;
}

.contact-form h3 {
  font-family: var(--font-elegant);
  font-size: var(--text-xl);
  color: var(--cream);
  font-weight: 300;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.06em;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: var(--font-elegant);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--cream);
  background: transparent;
  border: 0.5px solid rgba(255,255,255,0.08);
  transition: border-color var(--duration-normal) var(--ease-luxury);
  outline: none;
  letter-spacing: 0.02em;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(184, 164, 114, 0.5);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-map {
  margin-top: var(--space-xl);
  height: 400px;
  position: relative;
  overflow: hidden;
  border: none;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) contrast(1.05) brightness(0.8);
}

/* ---------- CTA BANNER (Inner Pages) ---------- */
.cta-banner {
  padding: var(--space-2xl) 0;
  background: var(--midnight);
  text-align: center;
  position: relative;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  left: 15%;
  right: 15%;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(184, 164, 114, 0.2), transparent);
}

.cta-banner::before { top: 0; }
.cta-banner::after { bottom: 0; }

.cta-banner .section-title {
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  font-family: var(--font-elegant);
  font-size: var(--text-md);
  color: var(--stone);
  margin-bottom: var(--space-lg);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}

/* ---------- PARALLAX BANNER (Inner Pages) ---------- */
.parallax-banner {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.parallax-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-md);
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1024px) {
  .nav-main {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .intro-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-row {
    grid-template-columns: 1fr;
  }
  
  .experience-image {
    min-height: 350px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 250px);
  }
  
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  /* Inner pages responsive — 1024 */
  .room-detail {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .room-detail--reverse {
    direction: ltr;
  }
  
  .room-detail-image {
    min-height: 400px;
  }
  
  .room-detail-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .room-number {
    font-size: 5rem;
    top: var(--space-sm);
    right: var(--space-sm);
  }
  
  .room-detail--reverse .room-number {
    right: var(--space-sm);
    left: auto;
  }
  
  .bathroom-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .bathroom-card {
    height: 350px;
  }
  
  .policies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-hero {
    height: 70vh;
    min-height: 750px;
  }
  
  /* History page */
  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .timeline-item--reverse {
    direction: ltr;
  }
  
  /* Gallery page */
  .gallery-masonry {
    columns: 2;
  }
  
  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  /* Restaurant page */
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .rooms-grid {
    grid-template-columns: 1fr;
  }
  
  .room-card-image {
    height: 350px;
  }
  
  .room-card-desc,
  .room-card-link {
    opacity: 1;
    transform: none;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  
  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }
  
  .intro-image img {
    height: 400px;
  }
  
  .intro-image-frame {
    display: none;
  }
  
  .experience-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  /* Inner pages responsive — 768 */
  .room-detail-image {
    min-height: 300px;
  }
  
  .bathroom-grid {
    grid-template-columns: 1fr;
  }
  
  .bathroom-card {
    height: 300px;
  }
  
  .policies-grid {
    grid-template-columns: 1fr;
  }
  
  .page-hero-content .hero-title {
    font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
  }
  
  .rooms-intro-features {
    gap: var(--space-xs);
  }
  
  .gallery-masonry {
    columns: 1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
  }
  
  .hero-subtitle {
    font-size: var(--text-md);
  }
  
  .location-map {
    height: 300px;
  }
}

/* ---------- PREFERS REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-slide img {
    animation: none;
    transform: none;
  }
  
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   ============ MOBILE OPTIMIZATIONS (added) ===============
   ========================================================= */

/* === Global: prevent horizontal scroll === */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* === Touch targets: ensure 44px minimum === */
.btn, .nav-link, .menu-toggle, .lang-switcher a,
.room-card-link, .footer-social a, .footer-column a,
.btn--primary, .btn--outline, .btn--outline-white {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.menu-toggle {
  min-width: 44px;
}

/* === TABLET (≤1024px) === */
@media (max-width: 1024px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .nav-main { gap: 1rem; }
  .nav-main .nav-link { font-size: 0.85rem; }
  .hero-title { font-size: clamp(2.4rem, 5vw, 4rem); }
  .section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .experience-row { gap: 2rem; }
  .location-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* === MOBILE LANDSCAPE / TABLET PORTRAIT (≤768px) === */
@media (max-width: 768px) {
  .container { padding-left: 1rem; padding-right: 1rem; }

  /* Header: hide desktop nav, show hamburger */
  .nav-main { display: none; }
  .menu-toggle { display: flex; }

  /* Logo: smaller cursive on mobile */
  .site-header .logo-name,
  .footer-brand .logo-name {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }
  .site-header .logo-tagline { font-size: 0.65rem; }

  /* Hero text: scale down */
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.15; }
  .hero-subtitle { font-size: 0.95rem; padding: 0 1rem; }
  .hero-label { font-size: 0.7rem; }
  .hero-content { padding: 0 1.5rem; }
  .hero-cta { flex-direction: column; gap: 0.8rem; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Section titles */
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-subtitle { font-size: 0.7rem; letter-spacing: 0.2em; }
  .section-description { font-size: 0.95rem; }

  /* Rooms grid: stack to single column */
  .rooms-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .bathroom-grid { grid-template-columns: 1fr; gap: 1rem; }
  .policies-grid { grid-template-columns: 1fr; gap: 1rem; }
  .rooms-feature-grid, .rooms-intro-features { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Experiences: stack vertically */
  .experience-row {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .experience-row.reverse { direction: ltr; }

  /* Room detail (rooms.html): stack image+content */
  .room-detail,
  .room-detail--reverse {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .room-detail-image img { width: 100%; height: auto; }

  /* Footer: stack columns */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand .logo { align-items: center !important; }
  .footer-social { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* Page-hero (rooms/restaurant pages) */
  .page-hero { min-height: 750px; }
  .page-hero .hero-title { font-size: clamp(2rem, 9vw, 3.5rem); }

  /* Parallax banner */
  .parallax-banner { padding: 4rem 1rem; }
  .parallax-banner h2 { font-size: clamp(1.4rem, 5vw, 2rem) !important; line-height: 1.4; }

  /* CTA banner */
  .cta-banner { padding: 3rem 1rem; }
  .cta-banner .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Spacing reductions */
  section { padding-top: 3rem !important; padding-bottom: 3rem !important; }

  /* WhatsApp: don't overlap mobile menu */
  .wa-float { bottom: 16px !important; right: 16px !important; }

  /* Mobile menu overlay (when active) */
  .mobile-menu {
    padding: 5rem 1.5rem 2rem;
    gap: 0.5rem;
  }
  .mobile-menu .nav-link {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* Restaurant menu items: stack name+price properly */
  .menu-item-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  /* Year badge: not too big */
  .year-badge { transform: scale(0.85); }

  /* Forms & inputs: bigger on mobile */
  input, textarea, select, button {
    font-size: 16px !important; /* Prevents iOS zoom */
  }
  input, textarea {
    padding: 12px 14px;
  }

  /* Iframe map height */
  iframe { min-height: 300px; }
}

/* === SMALL MOBILE (≤480px) === */
@media (max-width: 480px) {
  .hero-content { padding: 0 1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .rooms-feature-grid, .rooms-intro-features {
    grid-template-columns: 1fr;
  }

  /* Smaller hero on tiny screens */
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.5rem); }

  /* Padding tighter */
  .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
}

/* === Disable parallax on mobile (perf) === */
@media (max-width: 768px) {
  .parallax-banner img {
    background-attachment: scroll !important;
    transform: none !important;
  }
}


/* ROOM GALLERY MODAL */
.rg-modal{position:fixed;inset:0;background:rgba(8,12,20,0.96);backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);z-index:10000;display:none;flex-direction:column;
  align-items:center;justify-content:center;padding:2rem 4rem;animation:rgFadeIn .3s ease-out;}
.rg-modal.active{display:flex;}
@keyframes rgFadeIn{from{opacity:0;}to{opacity:1;}}
.rg-stage{flex:1;display:flex;align-items:center;justify-content:center;position:relative;
  width:100%;max-width:1200px;margin-bottom:1.5rem;}
.rg-image{max-width:100%;max-height:75vh;object-fit:contain;border-radius:4px;
  box-shadow:0 12px 60px rgba(0,0,0,.5);animation:rgImgFade .4s ease-out;}
@keyframes rgImgFade{from{opacity:0;transform:scale(.97);}to{opacity:1;transform:scale(1);}}
.rg-counter{position:absolute;top:-2rem;left:50%;transform:translateX(-50%);color:var(--cream);
  font-family:'Cormorant Garamond',serif;font-size:.85rem;letter-spacing:.2em;opacity:.7;}
.rg-title{position:absolute;bottom:-2.5rem;left:50%;transform:translateX(-50%);color:var(--gold);
  font-family:'Cormorant Garamond',serif;font-size:1.4rem;letter-spacing:.15em;text-transform:uppercase;font-weight:300;}
.rg-close,.rg-prev,.rg-next{position:absolute;background:rgba(255,255,255,.06);
  border:1px solid rgba(184,164,114,.4);color:var(--cream);cursor:pointer;display:flex;
  align-items:center;justify-content:center;transition:all .2s ease;z-index:10001;font-family:serif;}
.rg-close:hover,.rg-prev:hover,.rg-next:hover{background:var(--gold);color:var(--midnight);border-color:var(--gold);}
.rg-close{top:1.5rem;right:1.5rem;width:48px;height:48px;font-size:2rem;border-radius:50%;}
.rg-prev,.rg-next{top:50%;transform:translateY(-50%);width:56px;height:56px;font-size:2.4rem;border-radius:50%;}
.rg-prev{left:1.5rem;}
.rg-next{right:1.5rem;}
.rg-thumbs{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;max-width:100%;overflow-x:auto;padding:.5rem;}
.rg-thumbs img{width:80px;height:60px;object-fit:cover;cursor:pointer;border:2px solid transparent;
  border-radius:3px;opacity:.55;transition:all .2s;}
.rg-thumbs img:hover{opacity:.85;}
.rg-thumbs img.active{opacity:1;border-color:var(--gold);transform:scale(1.05);}
[data-gallery]{position:relative;transition:transform .3s ease;}
[data-gallery] .room-detail-image{position:relative;overflow:hidden;}


[data-gallery] .room-detail-image img{transition:transform .5s ease;}
[data-gallery]:hover .room-detail-image img{transform:scale(1.05);}
@media (max-width:768px){
  .rg-modal{padding:1rem;}
  .rg-prev,.rg-next{width:44px;height:44px;font-size:1.8rem;}
  .rg-prev{left:.5rem;}
  .rg-next{right:.5rem;}
  .rg-close{width:40px;height:40px;top:1rem;right:1rem;font-size:1.6rem;}
  .rg-thumbs img{width:60px;height:45px;}
  .rg-image{max-height:65vh;}
  .rg-title{font-size:1.1rem;bottom:-2rem;}
  
}



@media (max-width:768px){
  
}

[data-gallery] .room-detail-image::after{
  content: attr(data-photo-count) " PHOTOS  →";
  position:absolute;bottom:1.2rem;right:1.2rem;
  background:rgba(8,22,40,0.78);
  color:var(--gold);
  padding:0.65rem 1.2rem;
  border:1px solid rgba(184,164,114,0.45);
  font-family:'Cormorant Garamond',serif;
  letter-spacing:0.22em;
  font-size:0.78rem;
  text-transform:uppercase;
  font-weight:400;
  pointer-events:none;
  white-space:nowrap;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  transition:all 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index:5;
}
[data-gallery]:hover .room-detail-image::after{
  background:var(--gold);
  color:var(--midnight);
  border-color:var(--gold);
  transform:translateY(-3px);
  letter-spacing:0.28em;
  box-shadow:0 6px 20px rgba(184,164,114,0.3);
}
@media (max-width:768px){
  [data-gallery] .room-detail-image::after{
    bottom:0.8rem;right:0.8rem;font-size:0.68rem;padding:0.5rem 0.9rem;letter-spacing:0.18em;
  }
}


/* === ACCESSIBILITY AMENITY === */
.amenity-accessible{
  background:linear-gradient(135deg,#1e6091 0%,#2a7fb8 100%);
  color:#fff !important;
  padding:0.4rem 0.9rem !important;
  border-radius:3px;
  border:none !important;
  font-weight:500;
  letter-spacing:0.05em;
  display:inline-flex;
  align-items:center;
  gap:0.3rem;
  box-shadow:0 2px 8px rgba(30,96,145,0.25);
}
.accessible-note{
  display:block;
  margin-top:0.8rem;
  padding:0.6rem 1rem;
  background:rgba(30,96,145,0.08);
  border-left:3px solid #2a7fb8;
  color:var(--cream);
  font-style:italic;
  font-size:0.92rem;
  line-height:1.5;
}


/* =========================================================
   ============ ARABIC / RTL SUPPORT =======================
   ========================================================= */

/* Arabic font import (must be added separately to HTML <head>) */
body.rtl {
  font-family: 'Tajawal', 'Cairo', 'Cormorant Garamond', sans-serif;
  direction: rtl;
  text-align: right;
}

/* Headers stay LTR for brand consistency, but text aligned right */
body.rtl .site-header,
body.rtl .footer-grid {
  text-align: right;
}

/* Logo / Brand: keep LTR for "El Reducto" (Latin script) */
body.rtl .logo,
body.rtl .logo-name,
body.rtl .logo-tagline,
body.rtl .loader-name,
body.rtl .loader-subname {
  direction: ltr;
  unicode-bidi: embed;
}

/* Navigation: keep horizontal but reverse order */
body.rtl .nav-main {
  flex-direction: row-reverse;
}

/* Mobile menu */
body.rtl .mobile-menu {
  text-align: right;
}

/* WhatsApp button: switch to left side */
body.rtl .wa-float {
  right: auto;
  left: 24px;
}
@media (max-width: 640px) {
  body.rtl .wa-float {
    left: 16px;
    right: auto;
  }
}

/* Hero text */
body.rtl .hero-content,
body.rtl .page-hero-content {
  text-align: center;
}
body.rtl .hero-title em {
  font-style: normal;
}

/* Year badge */
body.rtl .year-badge {
  text-align: center;
}

/* Room cards */
body.rtl .room-card-content,
body.rtl .room-detail-content,
body.rtl .experience-content,
body.rtl .intro-text {
  text-align: right;
}

/* Room amenities: keep horizontal */
body.rtl .room-detail-amenities {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

/* Section headers */
body.rtl .text-center,
body.rtl .rooms-header,
body.rtl .gallery-header,
body.rtl .testimonial-content,
body.rtl .parallax-banner-content,
body.rtl .cta-banner {
  text-align: center;
}

/* Footer */
body.rtl .footer-grid > div {
  text-align: right;
}
body.rtl .footer-social {
  justify-content: flex-end;
}
body.rtl .footer-bottom {
  flex-direction: row-reverse;
}

/* Buttons: keep arrows reversed for RTL */
body.rtl .btn .btn-arrow,
body.rtl .room-card-link svg {
  transform: scaleX(-1);
  margin-right: 0.5rem;
  margin-left: 0;
}
body.rtl .btn,
body.rtl .room-card-link {
  flex-direction: row-reverse;
}

/* Photo gallery badge — flip arrow */
body.rtl [data-gallery] .room-detail-image::after {
  content: attr(data-photo-count) " صور  ←";
  right: auto;
  left: 1.2rem;
}

/* Location items: icons on right */
body.rtl .location-detail-item {
  flex-direction: row-reverse;
  text-align: right;
}

/* Lang switcher: keep LTR (codes are Latin) */
body.rtl .lang-switcher {
  direction: ltr;
}

/* Restaurant menu: items right-aligned but prices on left side now */
body.rtl .menu-item-header {
  flex-direction: row-reverse;
}

/* Mobile menu toggle: switch position */
body.rtl .menu-toggle {
  margin-left: 0;
  margin-right: auto;
}

/* Header inner: reverse */
body.rtl .header-inner {
  flex-direction: row-reverse;
}

/* Contact form */
body.rtl .contact-form input,
body.rtl .contact-form textarea,
body.rtl .contact-form label {
  text-align: right;
}

/* Hero scroll arrow: keep centered */
body.rtl .hero-scroll {
  text-align: center;
}

/* Gallery modal */
body.rtl .rg-prev {
  left: auto;
  right: 1.5rem;
}
body.rtl .rg-next {
  right: auto;
  left: 1.5rem;
}
body.rtl .rg-close {
  right: auto;
  left: 1.5rem;
}

/* Mobile RTL adjustments */
@media (max-width: 768px) {
  body.rtl .hero-cta {
    align-items: center;
  }
  body.rtl .footer-grid {
    text-align: center;
  }
  body.rtl .footer-grid > div {
    text-align: center;
  }
}

/* ===== COOKIE CONSENT ===== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding: 1rem var(--space-md);
  background: rgba(10, 22, 40, 0.97);
  border-top: 1px solid var(--gold-muted);
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.cookie-bar.visible {
  transform: translateY(0);
}

.cookie-bar-text {
  margin: 0;
  color: var(--cream-dark);
  font-size: var(--text-sm);
  max-width: 60ch;
}

.cookie-bar-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: inherit;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background var(--duration-normal) ease, color var(--duration-normal) ease;
}

.cookie-btn--solid {
  background: var(--gold);
  color: var(--midnight);
}

.cookie-btn--solid:hover {
  background: var(--gold-light);
}

.cookie-btn--ghost {
  background: transparent;
  color: var(--gold);
}

.cookie-btn--ghost:hover {
  background: var(--gold-muted);
}

/* Sits above the floating WhatsApp button while it is on screen */
.cookie-bar.visible ~ .wa-float {
  bottom: 6.5rem;
}

@media (max-width: 768px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    text-align: center;
  }

  .cookie-bar-actions {
    justify-content: center;
  }
}

/* ===== AWARD / REVIEW BADGES ===== */
.award-section {
  padding: var(--space-xl) 0;
  background: var(--midnight-light);
}

.award-card {
  max-width: 620px;
  margin: 0 auto;
  padding: var(--space-lg);
  border: 1px solid var(--gold-muted);
  background: rgba(255,255,255,0.02);
  text-align: center;
}

.award-card-label {
  font-size: var(--text-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.award-card-sub {
  font-size: var(--text-sm);
  color: var(--stone);
  margin-bottom: var(--space-md);
}

/* Booking score medallion */
.award-score {
  width: 108px;
  height: 108px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--gold);
  color: var(--midnight);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.award-score-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
}

.award-score-out {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  opacity: 0.75;
}

.award-property {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--cream);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.award-text {
  color: var(--stone);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

/* Tripadvisor rating dots */
.award-dots {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.award-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--gold);
}

.award-dot--half {
  background: linear-gradient(to right, var(--gold) 50%, transparent 50%);
}

.award-rank {
  font-size: var(--text-sm);
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.award-quotes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  border-top: 1px solid var(--gold-muted);
  padding-top: var(--space-sm);
}

.award-quotes li {
  font-family: var(--font-elegant);
  font-style: italic;
  color: var(--cream-dark);
  padding: 0.3rem 0;
}

.award-link {
  display: inline-block;
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-muted);
  padding-bottom: 0.2rem;
  transition: border-color var(--duration-normal) ease;
}

.award-link:hover {
  border-bottom-color: var(--gold);
}

/* ===== EL TIEMPO ENTRE COSTURAS ===== */
.costuras-section {
  padding: var(--space-xl) 0;
  background: var(--midnight);
}

.costuras-intro {
  max-width: 720px;
  margin: 0 auto var(--space-md);
  text-align: center;
}

/* Novel cover beside the story text */
.costuras-lead {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: var(--space-lg);
  align-items: center;
  max-width: 900px;
  margin: 0 auto var(--space-lg);
}

.costuras-lead-text p {
  color: var(--stone);
  margin-bottom: var(--space-sm);
}

.costuras-lead-text p:last-child {
  margin-bottom: 0;
}

.costuras-lead-book img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--gold-muted);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.costuras-grid {
  columns: 4;
  column-gap: var(--space-xs);
}

.costuras-item {
  break-inside: avoid;
  margin-bottom: var(--space-xs);
  overflow: hidden;
  position: relative;
}

.costuras-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85);
  transition: transform var(--duration-slow) var(--ease-out-expo),
              filter var(--duration-normal) ease;
}

.costuras-item:hover img {
  transform: scale(1.03);
  filter: saturate(1);
}

@media (max-width: 1024px) {
  .costuras-grid { columns: 3; }
}

@media (max-width: 768px) {
  .costuras-grid { columns: 2; }
  .award-card { padding: var(--space-md); }

  /* Stack the novel cover under the text, and keep it from dominating */
  .costuras-lead {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    justify-items: center;
    text-align: center;
  }

  .costuras-lead-book {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .costuras-grid { columns: 1; }
}

/* ===== RESTAURANT PAGE — MOBILE UX ===== */
@media (max-width: 768px) {
  /* Ambiance blocks were still 2 columns on phones: the title broke onto
     four lines, the copy squeezed to two words per line and the image was
     clipped. Stack them, image first. */
  .dining-ambiance {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dining-ambiance-img {
    order: -1;
    height: 300px;
  }

  /* Beat the inline text-align/margin on the ambiance copy */
  .dining-ambiance-text {
    text-align: center !important;
    padding: var(--space-lg) var(--space-md);
  }

  .dining-ambiance-text .room-detail-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 34ch;
  }

  /* Food photos: stacking 7 tall images made ~3.5 screens of scrolling.
     Swipe horizontally instead — one screen, snaps to each plate. */
  .food-gallery {
    columns: auto;
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-xs);
  }

  .food-gallery::-webkit-scrollbar {
    display: none;
  }

  .food-gallery .gallery-masonry-item {
    flex: 0 0 78%;
    margin-bottom: 0;
    scroll-snap-align: center;
  }

  .food-gallery .gallery-masonry-item img {
    height: 320px;
    object-fit: cover;
  }

  /* 110 menu rows at 66px each ran to ~12 screens. Tighten the rows;
     nothing is hidden. */
  .menu-category {
    padding: var(--space-md);
  }

  .menu-item {
    padding: 0.6rem 0;
  }

  .menu-item-header {
    margin-bottom: 0;
  }
}
