/* ============================================================
   GOURDIA LODGE — Extra Stylesheet
   Identity: القرع السلاوي · Moroccan Gourd Heritage
   Palette: Earth · Terracotta · Amber · Warm Cream
   ============================================================ */

/* === OVERRIDE CORE VARIABLES === */
:root {
  --primary:        #B5541C;
  --primary-dark:   #8C3D12;
  --primary-light:  #D4692A;
  --secondary:      #C8852A;
  --secondary-dark: #A96D1E;
  --accent:         #7A5C3A;
  --dark:           #1C0F08;
  --dark-mid:       #2E1A0C;
  --light:          #FBF6EE;
  --cream:          #F0E6D2;
  --cream-dark:     #DDD0B6;
  --text:           #2E1A0C;
  --text-light:     #6B4F35;
  --text-muted:     #9C8270;
  --white:          #FFFFFF;
  --wa-green:       #25D366;
  --wa-dark:        #128C7E;
  --shadow-sm:      0 2px 10px rgba(28,15,8,0.08);
  --shadow:         0 4px 24px rgba(28,15,8,0.14);
  --shadow-lg:      0 10px 48px rgba(28,15,8,0.2);
  --shadow-hover:   0 16px 48px rgba(28,15,8,0.26);
  --radius-sm:      6px;
  --radius:         14px;
  --radius-lg:      24px;
  --radius-xl:      36px;
  --transition:     all 0.32s ease;
  --transition-slow:all 0.55s ease;
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Nunito', 'Segoe UI', sans-serif;
  --font-arabic:    'Noto Sans Arabic', sans-serif;
  --max-width:      1200px;
  --nav-height:     72px;
  /* Gourdia amber glow */
  --glow:           rgba(200,133,42,0.22);
  --glow-strong:    rgba(200,133,42,0.45);
}

/* === BASE OVERRIDES === */
body { background: var(--light); }
p { color: var(--text-light); }

/* === HAMBURGER === */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: rgba(255,255,255,0.9); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* === LANG SWITCHER === */
.lang-switcher { display: flex; gap: 4px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,0.2); }
.navbar.scrolled .lang-switcher { border-color: var(--cream-dark); }
.lang-btn { padding: 4px 9px; border-radius: var(--radius-sm); font-size: 0.76rem; font-weight: 700; color: rgba(255,255,255,0.65); transition: var(--transition); }
.navbar.scrolled .lang-btn { color: var(--text-muted); }
.lang-btn.active, .lang-btn:hover { background: var(--secondary); color: var(--dark) !important; }
.footer-lang { display: flex; gap: 6px; }
.footer-lang .lang-btn { color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); border-radius: var(--radius-sm); }
.footer-lang .lang-btn.active { background: var(--secondary); color: var(--dark) !important; }

/* ============================================================
   HERO — Gourdia Identity Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

/* Warm ambient background glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 45%, rgba(180,80,24,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(200,133,42,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(120,60,20,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Subtle geometric tile pattern background */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='rgba(200,133,42,0.07)' stroke-width='1'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z'/%3E%3Cpath d='M30 10 L50 30 L30 50 L10 30 Z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: saturate(0.6) sepia(0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 80px;
  max-width: 680px;
}

/* Arabic calligraphy accent above title */
.hero-arabic-accent {
  display: block;
  font-family: var(--font-arabic);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--secondary);
  opacity: 0.85;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  font-weight: 400;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-content h1 .hero-name {
  display: block;
  color: var(--secondary);
  font-style: italic;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 6px;
}

.hero-content h1 .hero-sub-title {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-top: 10px;
}

.hero-divider {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), transparent);
  margin: 24px 0;
  border: none;
}

.hero-content > p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  letter-spacing: 0.03em;
}

/* Gourd illustration — right side decoration */
.hero-gourd-wrap {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.92;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: bounce-scroll 2.4s ease-in-out infinite;
  z-index: 3;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(7px); opacity: 0.9; }
}

/* PAGE HERO */
.page-hero {
  position: relative;
  height: 440px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  margin-top: var(--nav-height);
}
.page-hero--sm { height: 340px; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,15,8,0.9) 0%, rgba(28,15,8,0.5) 50%, rgba(28,15,8,0.2) 100%);
}
.page-hero-content {
  position: relative; z-index: 2; padding-bottom: 52px; color: var(--white);
}
.page-hero-content h1 { color: var(--white); margin: 12px 0 10px; }
.page-hero-content > p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ============================================================
   GOURDIA STORY SECTION
   ============================================================ */
.gourdia-story {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.gourdia-story::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,133,42,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
}

.story-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.story-gourd-cluster {
  position: relative;
  width: 340px;
  height: 440px;
}

.story-text .section-tag {
  background: rgba(200,133,42,0.15);
  color: var(--secondary);
  border-color: rgba(200,133,42,0.3);
}

.story-text h2 { color: var(--white); margin: 14px 0 10px; }
.story-text h2 em { color: var(--secondary); font-style: italic; }

.story-lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.85;
  font-style: italic;
  border-left: 3px solid var(--secondary);
  padding-left: 20px;
  margin: 20px 0 24px;
}

.story-text p { color: rgba(255,255,255,0.62); line-height: 1.85; margin-bottom: 16px; }

.story-quote {
  margin: 32px 0;
  padding: 28px 28px 28px 32px;
  border-left: 4px solid var(--secondary);
  background: rgba(200,133,42,0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.story-quote blockquote {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  color: var(--secondary);
  direction: rtl;
  text-align: right;
  margin-bottom: 10px;
  line-height: 1.7;
}
.story-quote cite { font-size: 0.82rem; color: rgba(255,255,255,0.45); font-style: italic; }

.story-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.story-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sdi-icon {
  width: 36px; height: 36px;
  background: rgba(200,133,42,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.sdi-text strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 2px; }
.sdi-text span { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-images { position: relative; padding-bottom: 60px; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 440px; object-fit: cover; filter: saturate(0.9) sepia(0.08); }
.about-img-side { position: absolute; bottom: 0; right: -24px; width: 52%; }
.about-img-side img { border-radius: var(--radius); width: 100%; height: 230px; object-fit: cover; border: 5px solid var(--light); box-shadow: var(--shadow-lg); filter: saturate(0.9) sepia(0.08); }
.about-badge-float {
  position: absolute; bottom: -10px; left: -16px;
  background: var(--primary); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
  text-align: center;
}
.about-badge-float strong { display: block; font-size: 1.9rem; font-family: var(--font-heading); }
.about-badge-float span { font-size: 0.76rem; opacity: 0.88; }
.about-text p { margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.about-feat { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.88rem; color: var(--text); }
.about-feat svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* ============================================================
   ROOMS GRID
   ============================================================ */
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(200,133,42,0.1);
}
.room-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); border-color: rgba(200,133,42,0.25); }
.room-img { position: relative; overflow: hidden; height: 220px; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); filter: saturate(0.88) sepia(0.06); }
.room-card:hover .room-img img { transform: scale(1.07); filter: saturate(1) sepia(0); }
/* Badge inside card image (absolute overlay) */
.room-img .room-badge {
  position: absolute; top: 14px; left: 14px;
}

/* Badge inside room detail info (inline, above title) */
.room-badge {
  display: inline-block;
  background: var(--primary); color: var(--white);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: 5px 13px; border-radius: 50px;
  margin-bottom: 10px;
  line-height: 1;
}
.room-badge--gold { background: var(--secondary); color: var(--dark); }
.room-body { padding: 20px 18px; }
.room-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.room-body > p { font-size: 0.86rem; margin-bottom: 14px; color: var(--text-light); }
.room-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.room-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.room-ctas .btn { font-size: 0.8rem; padding: 8px 15px; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}
.service-card:hover { box-shadow: var(--shadow); border-color: rgba(181,84,28,0.18); transform: translateY(-3px); }
.service-icon { font-size: 2.2rem; margin-bottom: 14px; }
.service-card h4 { margin-bottom: 10px; font-size: 0.95rem; color: var(--dark); }
.service-card > p { font-size: 0.84rem; color: var(--text-light); }

/* ============================================================
   WHY SECTION — earth dark tones
   ============================================================ */
.why-section { background: var(--dark-mid); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  border: 1px solid rgba(200,133,42,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  background: rgba(255,255,255,0.03);
}
.why-card:hover { border-color: var(--secondary); background: rgba(200,133,42,0.06); }
.why-num { font-family: var(--font-heading); font-size: 2.6rem; color: var(--secondary); opacity: 0.45; font-weight: 700; margin-bottom: 14px; line-height: 1; }
.why-card h4 { color: var(--white); margin-bottom: 12px; font-size: 1rem; }
.why-card > p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.75; }

/* ============================================================
   GALLERY PREVIEW
   ============================================================ */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 226px; object-fit: cover; transition: var(--transition-slow); display: block; filter: saturate(0.85) sepia(0.05); }
.gallery-item--tall img { height: 100%; min-height: 466px; }
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1) sepia(0); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,15,8,0.7) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 18px;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--white); font-weight: 600; font-size: 0.88rem; }

/* === GALLERY FULL PAGE === */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.gallery-filter {
  padding: 9px 22px; border-radius: 50px;
  font-size: 0.86rem; font-weight: 600;
  border: 2px solid var(--cream-dark); color: var(--text-light);
  transition: var(--transition);
}
.gallery-filter:hover, .gallery-filter.active { border-color: var(--primary); background: var(--primary); color: var(--white); }
.gallery-masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-masonry .gallery-item img { height: 220px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  background: var(--white);
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-heading); font-size: 4rem;
  color: var(--cream-dark); line-height: 1; pointer-events: none;
}
.stars { color: var(--secondary); font-size: 1rem; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial > p { font-style: italic; font-size: 0.93rem; color: var(--text); margin-bottom: 20px; line-height: 1.8; }
.testimonial footer { font-size: 0.83rem; color: var(--text-muted); }
.testimonial footer strong { color: var(--dark); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 90px 0; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.platforms { margin-top: 48px; }
.platform-logos { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.platform-logo-btn {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 10px 22px; border-radius: 50px;
  font-weight: 700; font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.platform-logo-btn:hover { background: rgba(255,255,255,0.25); }

/* ============================================================
   BLOG GRID
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-grid--full { grid-template-columns: repeat(3, 1fr); }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-card-img { display: block; overflow: hidden; height: 218px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); filter: saturate(0.85); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); filter: saturate(1); }
.blog-card-body { padding: 24px 20px; }
.blog-cat { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); background: var(--cream); padding: 4px 12px; border-radius: 50px; margin-bottom: 10px; }
.blog-date { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.blog-card-body h2, .blog-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.45; }
.blog-card-body h2 a, .blog-card-body h3 a { color: var(--dark); transition: var(--transition); }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body > p { font-size: 0.86rem; margin-bottom: 16px; color: var(--text-light); }
.blog-read { font-size: 0.86rem; font-weight: 700; color: var(--primary); }
.blog-read:hover { color: var(--primary-dark); }

/* === BLOG POST PAGE === */
.blog-post { background: var(--white); }
.blog-container { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.blog-content h2 { font-size: 1.5rem; margin: 36px 0 16px; color: var(--dark); }
.blog-content p { margin-bottom: 18px; line-height: 1.85; }
.blog-intro { font-size: 1.08rem; color: var(--text); line-height: 1.8; border-left: 4px solid var(--secondary); padding-left: 20px; margin-bottom: 32px; }
.blog-img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-lg); margin: 8px 0 24px; display: block; }
.blog-meta { color: rgba(255,255,255,0.65); font-size: 0.86rem; margin-top: 10px; }
.blog-cta-box { background: var(--light); border-radius: var(--radius-lg); padding: 36px; margin: 40px 0; text-align: center; }
.blog-cta-box h3 { margin-bottom: 12px; }
.blog-cta-box > p { margin-bottom: 24px; }
.blog-cta-box .btn { margin: 0 6px 10px; }
.trip-card { border: 1px solid var(--cream-dark); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 28px; }
.trip-info { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0 16px; font-size: 0.84rem; color: var(--text-muted); font-weight: 600; }
.blog-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.sidebar-card { background: var(--light); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 22px; }
.sidebar-card h4 { margin-bottom: 12px; }
.sidebar-card > p { font-size: 0.86rem; margin-bottom: 14px; }
.sidebar-links { display: flex; flex-direction: column; gap: 10px; }
.sidebar-links a { font-size: 0.86rem; color: var(--primary); font-weight: 600; }
.sidebar-links a:hover { color: var(--primary-dark); }

/* ============================================================
   ROOMS DETAIL PAGE
   ============================================================ */
.room-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 88px; }
.room-detail--reverse .room-detail-gallery { order: 2; }
.room-detail--reverse .room-detail-info { order: 1; }
.rdg-main { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 10px; position: relative; }
.rdg-main img { width: 100%; height: 350px; object-fit: cover; filter: saturate(0.9) sepia(0.06); transition: opacity 0.35s ease, transform 0.55s ease; }
.rdg-main img.rdg-fade { opacity: 0; }
.rdg-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rdg-thumbs img { width: 100%; height: 82px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease; filter: saturate(0.75) brightness(0.92); opacity: 0.72; }
.rdg-thumbs img:hover { opacity: 0.92; filter: saturate(1.05) brightness(1); transform: scale(1.06); }
.rdg-thumbs img.active { opacity: 1; filter: saturate(1.1) brightness(1.02); box-shadow: 0 0 0 2.5px var(--primary), 0 4px 14px rgba(181,84,28,0.35); transform: scale(1.04); }
.room-detail-info h2 { margin: 12px 0 16px; }
.room-detail-info > p { margin-bottom: 24px; }
.room-detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.spec-item { display: flex; align-items: center; gap: 8px; font-size: 0.87rem; font-weight: 600; color: var(--text); }
.spec-icon { font-size: 1.1rem; }
.room-detail-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.room-divider { border: none; border-top: 1px solid var(--cream-dark); margin-bottom: 88px; }

/* ============================================================
   LOCATION PAGE
   ============================================================ */
.location-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.location-info h2 { margin-bottom: 28px; }
.location-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--light); border-radius: var(--radius-lg); margin-bottom: 14px; border: 1px solid var(--cream-dark); }
.lc-icon { font-size: 1.5rem; flex-shrink: 0; }
.location-card h4 { margin-bottom: 5px; font-size: 0.95rem; }
.location-card p, .location-card a { font-size: 0.9rem; }
.transport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.transport-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--cream-dark); }
.transport-icon { font-size: 2rem; margin-bottom: 12px; }
.transport-card h4 { margin-bottom: 10px; font-size: 0.95rem; }
.transport-card > p { font-size: 0.86rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.contact-info h2 { margin: 12px 0 16px; }
.contact-info > p { margin-bottom: 20px; }
.contact-details { margin: 24px 0; }
.cd-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--cream-dark); }
.cd-item:last-child { border-bottom: none; }
.cd-icon { font-size: 1.3rem; flex-shrink: 0; }
.cd-item strong { display: block; font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.cd-item a, .cd-item span { font-size: 0.93rem; color: var(--text); }
.booking-platforms { margin-top: 24px; }
.platform-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 2px solid var(--cream-dark); border-radius: 50px; font-weight: 700; font-size: 0.86rem; margin-right: 10px; margin-bottom: 10px; transition: var(--transition); }
.platform-btn:hover { border-color: var(--primary); color: var(--primary); }
.contact-form-wrap { background: var(--light); border-radius: var(--radius-xl); padding: 42px; border: 1px solid var(--cream-dark); }
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 24px; }
.wa-note { display: flex; align-items: flex-start; gap: 10px; background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.28); border-radius: var(--radius); padding: 14px 16px; font-size: 0.84rem; color: var(--text); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.83rem; font-weight: 700; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 0.94rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181,84,28,0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; padding-bottom: 52px; }
.footer-logo { display: block; font-family: var(--font-heading); font-size: 1.65rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-brand > p { font-size: 0.86rem; line-height: 1.85; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { color: rgba(255,255,255,0.45); transition: var(--transition); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { color: var(--secondary); background: rgba(200,133,42,0.15); }
.footer-col h5 { color: var(--white); font-size: 0.88rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .1em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li,
.footer-col a { font-size: 0.86rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.83rem; color: rgba(255,255,255,0.38); }

/* ============================================================
   BACK TO TOP & LIGHTBOX
   ============================================================ */
#back-to-top {
  position: fixed; bottom: 100px; right: 28px; z-index: 9998;
  width: 46px; height: 46px; background: var(--primary); color: var(--white);
  border-radius: 50%; font-size: 1.1rem; box-shadow: var(--shadow);
  transition: var(--transition); opacity: 0; pointer-events: none;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.lang-ar #back-to-top { right: auto; left: 28px; }

.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10,5,2,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; color: var(--white);
  font-size: 1.4rem; font-weight: 700; background: rgba(255,255,255,0.12);
  border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.lightbox-close:hover { background: var(--primary); }

/* ============================================================
   FADE-UP
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .transport-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
  .story-layout { gap: 48px; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { padding-bottom: 0; }
  .about-img-side { position: relative; bottom: auto; right: auto; width: 100%; margin-top: 12px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .room-detail { grid-template-columns: 1fr; }
  .room-detail--reverse .room-detail-gallery,
  .room-detail--reverse .room-detail-info { order: 0; }
  .location-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .blog-container { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .story-layout { grid-template-columns: 1fr; }
  .story-visual { display: none; }
  .hero-gourd-wrap { display: none; }
}
@media (max-width: 768px) {
  .services-grid, .why-grid, .transport-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--tall img { min-height: unset; height: 220px; }
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--dark); flex-direction: column; align-items: stretch;
    padding: 16px; gap: 4px; box-shadow: var(--shadow);
    transform: translateY(-110%); opacity: 0;
    transition: var(--transition); pointer-events: none;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { color: rgba(255,255,255,0.85) !important; padding: 12px 16px; }
  .navbar.scrolled .nav-link { color: rgba(255,255,255,0.85) !important; }
}
@media (max-width: 540px) {
  .rooms-grid, .services-grid, .why-grid, .transport-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-grid--full { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .rdg-thumbs { grid-template-columns: repeat(2, 1fr); }
  .room-detail-specs { grid-template-columns: 1fr; }
  .page-hero { height: 300px; }
  .about-features { grid-template-columns: 1fr; }
  .hero-content h1 .hero-sub-title { display: none; }
  .story-details { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE-FIRST IMPROVEMENTS (≤ 540px)
   ============================================================ */
@media (max-width: 540px) {
  /* Hero mobile polish */
  .hero { min-height: 100svh; }
  .hero-content {
    padding-top: calc(var(--nav-height) + 30px);
    padding-bottom: 90px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-content h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .hero-content h1 .hero-name { font-size: clamp(2.8rem, 13vw, 3.6rem); }
  .hero-arabic-accent { font-size: 1rem; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 0.72rem; padding: 6px 12px; }

  /* Room cards mobile polish */
  .room-img { height: 200px; }
  .room-body { padding: 16px 14px; }
  .room-ctas { flex-direction: column; }
  .room-ctas .btn { width: 100%; text-align: center; justify-content: center; }

  /* Story section mobile */
  .gourdia-story { padding: 60px 0; }
  .story-lead { font-size: 0.96rem; padding-left: 14px; }
  .story-quote { padding: 18px 16px 18px 20px; }
  .story-quote blockquote { font-size: 1.1rem; }

  /* Sections padding */
  section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }

  /* Footer mobile */
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Clickable room image link wrapper */
.room-img-link {
  display: block;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* ── Responsive & Performance Improvements ── */

/* Ensure images never overflow containers */
img { max-width: 100%; height: auto; }

/* Improve tap targets on mobile */
@media (max-width: 768px) {
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-link { padding: 12px 16px; }
  .lang-btn { min-width: 40px; min-height: 40px; }
  .service-card { padding: 24px 18px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 .hero-name { word-break: break-word; }
  .section-header h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* Story section single-column: full width text */
.story-text { width: 100%; }

/* Blockquote responsive */
@media (max-width: 600px) {
  .story-quote blockquote { font-size: 1rem; }
  .story-lead { font-size: 1rem; }
}
