/* 
   UmrahHotels - Premium Hotel Guide Design System & Layouts
   Aesthetics: Clean geometric sans-serif headings (Outfit) combined with modern body text (Plus Jakarta Sans)
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* --- Color Palette --- */
  --gold: #FBC91B;
  --gold-dark: #C79113;
  --charcoal: #323232;
  --gray-light: #DDDDDD;
  --white: #ffffff;
  --bg: #fafafa;
  
  /* Premium Accents & Gradients */
  --charcoal-light: #4A4A4A;
  --charcoal-dark: #1E1E1E;
  --gold-light: #FDE26C;
  --gray-medium: #888888;
  --border-color: rgba(50, 50, 50, 0.08);
  --shadow-sm: 0 4px 12px rgba(50, 50, 50, 0.03);
  --shadow-md: 0 12px 32px rgba(50, 50, 50, 0.06);
  --shadow-lg: 0 24px 64px rgba(50, 50, 50, 0.12);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Success/Error colors for comparison */
  --color-success: #2E7D32;
  --color-success-bg: #E8F5E9;
  --success: #25D366;
  --color-error: #D32F2F;
  --color-error-bg: #FFEBEE;

  /* --- Typography --- */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* --- Spacing & Shape --- */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --section-pad: clamp(40px, 4.5vw, 60px); /* Reduced from clamp(60px, 8vw, 120px) to eliminate excessive vertical gaps on all pages */
  --container-width: 1200px;
}

/* --- Globals & Resets --- */
*, 
*::before, 
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  zoom: 1.5;
  overflow-x: clip; /* Prevent horizontal scrolling without breaking position: sticky */
}

@media (max-width: 1024px) {
  html {
    zoom: 1.0; /* Reset zoom on tablets and smaller screens to prevent layout clipping and mismatching breakpoints */
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip; /* Prevent horizontal scrolling without breaking position: sticky */
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--charcoal-dark);
  font-weight: 600;
  line-height: 1.25;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-align: center;
  margin-bottom: 2rem;
}

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

/* --- Images --- */
img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- Utility Classes --- */
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

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

.bg-charcoal {
  background-color: var(--charcoal-dark);
  color: var(--white);
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal-dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(199, 145, 19, 0.25);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--charcoal-dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--charcoal-dark);
  color: var(--white);
  border: 1px solid var(--charcoal-light);
}

.btn-dark:hover {
  background: var(--gold);
  color: var(--charcoal-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* --- 1. Header --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: #121212; /* Solid dark background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.85); /* Elegant translucent glassmorphism background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.header-scrolled .header-container {
  height: 70px;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  filter: brightness(0) invert(1);
}

.header-scrolled .logo-img {
  filter: none;
}

/* Navigation Links */
.mobile-menu-footer {
  display: none !important;
}

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

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 8px 0;
}

.header-scrolled .nav-link {
  color: var(--charcoal);
}

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

.header-scrolled .nav-link::after {
  background-color: var(--gold-dark);
}

.nav-link:hover {
  color: var(--gold);
}

.header-scrolled .nav-link:hover {
  color: var(--gold-dark);
}

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

.nav-link.active {
  color: var(--gold);
}

.header-scrolled .nav-link.active {
  color: var(--gold-dark);
}

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

/* Mobile Toggle Hamburger Button - Premium Circular Layout */
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  z-index: 1001;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.header-scrolled .nav-toggle {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.header-scrolled .nav-toggle span {
  background-color: var(--charcoal-dark);
}

/* Hover/Touch Active Feedback */
.nav-toggle:hover {
  transform: scale(1.05);
  background: rgba(181, 148, 83, 0.15);
  border-color: rgba(181, 148, 83, 0.4);
}

.nav-toggle:hover span {
  background-color: var(--gold);
}

.header-scrolled .nav-toggle:hover {
  background: var(--gold-light);
  border-color: var(--gold);
}

.header-scrolled .nav-toggle:hover span {
  background-color: var(--gold-dark);
}

/* --- 2. Hero Section --- */
.hero {
  position: relative;
  min-height: auto; /* Changed from 100vh to auto to eliminate excessive empty space below the search bar */
  display: flex;
  align-items: flex-start; /* Align content to the top instead of centering to control vertical gap */
  background-size: cover;
  background-position: right top;
  background-attachment: scroll; /* Keep scroll to ensure background scales with elements on page zoom (in or out) */
  color: var(--white);
  padding-top: 85px; /* Clean gap below the sticky header */
  padding-bottom: 80px; /* Balanced space below the search bar before the next section starts */
  overflow: visible; /* Prevent dropdown clipping */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(15, 15, 15, 0.95) 0%,      /* Darkest zone on the left for maximum text contrast */
    rgba(15, 15, 15, 0.85) 35%,     /* Bolder text readability area */
    rgba(15, 15, 15, 0.45) 60%,     /* Moderately translucent to blend into Makkah skyline */
    rgba(0, 0, 0, 0.15) 80%,        /* Very faint overlay to keep Kaaba/Tower clear and bright */
    rgba(0, 0, 0, 0.05) 100%        /* Transparent border on the rightmost side */
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.hero-text-container {
  max-width: 600px; /* Constrains eyebrow, title, and description text to the left side */
  margin-left: 0;
  text-align: left;
}

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

.hero-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 18px; /* Increased margin for better spacing */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem); /* Slightly scaled down clamp for better line flow */
  color: var(--white) !important;
  line-height: 1.25; /* Increased line-height so letters don't overlap vertically */
  margin-bottom: 15px; /* Reduced to ensure above-the-fold visibility */
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero p {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500; /* Increased from 300 to make it bolder and more legible */
  margin-bottom: 20px; /* Reduced to ensure above-the-fold visibility */
  color: var(--white); /* Clear white color for better contrast */
  letter-spacing: 0.5px;
  max-width: 100%; /* Spans full width of the constrained text container */
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); /* Add text-shadow for better contrast on background image */
}

/* --- Hero Search Bar Revamp --- */
.hero-search-wrapper {
  margin-top: 45px; /* Increased margin to lower the search bar a bit exactly as requested */
  width: 100%;
  max-width: 1000px;
}

.hero-search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  background: rgba(255, 255, 255, 0.15); /* Premium frosted translucent glass */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 2px solid rgba(251, 201, 27, 0.6); /* Translucent gold border */
  border-radius: var(--radius-md);
  padding: 14px;
  gap: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(251, 201, 27, 0.12); /* Balanced gold glow */
  align-items: center;
  position: relative;
}

/* Custom Select Dropdowns */
.custom-select-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 62px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  justify-content: center;
  user-select: none;
}

.custom-select-wrapper:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
}

.custom-select-wrapper.open {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 12px rgba(251, 201, 27, 0.15);
  z-index: 1002;
}

.custom-select-wrapper label {
  font-size: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 2px;
  pointer-events: none;
  font-family: var(--font-body);
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.custom-select-trigger span {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-arrow {
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: var(--transition-smooth);
  margin-left: 12px;
}

.custom-select-wrapper.open .custom-arrow {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* Custom Options list - White Frosted Glass */
.custom-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  max-height: 250px;
  overflow-y: auto;
}

/* Custom Scrollbar for Options */
.custom-options::-webkit-scrollbar {
  width: 6px;
}
.custom-options::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
}
.custom-options::-webkit-scrollbar-thumb {
  background: rgba(199, 145, 19, 0.25);
  border-radius: 10px;
}
.custom-options::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

.custom-select-wrapper.open .custom-options {
  display: block;
}

.custom-option {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-dark);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.custom-option:hover {
  background: rgba(199, 145, 19, 0.08);
  color: var(--gold-dark);
  padding-left: 20px;
}

.custom-option.selected {
  background: var(--gold);
  color: var(--charcoal-dark);
  font-weight: 700;
}

.hero-search-form .search-btn {
  height: 62px;
  padding: 0 36px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(251, 201, 27, 0.2);
}

.hero-search-form .search-btn:hover {
  box-shadow: 0 6px 20px rgba(251, 201, 27, 0.35);
}

/* Responsive Search Bar */
@media (max-width: 992px) {
  .hero-search-form {
    grid-template-columns: 1fr 1fr;
  }
  .hero-search-form .search-btn {
    grid-column: span 2;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-search-form {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .custom-select-wrapper,
  .hero-search-form .search-btn {
    grid-column: span 1;
    width: 100%;
  }
}

/* --- 3. Featured Hotels Section --- */
.scroll-container-wrapper {
  position: relative;
  margin-top: 1rem;
}

.hotel-scroll-container {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 16px 8px 40px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Customize Elegant Scrollbar for hotel scroller */
.hotel-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.hotel-scroll-container::-webkit-scrollbar-track {
  background: rgba(50, 50, 50, 0.05);
  border-radius: 10px;
}

.hotel-scroll-container::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

.hotel-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.hotel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.hotel-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.hotel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

/* City Badge */
.city-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(30, 30, 30, 0.85);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.hotel-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hotel-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  color: var(--gold-dark);
}

.hotel-name {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--charcoal-dark);
}

.hotel-desc {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* /* Handpicked Hotel Grid Layout */
.handpicked-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 1.5rem;
  padding: 8px 4px;
}

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

@media (max-width: 600px) {
  .handpicked-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .handpicked-grid .hotel-card-image {
    height: 130px;
  }
  
  .handpicked-grid .hotel-card-content {
    padding: 12px;
  }
  
  .handpicked-grid .hotel-name {
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  
  .handpicked-grid .hotel-desc {
    font-size: 0.75rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  
  .handpicked-grid .hotel-stars svg {
    width: 12px;
    height: 12px;
  }
  
  .handpicked-grid .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .handpicked-grid .city-badge {
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    font-size: 0.65rem;
  }
}

.handpicked-grid .hotel-card {
  flex: none;
  width: 100%;
}/* --- 4. Why Book With Humans? --- */
/* --- 4. Why Book With Humans? --- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.compare-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

/* Recommended Booking Assistant Column - Green Theme Highlight */
.compare-card.recommended {
  border: 2px solid rgba(46, 125, 50, 0.35);
  background: linear-gradient(145deg, var(--white) 0%, rgba(46, 125, 50, 0.02) 100%);
  box-shadow: 0 20px 50px rgba(46, 125, 50, 0.05), var(--shadow-md);
  transform: translateY(-4px); /* Slightly raised to indicate dominance */
}

.compare-card.recommended:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(46, 125, 50, 0.12), var(--shadow-lg);
  border-color: var(--color-success);
}

/* Muted Online Column */
.compare-card.muted {
  border: 1px solid rgba(50, 50, 50, 0.08);
  background: linear-gradient(145deg, var(--white) 0%, rgba(50, 50, 50, 0.01) 100%);
}

.compare-card.muted:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(50, 50, 50, 0.15);
}

/* Badge Styling */
.compare-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 50px;
}

.compare-card.recommended .compare-badge {
  background: rgba(46, 125, 50, 0.08);
  color: var(--color-success);
  border: 1px solid rgba(46, 125, 50, 0.18);
}

.compare-card.muted .compare-badge.gray {
  background: rgba(50, 50, 50, 0.05);
  color: var(--gray-medium);
  border: 1px solid rgba(50, 50, 50, 0.08);
}

/* Card Title */
.compare-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.3;
}

.compare-card.recommended .compare-card-title {
  color: var(--color-success);
}

.compare-card.muted .compare-card-title {
  color: var(--color-error);
}

.title-icon {
  flex-shrink: 0;
  stroke-width: 2px;
}

.compare-card.recommended .title-icon {
  color: var(--color-success);
}

.compare-card.muted .title-icon {
  color: var(--color-error);
}

/* Lists */
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--charcoal-light);
}

.compare-card.recommended .compare-item {
  color: var(--charcoal);
}

/* Icon Container */
.compare-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: var(--transition-smooth);
}

.compare-icon.check {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

.compare-card.recommended:hover .compare-icon.check {
  background-color: var(--color-success);
  color: var(--white);
  transform: scale(1.1);
}

.compare-icon.cross {
  background-color: var(--color-error-bg);
  color: var(--color-error);
}

.compare-card.muted:hover .compare-icon.cross {
  background-color: var(--color-error);
  color: var(--white);
  transform: scale(1.1);
}

/* Responsive Grid styling */
@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .compare-card.recommended {
    transform: none;
  }
  .compare-card.recommended:hover {
    transform: translateY(-4px);
  }
}

/* --- Why Book with UmrahHotels Layout & Free-form Assistant --- */
.why-us-section {
  padding: 80px 0;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: #ffffff;
  /* Premium CSS Arabic Star Pattern background with low opacity */
  background-image: radial-gradient(circle at 100% 150%, var(--bg) 24%, white 25%, white 28%, var(--bg) 29%, var(--bg) 36%, white 36%, white 40%, transparent 40%, transparent),
                    radial-gradient(circle at 0% 150%, var(--bg) 24%, white 25%, white 28%, var(--bg) 29%, var(--bg) 36%, white 36%, white 40%, transparent 40%, transparent),
                    radial-gradient(circle at 50% 100%, rgba(251, 201, 27, 0.04) 10%, rgba(251, 201, 27, 0.02) 25%, transparent 50%),
                    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0l10 30h30L55 50l10 30-25-20-25 20 10-30L0 30h30z' fill='%23fbc91b' fill-opacity='0.025' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: auto, auto, 100% 100%, 80px 80px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.why-us-intro-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-us-avatar-wrapper {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-us-avatar-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s var(--transition-smooth);
}

.why-us-avatar-img:hover {
  transform: translateY(-4px) scale(1.02);
}

.why-us-intro-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-us-question {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.25;
  margin: 0;
}

.why-us-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal-light);
  margin: 0;
}

.why-us-compare-block {
  display: flex;
  flex-direction: column;
}

.compare-grid-revamped {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  height: 100%;
}

.compare-grid-revamped .compare-card {
  padding: 45px 30px;
}

@media (max-width: 1024px) {
  .why-us-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .why-us-avatar-wrapper {
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .compare-grid-revamped {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- 5. Booking Process Timeline --- */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
}

/* Connecting Line */
.timeline::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--gray-light);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.timeline-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--charcoal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-icon-box {
  background: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(251, 201, 27, 0.4);
}

.timeline-step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--charcoal-dark);
}

.timeline-step-desc {
  font-size: 0.85rem;
  color: var(--gray-medium);
  line-height: 1.4;
}

/* --- 5.5 Trusted Partners Section --- */
.partners-section {
  padding-top: 15px; /* Keep top gap eliminated */
  padding-bottom: 45px;
  background-color: #ffffff; /* Changed back to white */
  border-top: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.partners-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--charcoal); /* Changed back to charcoal */
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.partners-slider-wrapper {
  --item-width: 280px; /* Individual item width - tighter columns to reduce blank space */
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 840px; /* Constrain width to exactly 3 items at a time (3 * 280px = 840px) */
  margin: 0 auto;
  padding: 5px 0;
  display: flex;
}

/* Premium side gradient fades (changed back to white) */
.partners-slider-wrapper::before,
.partners-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.partners-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.partners-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: partnersScroll 20s linear infinite;
}

.partner-logo-item {
  flex-shrink: 0;
  width: var(--item-width);
  height: 150px; /* Tight, proportional height to match large logos */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px; /* Tighter side spacing */
}

.partner-logo-item img {
  height: auto;
  max-height: 140px; /* Enlarged to fill almost the entire container height */
  width: auto;
  max-width: 98%;
  object-fit: contain;
  opacity: 0.95;
  transition: var(--transition-smooth);
}

.partner-logo-item img:hover {
  transform: scale(1.08);
  opacity: 1;
}

@keyframes partnersScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1248px) {
  .partners-slider-wrapper {
    --item-width: calc((100vw - 48px) / 3);
  }
  .partner-logo-item {
    height: 180px;
    padding: 0 15px;
  }
  .partner-logo-item img {
    max-height: 130px;
  }
}

@media (max-width: 900px) {
  .partners-slider-wrapper {
    --item-width: calc((100vw - 48px) / 2);
    max-width: calc(var(--item-width) * 2);
  }
  .partner-logo-item {
    height: 150px;
    padding: 0 15px;
  }
  .partner-logo-item img {
    max-height: 110px;
  }
}

@media (max-width: 600px) {
  .partners-slider-wrapper {
    --item-width: calc(100vw - 48px);
    max-width: var(--item-width);
  }
  .partner-logo-item {
    height: 130px;
    padding: 0 10px;
  }
  .partner-logo-item img {
    max-height: 90px;
  }
}

/* --- 6. Hotel Guides Blog Strip --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.blog-card-content {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--gray-medium);
  margin-bottom: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 20px;
  line-height: 1.5;
}

.blog-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-link:hover {
  color: var(--charcoal-dark);
}

/* --- 7. Trust Bar --- */
.trust-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-info {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal-dark);
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--gray-medium);
}

/* --- 8. WhatsApp CTA Section --- */
.whatsapp-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(18, 140, 126, 0.2);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  padding: 60px 80px;
  gap: 40px;
}

.whatsapp-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.whatsapp-cta-content {
  position: relative;
  z-index: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.whatsapp-cta h3 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  text-align: left;
}

.whatsapp-cta p {
  font-size: 1.1rem;
  color: #e2f7f4;
  max-width: 550px;
  margin: 0 0 30px 0;
  font-weight: 300;
  position: relative;
  z-index: 1;
  text-align: left;
}

.whatsapp-cta .whatsapp-section-logo {
  position: relative;
  z-index: 1;
}

.whatsapp-cta-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.whatsapp-cta-image img {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
  animation: floatSpecialist 6s ease-in-out infinite;
}

@keyframes floatSpecialist {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive Styles for WhatsApp CTA */
@media (max-width: 992px) {
  .whatsapp-cta {
    grid-template-columns: 1fr;
    padding: 60px 40px;
    text-align: center;
    gap: 30px;
  }

  .whatsapp-cta-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .whatsapp-cta h3 {
    text-align: center;
  }

  .whatsapp-cta p {
    text-align: center;
    margin: 0 auto 30px auto;
  }

  .whatsapp-cta-image img {
    max-height: 260px;
  }
}

@media (max-width: 576px) {
  .whatsapp-cta {
    padding: 40px 24px;
  }

  .whatsapp-cta-image img {
    max-height: 220px;
  }
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Custom styling for the button inside the green CTA section */
.whatsapp-cta .btn-whatsapp {
  background-color: var(--white);
  color: #075E54;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.whatsapp-cta .btn-whatsapp:hover {
  background-color: #f5f5f5;
  color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* WhatsApp Icon Wrapper inside buttons */
.whatsapp-btn-icon-wrapper {
  background: var(--white);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.whatsapp-btn-icon {
  height: 18px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Make icon wrapper transparent inside white buttons */
.whatsapp-cta .btn-whatsapp .whatsapp-btn-icon-wrapper {
  background: transparent;
  box-shadow: none;
}

/* Sticky Floating WhatsApp Button */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(251, 201, 27, 0.35);
  z-index: 999;
  cursor: pointer;
  animation: whatsappPulse 2s infinite;
  transition: var(--transition-smooth);
}

.whatsapp-floating svg {
  width: 30px;
  height: 30px;
  fill: var(--charcoal-dark);
  transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
  transform: scale(1.1) translateY(-2px);
  background-color: var(--gold-dark);
}

.whatsapp-floating:hover svg {
  fill: var(--white);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 201, 27, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(251, 201, 27, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 201, 27, 0);
  }
}

/* --- 9. Footer --- */
.site-footer {
  background-color: var(--charcoal-dark);
  color: var(--white);
  padding: 80px 0 30px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* --- Social Icons styling --- */
.footer-social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.footer-social-link:hover svg {
  fill: var(--white);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 320px;
  font-weight: 300;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  color: var(--gold);
}

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

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

.footer-links a {
  color: var(--gray-light);
  font-size: 0.95rem;
}

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

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

.footer-info li {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-info-icon {
  color: var(--gold);
  flex-shrink: 0;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-medium);
}

/* --- Responsive Adaptations (Mobile First) --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  /* Site Header Mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-left: 1px solid rgba(181, 148, 83, 0.15);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px 60px 40px;
    gap: 24px;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
  }

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

  /* Slide-in staggered link animation */
  .nav-menu li {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    list-style: none;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-menu li:nth-child(1) { transition-delay: 0.08s; }
  .nav-menu li:nth-child(2) { transition-delay: 0.14s; }
  .nav-menu li:nth-child(3) { transition-delay: 0.20s; }
  .nav-menu li:nth-child(4) { transition-delay: 0.26s; }
  .nav-menu li:nth-child(5) { transition-delay: 0.32s; }
  .nav-menu li:nth-child(6) { transition-delay: 0.38s; }
  .nav-menu li:nth-child(7) { transition-delay: 0.44s; } /* Stagger for footer concierge */

  /* Hamburger Morphing Animation into X */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--gold) !important;
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--gold) !important;
  }

  .nav-link {
    font-size: 1.3rem;
    color: var(--charcoal-dark);
    display: inline-block;
    padding: 8px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    width: 100%;
  }

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

  .nav-link::after {
    bottom: 2px;
  }

  /* Mobile menu footer concierge styling */
  .mobile-menu-footer {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-top: auto; /* Push it to the bottom */
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid rgba(181, 148, 83, 0.15);
  }

  .mobile-menu-footer-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--success);
    color: var(--white) !important;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-menu-btn:hover {
    background: #218838;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
  }

  /* Compare columns collapse */
  .compare-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .compare-column {
    padding: 40px 24px;
  }

  .compare-column:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  /* Timeline collapse */
  .timeline {
    flex-direction: column;
    gap: 40px;
  }

  .timeline::after {
    left: 30px;
    top: 5%;
    bottom: 5%;
    width: 2px;
    height: auto;
  }

  .timeline-step {
    display: flex;
    text-align: left;
    align-items: center;
    padding: 0;
  }

  .timeline-icon-box {
    margin: 0 24px 0 0;
    flex-shrink: 0;
  }

  .timeline-step-content {
    display: flex;
    flex-direction: column;
  }

  /* Blog grid collapse */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Footer grid collapse */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- Category Page Layout (Makkah & Madinah) --- */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center top;
  color: var(--white);
  padding-top: 40px; /* Clean padding offset below sticky header */
  text-align: center;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 12px;
  color: var(--white) !important;
  font-weight: 800;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.breadcrumbs {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span {
  margin: 0 8px;
  color: var(--gold);
}

/* --- Sticky Filter Bar --- */
.filter-bar {
  position: sticky;
  top: 80px; /* Sits directly below the site header */
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  z-index: 900;
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.header-scrolled + .page-hero + .filter-bar,
.header-scrolled ~ .filter-bar {
  top: 70px; /* Offsets when header shrinks */
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-light);
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg);
  border: 1px solid var(--gray-light);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  color: var(--charcoal-light);
}

.filter-btn:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal-dark);
}

/* --- 2-Column Content Layout --- */
.page-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

/* --- Hotel Grid (Category page) --- */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cols on main layout */
  gap: 32px;
}

.hotel-grid-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  opacity: 1;
  transform: translateY(0);
  text-decoration: none;
  color: inherit;
}

/* For filtering animations */
.hotel-grid-card.fade-out {
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  border: none;
  margin: 0;
  padding: 0;
}

.hotel-grid-card.fade-in {
  animation: cardFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hotel-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.hotel-grid-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.hotel-grid-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hotel-grid-card:hover .hotel-grid-card-image img {
  transform: scale(1.08);
}

.hotel-grid-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hotel-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.meta-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border-color);
  color: var(--charcoal-light);
}

.meta-badge.badge-distance {
  background: rgba(199, 145, 19, 0.08);
  color: var(--gold-dark);
  border-color: rgba(199, 145, 19, 0.15);
}

.meta-badge.badge-price {
  background: rgba(50, 50, 50, 0.05);
  color: var(--charcoal);
}

/* --- Sidebar --- */
.sidebar-sticky {
  position: sticky;
  top: 160px; /* Offset below navbar + filterbar */
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: var(--transition-smooth);
}

.header-scrolled ~ .page-layout .sidebar-sticky {
  top: 150px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--charcoal-light);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--bg);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(251, 201, 27, 0.1);
}

.btn-sidebar {
  width: 100%;
  margin-top: 10px;
}

/* --- Responsiveness for Category Page --- */
@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .sidebar-sticky {
    position: static;
  }
  
  .hotel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .filter-bar {
    top: 70px;
    padding: 12px 0;
  }
  
  .filter-container {
    gap: 16px;
  }
  
  .filter-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .filter-buttons {
    width: 100%;
  }
  
  .filter-btn {
    flex-grow: 1;
    text-align: center;
    font-size: 0.8rem;
  }

  .hotel-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- Hotel Detailed Page --- */
.hotel-header-block {
  padding: 40px 0 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.hotel-header-info h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--charcoal-dark);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hotel-header-actions {
  display: flex;
  gap: 16px;
  align-self: center;
}

/* --- Image Gallery Slideshow --- */
.gallery-section {
  margin-bottom: 40px;
}

/* --- Image Gallery Grid (Airbnb Style) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  height: 480px;
  gap: 12px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-main {
  grid-row: span 3;
  grid-column: 1;
}

.gallery-side {
  grid-column: 2;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  transition: background 0.3s ease;
  pointer-events: none; /* Let hover go to container */
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.98);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  user-select: none;
  backdrop-filter: blur(10px);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 200;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-arrow:hover {
  background: var(--gold);
  color: var(--charcoal-dark);
  border-color: var(--gold);
}

.lightbox-arrow.prev {
  left: 32px;
}

.lightbox-arrow.next {
  right: 32px;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

#lightbox-caption {
  color: var(--white);
  margin-top: 20px;
  font-size: 1.15rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.lightbox-disclaimer {
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-align: center;
  letter-spacing: 0.2px;
}

/* --- Quick Facts Box --- */
@keyframes factsFadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.facts-box {
  background-color: var(--white);
  background-image: radial-gradient(circle at 50% 100%, rgba(251, 201, 27, 0.035) 20%, rgba(251, 201, 27, 0.01) 50%, transparent 85%),
                    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 80 80'%3E%3Cpath d='M40 0l10 30h30L55 50l10 30-25-20-25 20 10-30L0 30h30z' fill='%23fbc91b' fill-opacity='0.015' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 100% 100%, 60px 60px;
  background-repeat: no-repeat, repeat;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  animation: factsFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.facts-box h3 {
  font-size: 1.35rem;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--charcoal-dark);
  letter-spacing: -0.2px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fact-icon {
  color: var(--gold-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fact-item:hover .fact-icon {
  transform: scale(1.2);
}

.fact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-medium);
  font-weight: 700;
  margin-bottom: 1px;
}

.fact-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal-dark);
}

/* Highlights Box below facts */
.highlights-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.highlights-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-medium);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.highlights-label svg {
  color: var(--gold-dark);
}

.highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(199, 145, 19, 0.03);
  border: 1px solid rgba(199, 145, 19, 0.12);
  color: var(--gold-dark);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-tag:hover {
  background: rgba(199, 145, 19, 0.08);
  border-color: rgba(199, 145, 19, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(199, 145, 19, 0.06);
}

.highlight-tag .check-icon {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.highlight-tag:hover .check-icon {
  transform: scale(1.2) rotate(5deg);
}

/* --- 2-Column Content Layout (Intro & Maps) --- */
.details-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: start;
}

.intro-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.map-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-info {
  padding: 20px;
  font-size: 0.9rem;
}

/* --- Room Types --- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.room-card-image {
  height: 180px;
  overflow: hidden;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-name {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.room-beds {
  font-size: 0.85rem;
  color: var(--gray-medium);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.room-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.room-features li {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.room-features li::before {
  content: '•';
  color: var(--gold-dark);
  position: absolute;
  left: 0;
}

.room-price-tag {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.room-price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray-medium);
  font-weight: 700;
}

.room-price-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-dark);
}



/* --- Responsive YouTube Video Tour --- */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Pros & Cons --- */
.pros-cons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.pros-card, .cons-card {
  background: #f3f4f6; /* slightly darker background */
  border: 1px solid rgba(50, 50, 50, 0.08);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2; /* Sit above background blobs */
}

.pros-card:hover, .cons-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pros-card h4, .cons-card h4 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pros-card h4 { color: var(--color-success); }
.cons-card h4 { color: var(--color-error); }

.pros-cons-list {
  list-style: none;
}

.pros-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.pros-cons-list li span:first-child {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

.pros-cons-list.pros-list li span:first-child {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.pros-cons-list.cons-list li span:first-child {
  background: var(--color-error-bg);
  color: var(--color-error);
}

/* Animations for outer background blobs */
@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -35px) scale(1.15); }
  100% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 35px) scale(1.15); }
  100% { transform: translate(20px, -20px) scale(0.9); }
}

/* --- Review Scores --- */
.scores-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr; /* 3 balanced columns side-by-side */
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  margin-top: 20px;
}

.overall-score-box {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding-right: 24px;
}

.overall-score-num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 10px;
}

.overall-score-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 6px;
}

.overall-score-count {
  font-size: 0.85rem;
  color: var(--gray-medium);
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border-color);
  padding-right: 24px;
}

.static-ratings-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.static-rating-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #fcfcfc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.static-rating-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.score-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.score-name {
  font-size: 0.95rem;
  font-weight: 600;
  width: 120px;
}

.score-bar-track {
  flex-grow: 1;
  height: 8px;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.score-bar-fill {
  height: 100%;
  background: var(--gold-dark);
  border-radius: 10px;
  width: 0; /* Animated dynamically in JS */
  transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

.score-num {
  font-size: 0.95rem;
  font-weight: 700;
  width: 30px;
  text-align: right;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--charcoal-dark);
  transition: var(--transition-smooth);
}

.faq-question:hover {
  background: rgba(251, 201, 27, 0.05);
}

.faq-toggle-icon {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gold-dark);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.6;
}

/* --- Booking Request Form --- */
.booking-request-section {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.booking-form-grid .form-group-full {
  grid-column: span 2;
}

/* --- Disclaimer --- */
.disclaimer-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--gold-dark);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gray-medium);
  line-height: 1.5;
  margin-top: 40px;
}

/* --- Comments Section --- */
.comments-container {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.comment-card {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal-dark);
}

.comment-date {
  font-size: 0.8rem;
  color: var(--gray-medium);
}

.comment-body {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.5;
}

.comments-container h4 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.no-comments {
  color: var(--gray-medium);
  font-style: italic;
  font-size: 0.95rem;
}

/* --- Responsiveness for Detailed Page --- */
@media (max-width: 1024px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    zoom: 1.0; /* Keep zoom at 1.0 on mobile to fit the screen perfectly */
  }

  .hotel-header-block {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hotel-header-actions {
    width: 100%;
  }
  
  .hotel-header-actions .btn {
    flex-grow: 1;
    font-size: 0.85rem;
    padding: 12px 16px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 240px 80px;
    height: auto;
    gap: 8px;
  }

  .gallery-main {
    grid-row: 1;
    grid-column: span 3;
  }

  .gallery-side {
    grid-column: auto;
    grid-row: 2;
  }

  .gallery-overlay {
    font-size: 1.5rem;
  }
  
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .room-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pros-cons-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .scores-container {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 30px;
  }
  
  .overall-score-box {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 30px;
  }

  .score-bars {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
  }
  
  .booking-request-section {
    padding: 24px;
  }
  
  .booking-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .booking-form-grid .form-group-full {
    grid-column: span 1;
  }
  
  .comments-container {
    padding: 24px;
  }
}

/* --- Hotel Comparison Tool --- */
.compare-selectors-box {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.compare-selectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 20px;
  align-items: flex-end;
}

.compare-selectors-grid select {
  height: 48px;
  cursor: pointer;
}

.compare-table-wrapper {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  margin-bottom: var(--section-pad);
  opacity: 0;
  transform: translateY(20px);
}

.compare-table-wrapper.active {
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.compare-table th, 
.compare-table td {
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.compare-table th {
  background: var(--charcoal-dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}

.compare-table th a {
  color: var(--white);
}

.compare-table th a:hover {
  color: var(--gold);
}

.compare-table th:last-child, 
.compare-table td:last-child {
  border-right: none;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* Row Labels column */
.compare-table td.row-label {
  font-weight: 700;
  text-align: left;
  background: var(--bg);
  width: 200px;
  color: var(--charcoal-dark);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* Alternating Row Color */
.compare-table tr:nth-child(even) td:not(.row-label) {
  background-color: rgba(250, 250, 250, 0.6);
}

.compare-table tr:nth-child(odd) td:not(.row-label) {
  background-color: var(--white);
}

/* Value Highlights */
.compare-table td.best-value {
  background-color: rgba(251, 201, 27, 0.12) !important;
  font-weight: 700;
  color: var(--charcoal-dark);
  border-left: 2px dashed rgba(199, 145, 19, 0.2);
  border-right: 2px dashed rgba(199, 145, 19, 0.2);
}

/* Placeholder Empty State */
.compare-empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--section-pad);
}

.compare-empty-state svg {
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.compare-empty-state h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.compare-empty-state p {
  color: var(--gray-medium);
  max-width: 450px;
  margin: 0 auto;
}

/* --- Responsiveness for Comparison --- */
@media (max-width: 1024px) {
  .compare-selectors-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .compare-selectors-grid button {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .compare-table, 
  .compare-table tbody, 
  .compare-table tr, 
  .compare-table td, 
  .compare-table th {
    display: block;
    width: 100%;
  }
  
  .compare-table thead {
    display: none;
  }
  
  .compare-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  
  .compare-table tr {
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
  }
  
  .compare-table td {
    text-align: right;
    padding: 14px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .compare-table td.row-label {
    display: none; /* Hide the vertical labels */
  }
  
  .compare-table td:last-child {
    border-bottom: none;
  }
  
  /* Prepend row title on mobile */
  .compare-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--gray-medium);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-align: left;
  }
  
  /* Sticky Hotel Header Card */
  .compare-table td.hotel-name-cell {
    background: var(--charcoal-dark) !important;
    color: var(--white) !important;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 18px;
    position: sticky;
    top: 70px; /* Just below sticky header */
    z-index: 10;
    display: block;
    text-align: center;
    border-bottom: 2px solid var(--gold);
  }
  
  .compare-table td.hotel-name-cell a {
    color: var(--white);
  }
  
  .compare-table td.hotel-name-cell::before {
    display: none;
  }
  
  .compare-table td.best-value {
    background-color: rgba(251, 201, 27, 0.08) !important;
    border-left: none;
    border-right: none;
    border-top: 1px dashed rgba(199, 145, 19, 0.3);
    border-bottom: 1px dashed rgba(199, 145, 19, 0.3);
  }
}

/* --- About & Contact Pages --- */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.story-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.story-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

/* Quote Box */
.mission-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
  color: var(--gold-dark);
  max-width: 800px;
  margin: 80px auto;
  line-height: 1.4;
  position: relative;
  padding: 0 40px;
}

.mission-quote::before, 
.mission-quote::after {
  content: '"';
  font-size: 6rem;
  position: absolute;
  color: rgba(199, 145, 19, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.mission-quote::before {
  left: 0;
  top: -20px;
}

.mission-quote::after {
  right: 0;
  bottom: -40px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 30px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 90px;
  height: 90px;
  background: var(--charcoal-dark);
  color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gold-dark);
}

.team-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal-dark);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  line-height: 1.6;
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.contact-details-col {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-details-col h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.contact-method-list {
  list-style: none;
  margin-bottom: 35px;
}

.contact-method-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-method-icon {
  font-size: 1.3rem;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-method-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-medium);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.contact-method-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal-dark);
}

.contact-form-col {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-sm);
}

.contact-form-col h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

/* --- About & Contact Responsiveness --- */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-image {
    order: -1; /* Display image first on mobile */
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

  .contact-form-col {
    padding: 30px 24px;
  }
}

/* --- Ratings Slideshow --- */
.ratings-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.ratings-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ratings-slider-dot.active {
  background: var(--gold-dark);
  transform: scale(1.2);
}

.ratings-slide-item {
}

/* --- Room Card Hover Lift & Shadow --- */
.room-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.room-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.room-modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.room-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.2rem;
  color: var(--charcoal-light);
  cursor: pointer;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.room-modal-close:hover {
  background: var(--charcoal-dark);
  color: var(--white);
  border-color: var(--charcoal-dark);
}

.room-modal-content-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: 100%;
  max-height: 90vh;
}

/* Left side gallery */
.room-modal-gallery-col {
  position: relative;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 520px;
}

.room-modal-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.room-modal-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-modal-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.room-modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slideshow navigation arrows */
.room-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  color: var(--charcoal-dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-smooth);
}

.room-modal-arrow:hover {
  background: var(--gold-dark);
  color: var(--white);
  border-color: var(--gold-dark);
}

.room-modal-arrow.prev {
  left: 20px;
}

.room-modal-arrow.next {
  right: 20px;
}

/* Dot indicators */
.room-modal-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.room-modal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.room-modal-dot.active {
  background: var(--white);
  transform: scale(1.25);
}

/* Right side info */
.room-modal-info-col {
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: 520px;
}

.room-modal-title {
  font-size: 2.2rem;
  color: var(--charcoal-dark);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.room-modal-price-tag {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.room-modal-price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray-medium);
  font-weight: 600;
  letter-spacing: 0.8px;
}

.room-modal-price-val {
  font-size: 1.6rem;
  color: var(--gold-dark);
  font-weight: 800;
  font-family: var(--font-heading);
}

.room-modal-desc-wrapper h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--charcoal-light);
  margin-bottom: 8px;
}

.room-modal-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal-light);
  font-family: var(--font-body);
}

/* Responsive modal rules */
@media (max-width: 768px) {
  .room-modal {
    padding: 10px;
  }
  .room-modal-container {
    max-height: 95vh;
  }
  .room-modal-content-layout {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .room-modal-gallery-col {
    height: 280px;
  }
  .room-modal-info-col {
    height: auto;
    padding: 24px;
    max-height: calc(95vh - 280px);
  }
  .room-modal-title {
    font-size: 1.6rem;
  }
  .room-modal-price-val {
    font-size: 1.3rem;
  }
  .room-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 1.8rem;
  }
}

/* --- Premium UI Redesign Enhancements --- */

/* Booking Process Timeline Upgrades */
.timeline::after {
  background: linear-gradient(to right, rgba(221, 221, 221, 0.1) 0%, var(--gold) 50%, rgba(221, 221, 221, 0.1) 100%) !important;
}

.timeline-icon-box {
  position: relative;
  border-width: 3px !important;
}

.timeline-icon-box::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(251, 201, 27, 0.4);
  opacity: 0;
  transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-icon-box::before {
  opacity: 1;
  transform: rotate(180deg);
  animation: timelinePulse 2s linear infinite;
}

@keyframes timelinePulse {
  0% {
    transform: rotate(0deg);
    border-color: rgba(251, 201, 27, 0.4);
  }
  50% {
    border-color: rgba(251, 201, 27, 0.9);
    box-shadow: 0 0 15px rgba(251, 201, 27, 0.3);
  }
  100% {
    transform: rotate(360deg);
    border-color: rgba(251, 201, 27, 0.4);
  }
}

/* Recommended booking assistant crown */
.compare-card.recommended {
  border-color: rgba(46, 125, 50, 0.4) !important;
  box-shadow: 0 20px 50px rgba(46, 125, 50, 0.08), var(--shadow-md) !important;
}

.compare-card.recommended::after {
  content: '👑';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.2rem;
}


