/* ============================================================
   Obixe — Premium Hotel Booking
   style.css | Global Styles (Mobile-Responsive Update)
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   Theme: Navy Blue / Cream / Teal accents
   ============================================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Primary Colors */
  --navy:        #1a3a52;
  --navy-dark:   #0f2438;
  --navy-light:  #2d5a7b;
  --teal:        #1ba0a0;
  --teal-light:  #2db8b8;
  --teal-dark:   #0f7070;

  /* Neutral Colors */
  --cream:       #f5f0eb;
  --cream-light: #faf7f3;
  --white:       #ffffff;
  --gray-100:    #f0ede9;
  --gray-200:    #e0dbd4;
  --gray-400:    #9e9890;
  --gray-600:    #5a5650;
  --black-soft:  #1a1a1a;
  --black:       #0a0a0a;

  /* Accent Colors */
  --gold:        #c9a96e;
  --gold-light:  #d9b896;
  --gold-dark:   #a8843d;
  --sky-blue:    #87ceeb;
  --light-blue:  #b0d9e8;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-base:   0.35s ease;
  --transition-slow:   0.6s ease;
  --transition-luxury: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-card:  0 4px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.16);
  --shadow-teal:  0 8px 40px rgba(27,160,160,0.25);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p { font-size: 1rem; color: var(--gray-600); }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- SECTION SPACING ---------- */
.section    { padding: 40px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 40px 0; }

/* ---------- SECTION LABELS ---------- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--teal);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 540px;
  margin: 0 auto 50px;
}

/* ---------- BUTTONS ---------- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 60px;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: all var(--transition-luxury);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-100%);
  transition: transform var(--transition-luxury);
  z-index: 0;
}

.btn-primary-custom span,
.btn-primary-custom i { position: relative; z-index: 1; }

.btn-primary-custom:hover {
  color: var(--navy);
  border-color: var(--teal);
}
.btn-primary-custom:hover::before { transform: translateX(0); }

/* --- Outline Button --- */
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #000;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 60px;
  border: 1.5px solid var(--black);
  cursor: pointer;
  transition: all var(--transition-luxury);
}
.btn-outline-custom:hover {
  background: var(--black);
  color: var(--white);
}

/* --- Teal Button --- */
.btn-teal-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 60px;
  border: 1.5px solid var(--teal);
  cursor: pointer;
  transition: all var(--transition-luxury);
}
.btn-teal-custom:hover {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
  box-shadow: var(--shadow-teal);
}

/* --- Gold Button --- */
.btn-gold-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 60px;
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition-luxury);
}
.btn-gold-custom:hover {
  background: var(--black);
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: var(--shadow-teal);
}

/* --- White/Ghost Button --- */
.btn-white-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2db7b7;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 60px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-luxury);
}
.btn-white-custom:hover {
  background: transparent;
  border-color: var(--white);
  color: #025e6e;
}

/* Full-width buttons on small screens */
@media (max-width: 480px) {
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-teal-custom,
  .btn-gold-custom,
  .btn-white-custom {
    width: 69%;
    justify-content: center;
    padding: 14px 24px;
  }
}

/* ---------- CARDS ---------- */
.card-base {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-luxury);
  box-shadow: var(--shadow-card);
}
.card-base:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* ---------- RATING STARS ---------- */
.star-rating { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }

/* ---------- DIVIDERS ---------- */
.divider-teal {
  width: 48px;
  height: 2px;
  background: var(--teal);
  margin: 20px auto;
}
.divider-teal-left { margin: 20px 0; }

/* ---------- OVERLAY UTILITIES ---------- */
.overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
}
.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 100%);
}

/* ---------- BADGE ---------- */
.badge-custom {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 60px;
  border: 1px solid currentColor;
}
.badge-teal { color: var(--teal); border-color: var(--teal); }
.badge-navy { color: var(--white); background: var(--navy); border-color: var(--navy); }

/* ---------- SCROLL FADE-IN ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Disable staggered delays on mobile to avoid perceived sluggishness */
@media (max-width: 576px) {
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 { transition-delay: 0s; }
}

/* ---------- CUSTOM SCROLLBAR ---------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ---------- SELECTION ---------- */
::selection { background: var(--teal); color: var(--white); }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all var(--transition-luxury);
  background: rgba(255,255,255,0.95);
}

#mainNav.scrolled {
  background: var(--white) !important;
  padding: 14px 0;
  box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 600;
  color: var(--navy) !important;
  letter-spacing: 0.04em;
}
.navbar-brand span { color: var(--teal); }

#mainNav.scrolled .navbar-brand { color: var(--black) !important; }
#mainNav.scrolled .navbar-brand span { color: var(--teal-light); }

.nav-link-custom {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy) !important;
  padding: 6px 0 !important;
  margin: 0 18px;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width var(--transition-base);
}
.nav-link-custom:hover { color: var(--navy) !important; }
.nav-link-custom:hover::after,
.nav-link-custom.active::after { width: 100%; }
.nav-link-custom.active { color: var(--navy) !important; }

#mainNav.scrolled .nav-link-custom { color: rgba(2,2,2,0.82) !important; }
#mainNav.scrolled .nav-link-custom:hover { color: var(--white) !important; }
#mainNav.scrolled .nav-link-custom.active { color: var(--white) !important; }

.navbar-toggler {
  border: 1.5px solid var(--navy) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a3a52' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991px) {
  #mainNav { padding: 14px 0; }

  .navbar-collapse {
    background: var(--navy);
    border-radius: var(--radius-md);
    margin-top: 12px;
    padding: 20px 24px;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .nav-link-custom {
    margin: 6px 0;
    color: var(--white) !important;
    font-size: 0.9rem;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-link-custom:last-child { border-bottom: none; }
  .nav-link-custom::after { background: var(--teal-light); }
  .nav-auth { margin-top: 16px !important; }
}

@media (max-width: 480px) {
  .navbar-brand { font-size: 1.3rem; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;      /* full screen on mobile */
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f4f8 0%, #f5f0eb 100%);
  padding: 100px 0 60px;   /* top: clear fixed nav; bottom: breathing room */
}

/* Desktop: restore the original 78vh cap */
@media (min-width: 992px) {
  .hero {
    min-height: 78vh;
    height: 78vh;
    padding: 0;
  }
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.9) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,58,82,0.4) 0%,
    rgba(27,160,160,0.15) 50%,
    rgba(26,58,82,0.3) 100%
  );
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--navy);
  padding: 0 20px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.5vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: block;
  animation: fadeInDown 1s ease 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 16px;
  animation: fadeInUp 1s ease 0.4s both;
}
.hero-title em {
  font-style: italic;
  color: var(--teal);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 20px 36px;
  font-weight: 300;
  animation: fadeInUp 1s ease 0.6s both;
}

/* --- Search Bar --- */
.hero-search {
  animation: fadeInUp 1s ease 0.8s both;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.search-card {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(27,160,160,0.2);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
}

/* Desktop layout: single row */
.search-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 0.8fr auto;
  gap: 0;
  align-items: stretch;
}

.search-field {
  position: relative;
  padding: 0 20px;
  border-right: 1px solid rgba(27,160,160,0.15);
}
.search-field:first-child { padding-left: 0; }
.search-field:last-child  { border-right: none; padding-right: 0; }

.search-field-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.search-field input,
.search-field select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.search-field input::placeholder { color: rgba(26,58,82,0.4); }
.search-field input[type="date"] { color-scheme: light; }
.search-field select option { background: var(--cream); color: var(--navy); }

.search-field > i {
  position: absolute;
  bottom: 5px; left: 5px;
  font-size: 0.75rem;
  color: #1a3a52;
}
.search-field:first-child > i { left: -12px; }

/* Icons INSIDE labels stay inline */
.search-field-label i {
  position: static !important;
  font-size: inherit;
  color: inherit;
}

.search-btn-wrap { display: flex; align-items: center; padding-left: 20px; }

.search-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 60px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-luxury);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-btn:hover {
  background: var(--teal);
  box-shadow: var(--shadow-teal);
  transform: scale(1.03);
}

/* Tablet: 2-column grid */
@media (max-width: 900px) {
  .search-card {
  position: relative;
  z-index: 100; padding: 24px 22px; }

  .search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid rgba(27,160,160,0.12);
    padding: 14px 16px;
  }
  .search-field:nth-child(odd)  { border-right: 1px solid rgba(27,160,160,0.12); }
  .search-field:last-of-type    { border-bottom: none; }

  /* daterange spans full width on tablet */
  .search-field--daterange {
    grid-column: span 2;
    border-right: none !important;
    border-bottom: 1px solid rgba(27,160,160,0.12);
  }
  .search-field--daterange .daterange-half { padding: 14px 20px; }

  .search-btn-wrap {
    grid-column: span 2;
    padding: 16px 0 0;
  }
  .search-btn { width: 100%; justify-content: center; }
}

/* Mobile: single-column stacked */
@media (max-width: 576px) {
  .search-card {
    position: relative;
    z-index: 100;
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .search-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Every field: full-width row with divider */
  .search-field {
    width: 100%;
    padding: 13px 4px;
    border-right: none !important;
    border-bottom: 1px solid rgba(27,160,160,0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .search-field:last-of-type { border-bottom: none; }

  /* Fix label so icon stays inline */
  .search-field-label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
  }

  /* Fix destination input row */
  .search-field input,
  .search-field select {
    font-size: 0.92rem;
    padding: 2px 0;
  }

  /* Date range: two halves side by side within the row */
  .search-field--daterange {
    flex-direction: row !important;
    align-items: stretch;
    padding: 0 !important;
    border-bottom: 1px solid rgba(27,160,160,0.12) !important;
  }
  .daterange-half {
    flex: 1;
    padding: 13px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .daterange-half .search-field-label {
    letter-spacing: 0.10em;
    font-size: 0.6rem;
    margin-bottom: 4px;
  }
  .daterange-val { font-size: 0.88rem; }
  .daterange-icon { font-size: 0.78rem; }
  .daterange-sep { width: 1px; background: rgba(27,160,160,0.15); align-self: stretch; }

  /* Guests select arrow fix */
  .search-field select { width: 100%; }

  .search-btn-wrap {
    padding: 14px 0 0;
    border-bottom: none;
  }
  .search-btn { width: 100%; justify-content: center; padding: 14px 20px; }
}

/* ── Feature Cards ── */
.hero-features {
  display: flex;
  gap: 1rem;
  margin-top: 1.1rem;
}

.feature-card {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  background: rgba(245, 245, 245, 0.97);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.55rem;
  color: #000000;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 4px 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
}

.feature-text h4 span {
  font-weight: 400;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
}

.feature-text p {
  font-size: 0.8rem;
  color: #000;
  margin: 0;
  line-height: 1.45;
}

/* Feature cards: stack vertically on narrow screens */
@media (max-width: 768px) {
  .hero-features { flex-direction: column; gap: 0.75rem; }
  .feature-card  { flex: none; width: 100%; }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--navy);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 1s ease 1.2s both;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--navy), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Hide scroll indicator on small phones to save space */
@media (max-width: 480px) {
  .hero-scroll { display: none; }
}

/* ---------- HERO KEYFRAMES ---------- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--navy);
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num em { color: var(--teal-light); font-style: normal; }
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}

@media (max-width: 576px) {
  .stats-strip { padding: 32px 0; }

  /* Stack stats 2-per-row on phones */
  .stats-strip .row { row-gap: 28px; }
  .stat-item { padding: 0 8px; }
  .stat-num  { font-size: 2rem; }
}

/* ============================================================
   FEATURED HOTELS
   ============================================================ */
.hotels-section { background: var(--cream); }

.hotel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-luxury);
  box-shadow: var(--shadow-card);
  height: 100%;
}
.hotel-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Disable hover lift on touch devices */
@media (hover: none) {
  .hotel-card:hover { transform: none; box-shadow: var(--shadow-card); }
}

.hotel-img-wrap {
  position: relative;
  height: 200px;   /* slightly taller for visual impact */
  overflow: hidden;
}
.hotel-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.hotel-card:hover .hotel-img-wrap img { transform: scale(1.08); }

@media (max-width: 576px) {
  .hotel-img-wrap { height: 180px; }
}

.hotel-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--navy);
  color: var(--teal-light);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 60px;
}
.hotel-wishlist {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;   /* slightly larger tap target */
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}
.hotel-wishlist:hover { background: var(--navy); color: var(--teal); }
.hotel-wishlist i { font-size: 0.75rem; color: var(--gray-600); transition: color var(--transition-fast); }
.hotel-wishlist:hover i { color: var(--teal); }

.hotel-body { padding: 14px 16px 16px; }
.hotel-location {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hotel-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.2;
}
.hotel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 5px;
}
.hotel-rating { display: flex; align-items: center; gap: 4px; }
.hotel-rating .stars { color: var(--gold); font-size: 0.65rem; }
.hotel-rating .score {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--black);
}
.hotel-rating .count { font-size: 0.62rem; color: var(--gray-400); }
.hotel-amenities { display: flex; gap: 8px; }
.hotel-amenities i { font-size: 0.72rem; color: var(--gray-400); }

.hotel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}
.hotel-price-label { font-size: 0.55rem; color: var(--gray-400); letter-spacing: 0.08em; text-transform: uppercase; }
.hotel-price-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1;
}
.hotel-price-value span { font-size: 0.7rem; font-weight: 400; color: var(--gray-400); font-family: var(--font-body); }

.btn-view {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 60px;
  padding: 8px 16px;
  transition: all var(--transition-luxury);
  white-space: nowrap;
  background: transparent;
  /* Minimum tap target */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn-view:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { background: var(--white); }

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 240px;
  transition: all var(--transition-luxury);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

@media (hover: none) {
  .category-card:hover { transform: none; box-shadow: none; }
}

.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.category-card:hover img { transform: scale(1.1); }

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,82,0.82) 0%, rgba(26,58,82,0.15) 60%);
  transition: background var(--transition-base);
}
.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(26,58,82,0.9) 0%, rgba(26,58,82,0.3) 60%);
}

.category-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px;
  color: var(--white);
}
.category-icon {
  width: 40px; height: 40px;
  background: rgba(27,160,160,0.15);
  border: 1.5px solid var(--teal);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}
.category-card:hover .category-icon { background: var(--teal); }
.category-icon i { font-size: 1rem; color: var(--teal); transition: color var(--transition-fast); }
.category-card:hover .category-icon i { color: var(--white); }

.category-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 3px;
}
.category-count {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .category-card { height: 180px; }
  .category-name { font-size: 1rem; }
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,160,160,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27,160,160,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.why-section .section-title    { color: var(--white); }
.why-section .section-subtitle { color: var(--gray-400); }

.why-card {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  transition: all var(--transition-luxury);
  height: 100%;
}
.why-card:hover {
  border-color: rgba(27,160,160,0.3);
  background: rgba(27,160,160,0.05);
  transform: translateY(-6px);
}

@media (max-width: 576px) {
  .why-card { padding: 22px 18px; }
  .why-card:hover { transform: none; }
}

.why-icon-wrap {
  width: 50px; height: 50px;
  background: rgba(27,160,160,0.1);
  border: 1px solid rgba(27,160,160,0.25);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: all var(--transition-base);
}
.why-card:hover .why-icon-wrap { background: var(--teal); border-color: var(--teal); }
.why-icon-wrap i { font-size: 1.2rem; color: var(--teal); transition: color var(--transition-fast); }
.why-card:hover .why-icon-wrap i { color: var(--white); }

.why-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.why-text { font-size: 0.85rem; color: var(--gray-400); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--cream); }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all var(--transition-luxury);
  height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }

@media (max-width: 576px) {
  .testimonial-card { padding: 22px 18px; }
  .testimonial-card:hover { transform: none; box-shadow: var(--shadow-card); }
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--teal);
  margin-bottom: 14px;
  opacity: 0.5;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--black-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--black);
  margin-bottom: 2px;
}
.testimonial-meta { font-size: 0.65rem; color: var(--gray-400); letter-spacing: 0.06em; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  text-align: center;
  padding: 50px 0;
}
.cta-section::before {
  content: 'Obixe';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 18rem);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}

.cta-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-display);
  color: var(--black);
  font-size: clamp(1.8rem, 5vw, 4.2rem);
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.15;
}
.cta-title em { font-style: italic; color: var(--teal-light); }
.cta-text {
  color: rgba(10, 10, 10, 0.55);
  max-width: 480px;
  margin: 0 auto 42px;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  padding: 0 16px;
}

@media (max-width: 576px) {
  .cta-section { padding: 72px 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER — MOBILE RESPONSIVE ENHANCEMENT
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
}

.footer-top {
  padding: 80px 0 25px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}
.footer-brand span { color: var(--teal); }

.footer-desc {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--teal);
  opacity: 0;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  font-size: 0.85rem;
  color: var(--teal);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-copy a {
  color: var(--teal);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-fast);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ============================================================
   FOOTER RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── Tablets (≤ 768px) ── */
@media (max-width: 768px) {
  .footer-top {
    padding: 52px 0 36px;
  }

  .footer-desc {
    max-width: 100%;
    margin-bottom: 36px;
  }

  /* Stack footer columns with spacing */
  .site-footer .row > [class*="col-"] {
    margin-bottom: 36px;
  }

  .site-footer .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  .footer-heading {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 0.82rem;
  }
}

/* ── Small tablets (≤ 640px) ── */
@media (max-width: 640px) {
  .footer-top {
    padding: 48px 0 32px;
  }

  .footer-brand {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .footer-desc {
    font-size: 0.82rem;
    margin-bottom: 32px;
  }

  .footer-heading {
    font-size: 0.65rem;
    margin-bottom: 14px;
  }

  .footer-links a {
    font-size: 0.78rem;
    min-height: 32px;
  }

  .footer-links li {
    margin-bottom: 6px;
  }

  .footer-contact-item {
    margin-bottom: 12px;
    gap: 10px;
  }

  .footer-contact-item span {
    font-size: 0.78rem;
  }

  .footer-social {
    gap: 10px;
    margin-top: 20px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding: 20px 0;
    gap: 8px;
  }

  .footer-copy {
    font-size: 0.75rem;
    width: 100%;
    text-align: center;
  }

  .footer-legal {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .footer-legal a {
    font-size: 0.7rem;
    min-height: 32px;
  }
}

/* ── Mobile phones (≤ 480px) ── */
@media (max-width: 480px) {
  .footer-top {
    padding: 40px 0 28px;
  }

  .footer-brand {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .footer-desc {
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .footer-heading {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
  }

  .footer-links {
    padding-left: 0;
  }

  .footer-links a {
    font-size: 0.75rem;
    min-height: 28px;
  }

  .footer-links li {
    margin-bottom: 5px;
  }

  .footer-contact-item {
    margin-bottom: 10px;
    gap: 8px;
  }

  .footer-contact-item i {
    font-size: 0.75rem;
    min-width: 14px;
  }

  .footer-contact-item span {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .footer-social {
    gap: 8px;
    margin-top: 16px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  .footer-bottom {
    padding: 16px 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .footer-copy {
    font-size: 0.7rem;
    text-align: center;
    width: 100%;
    margin-bottom: 12px;
  }

  .footer-legal {
    width: 100%;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }

  .footer-legal a {
    font-size: 0.65rem;
    min-height: 28px;
    justify-content: center;
  }
}

/* ── Extra small phones (≤ 360px) ── */
@media (max-width: 360px) {
  .footer-top {
    padding: 32px 0 24px;
  }

  .footer-brand {
    font-size: 1.1rem;
  }

  .footer-desc {
    font-size: 0.74rem;
  }

  .footer-heading {
    font-size: 0.58rem;
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 0.7rem;
  }

  .footer-contact-item span {
    font-size: 0.72rem;
  }

  .footer-social {
    justify-content: center;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .footer-copy {
    font-size: 0.65rem;
  }

  .footer-legal a {
    font-size: 0.6rem;
  }
}

/* ── Accessibility: respect reduced-motion preference ── */
@media (prefers-reduced-motion: reduce) {
  .social-icon {
    transition: none;
  }

  .footer-links a::before {
    transition: none;
  }
}
/* --- Date Range Picker (two-half layout) --- */
.search-field--daterange {
  display: flex !important;
  align-items: stretch;
  padding: 0 !important;
  border-right: 1px solid rgba(27,160,160,0.15);
  gap: 0;
  cursor: pointer;
}

.daterange-half {
  flex: 1;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.daterange-half .search-field-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
}

.daterange-val-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}

.daterange-icon {
  font-size: 0.82rem;
  color: var(--navy);
  flex-shrink: 0;
  position: static !important;
}

.daterange-val {
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  white-space: nowrap;
}

.daterange-sep {
  width: 1px;
  background: rgba(27,160,160,0.15);
  align-self: stretch;
  flex-shrink: 0;
}

.daterange-hidden-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  border: none;
}

/* Flatpickr custom theme to match Obixe navy palette */
.flatpickr-calendar {
  border-radius: 16px !important;
  box-shadow: 0 16px 60px rgba(0,0,0,0.16) !important;
  border: 1px solid rgba(27,160,160,0.2) !important;
  font-family: var(--font-body) !important;
}

/* Mobile: full-width calendar, centred, no overflow */
@media (max-width: 640px) {
  .flatpickr-calendar {
    width: calc(100vw - 32px) !important;
    max-width: 360px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-radius: 14px !important;
  }
  .flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { display: none !important; }
  .flatpickr-days { width: 100% !important; }
  .dayContainer { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  .flatpickr-day { max-width: none !important; }
  .numInputWrapper { width: 7ch !important; }
}
.flatpickr-months { background: var(--navy, #1a3a52) !important; border-radius: 14px 14px 0 0 !important; }
.flatpickr-month { color: #fff !important; fill: #fff !important; }
.flatpickr-current-month { color: #fff !important; }
.flatpickr-current-month .numInputWrapper span { border-color: rgba(255,255,255,0.3) !important; }
.flatpickr-current-month input.cur-year { color: #fff !important; }
.flatpickr-current-month .flatpickr-monthDropdown-months { color: #fff !important; background: var(--navy, #1a3a52) !important; }
.flatpickr-weekday { color: rgba(26,58,82,0.55) !important; font-weight: 600 !important; font-size: 0.7rem !important; }
.flatpickr-prev-month, .flatpickr-next-month { fill: #fff !important; color: #fff !important; }
.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg { fill: rgba(255,255,255,0.7) !important; }
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--navy, #1a3a52) !important;
  border-color: var(--navy, #1a3a52) !important;
  color: #fff !important;
}
.flatpickr-day.inRange {
  background: rgba(27,160,160,0.12) !important;
  border-color: rgba(27,160,160,0.12) !important;
  color: var(--navy, #1a3a52) !important;
  box-shadow: -5px 0 0 rgba(27,160,160,0.12), 5px 0 0 rgba(27,160,160,0.12) !important;
}
.flatpickr-day:hover { background: rgba(27,160,160,0.18) !important; border-color: transparent !important; }
.flatpickr-day.today { border-color: rgba(27,160,160,0.5) !important; }