/* ═══════════════════════════════════════════════════════════
   STAZO — Complete Stylesheet
   ═══════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --pink: #EC4899;
  --pink-light: #FCE7F3;
  --pink-soft: #FDF2F8;
  --maroon: #7F1D1D;
  --red: #DC2626;
  --cream: #FFFBF5;
  --border-soft: rgba(236, 72, 153, 0.2);
  --border-cream: rgba(127, 29, 29, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(127, 29, 29, 0.08);
  --shadow-md: 0 4px 20px rgba(127, 29, 29, 0.1);
  --shadow-lg: 0 20px 50px rgba(127, 29, 29, 0.15);
  --shadow-xl: 0 25px 60px rgba(236, 72, 153, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--pink-light);
  color: var(--maroon);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
.muted { color: rgba(127, 29, 29, 0.65); font-size: 14px; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.animate-fade-up { animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ═══ HEADER ═══ */
.header {
  background: var(--cream);
  border-bottom: 1px solid var(--border-cream);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(127, 29, 29, 0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 16px;
}
.logo { display: flex; align-items: center; height: 100%; margin-left: -8px; }
.logo-svg { height: 64px; width: auto; display: block; transition: transform 0.25s ease; }
.logo:hover .logo-svg { transform: scale(1.03); }

.lang-toggle { display: flex; gap: 3px; background: var(--pink-soft); padding: 4px; border-radius: 12px; }
.lang-btn {
  padding: 6px 14px; border-radius: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--maroon);
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--pink); }
.lang-btn.active { background: var(--pink); color: white; }

/* ═══════════════════════════════════════════════════════════
   HERO — FORCE SIDE-BY-SIDE (LEFT: Text, RIGHT: Search)
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #FCE7F3 0%, #FDF2F8 100%);
  z-index: 0;
}

/* The main wrapper forces horizontal layout */
.hero-split {
  position: relative;
  z-index: 1;
  display: flex !important; 
  flex-direction: row !important; 
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px;
  width: 100%;
}

/* LEFT SIDE */
.hero-left {
  flex: 1 1 45% !important;
  max-width: 45% !important;
  text-align: left !important;
  min-width: 0;
}

/* RIGHT SIDE */
.hero-right {
  flex: 1 1 55% !important;
  max-width: 55% !important;
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-soft);
  min-width: 0;
}

.hero-badge {
  display: inline-block; padding: 6px 14px; background: white;
  border: 1px solid var(--border-soft); border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--maroon);
  margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--maroon);
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 14px;
  color: var(--maroon);
  opacity: 0.75;
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   SEARCH GRID — FORCE HORIZONTAL
   ═══════════════════════════════════════════════════════════ */
.search-grid {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 6px;
  width: 100%;
}

.search-field {
  position: relative;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  min-width: 0;
  flex: 1 1 auto;
  background: #fdfafb;
  border: 1px solid transparent;
}
.search-field:hover, .search-field:focus-within { 
  background: var(--pink-soft); 
  border-color: var(--border-soft);
}

.search-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  white-space: nowrap;
}
.input-wrap { display: flex; align-items: center; gap: 6px; min-width: 0; }
.input-icon { color: var(--pink); flex-shrink: 0; width: 14px; height: 14px; }
.search-field input, .search-field select {
  width: 100%; border: none; outline: none;
  font-size: 13px; font-weight: 600; color: var(--maroon);
  background: transparent; font-family: inherit; padding: 0; min-width: 0;
}
.search-field input::placeholder { color: rgba(127, 29, 29, 0.4); font-weight: 500; }

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--pink), var(--maroon));
  color: white;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-search svg { width: 16px; height: 16px; }
.btn-search:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
}

/* ═══ CITY DROPDOWN ═══ */
.city-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: white; border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); max-height: 280px; overflow-y: auto; z-index: 50;
  animation: fadeIn 0.2s;
}
.city-option {
  padding: 10px 14px; cursor: pointer; font-size: 13px;
  border-bottom: 1px solid var(--pink-soft); text-align: left;
}
.city-option:last-child { border-bottom: none; }
.city-option:hover, .city-option.active { background: var(--pink-light); }
.city-option-main { display: block; font-weight: 700; color: var(--maroon); margin-bottom: 1px; }
.city-option-sub { display: block; font-size: 11.5px; color: rgba(127, 29, 29, 0.6); }
.city-no-match {
  padding: 12px 14px; font-size: 12.5px;
  color: rgba(127, 29, 29, 0.6); font-style: italic; text-align: left;
}

/* ═══════════════════════════════════════════════════════════
   ROOMS STEPPER — Fixed size so it never overlaps
   ═══════════════════════════════════════════════════════════ */
.rooms-field {
  position: relative;
  min-width: 0;
  flex: 0 0 100px !important; /* Fixed width, won't shrink or grow */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rooms-inline-box {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important; 
  align-items: center !important;
  justify-content: space-between !important; /* Spreads them evenly */
  gap: 2px !important;
  width: 100% !important; 
  height: 24px !important;
}

.rooms-inline-input {
  width: 26px !important;
  min-width: 26px !important;
  flex: 0 0 auto !important;
  text-align: center;
  font-size: 14px !important;
  font-weight: 700;
  color: var(--maroon);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  -moz-appearance: textfield;
  appearance: textfield;
  cursor: text;
}
.rooms-inline-input::-webkit-outer-spin-button,
.rooms-inline-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}

.rooms-step-btn {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  background: white;
  color: var(--pink);
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0 !important;
  cursor: pointer;
  position: relative;
  z-index: 10; /* Ensures it's above the input area */
  -webkit-tap-highlight-color: transparent;
}
.rooms-step-btn:hover:not(:disabled) {
  border-color: var(--pink);
  background: var(--pink);
  color: white;
}
.rooms-step-btn:active:not(:disabled) {
  transform: scale(0.9);
}
.rooms-step-btn:disabled { 
  opacity: 0.35; 
  cursor: not-allowed; 
}

/* ═══ SECTION HEADERS ═══ */
.section-head { margin-bottom: 24px; }
.section-title {
  font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 800;
  color: var(--maroon); letter-spacing: -0.5px; margin-bottom: 4px;
}
.section-title.centered { text-align: center; }
.section-sub { font-size: 13px; color: var(--maroon); opacity: 0.7; font-weight: 500; }
.section-sub.centered { text-align: center; margin-bottom: 30px; }

/* ═══ HOTEL GRID ═══ */
.hotels { padding: 48px 0; background: var(--pink-light); }
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.hotel-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer; display: flex; flex-direction: column;
  border: 1px solid var(--border-soft);
}
.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink);
}
.hotel-img-wrap {
  width: 100%; height: 180px; overflow: hidden; background: var(--pink-light);
}
.hotel-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.hotel-card:hover .hotel-img { transform: scale(1.06); }
.hotel-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.hotel-name {
  font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--maroon); margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hotel-loc {
  display: flex; align-items: center; gap: 4px; font-size: 12.5px;
  color: rgba(127, 29, 29, 0.6); margin-bottom: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hotel-loc svg { flex-shrink: 0; color: var(--pink); }
.hotel-amenities-preview { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.amenity-pill {
  font-size: 11px; padding: 3px 8px; border-radius: 6px;
  background: var(--pink-light); color: var(--maroon);
  white-space: nowrap; font-weight: 600;
}
.hotel-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 10px; border-top: 1px solid var(--border-soft); margin-top: auto;
}
.hotel-price {
  font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 800;
  color: var(--maroon); line-height: 1.2;
}
.hotel-price small { font-size: 11px; color: rgba(127, 29, 29, 0.6); font-weight: 500; }
.hotel-price-label {
  font-size: 10px; color: var(--pink); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 1px;
}
.hotel-btn {
  background: linear-gradient(135deg, var(--pink), var(--maroon));
  color: white; padding: 8px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

/* ═══ SKELETON / STATES ═══ */
.skeleton-card {
  height: 340px; border-radius: var(--radius);
  background: linear-gradient(90deg, #FCE7F3 25%, #FBCFE8 50%, #FCE7F3 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
.empty-state, .error-state { text-align: center; padding: 50px 20px; }
.btn-retry {
  margin-top: 14px;
  background: linear-gradient(135deg, var(--pink), var(--maroon));
  color: white; padding: 9px 22px; border-radius: 9px;
  font-weight: 700; font-size: 13px;
}

/* ═══ WHY ═══ */
.why-section { padding: 48px 0; background: white; border-top: 1px solid var(--border-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
  padding: 22px 16px; border-radius: var(--radius);
  background: var(--pink-soft); border: 1px solid var(--border-soft);
  text-align: center; transition: transform 0.25s, box-shadow 0.25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--pink); }
.why-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}
.why-card h3 {
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--maroon); margin-bottom: 6px;
}
.why-card p { font-size: 12px; color: rgba(127, 29, 29, 0.7); line-height: 1.55; }

/* ═══ CITY LINKS ═══ */
.city-links-section { padding: 48px 0; background: var(--pink-light); }
.city-links-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; max-width: 900px; margin: 0 auto;
}
.city-link {
  padding: 8px 16px; border-radius: 100px; background: white;
  color: var(--maroon); font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--border-soft); transition: all 0.2s;
}
.city-link:hover {
  background: linear-gradient(135deg, var(--pink), var(--maroon));
  color: white; border-color: transparent; transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--cream); color: var(--maroon);
  padding: 40px 0 28px; border-top: 1px solid var(--border-cream);
}
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .logo-svg { height: 64px; width: auto; display: block; }
.footer .muted { color: rgba(127, 29, 29, 0.7); margin-bottom: 6px; font-size: 13px; }
.footer-copy {
  font-size: 11px; color: rgba(127, 29, 29, 0.5);
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(127, 29, 29, 0.15);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE (Mobile stacking)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Hero stacks on top of each other for mobile */
  .hero {
    padding: 24px 0;
  }
  .hero-split {
    flex-direction: column !important; 
    gap: 20px;
  }
  .hero-left {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  .hero-right {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  .hero-title { font-size: 26px; }
  
  /* Search grid mobile pe 2 rows mein hoga */
  .search-grid {
    flex-wrap: wrap !important; 
  }
  .search-field {
    flex: 1 1 45% !important;
  }
  
  /* Mobile pe rooms thoda bada ho jayega */
  .rooms-field {
    flex: 1 1 45% !important;
  }
  .rooms-inline-box {
    justify-content: space-between !important;
  }

  .btn-search {
    flex: 1 1 100% !important;
    height: 44px;
    margin-top: 4px;
  }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { height: 60px; }
  .logo-svg { height: 52px; }
}

@media (max-width: 560px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 22px; }
  .search-field { flex: 1 1 100% !important; }
  .rooms-field { flex: 1 1 100% !important; } /* Full width on small mobile */
  .why-grid { grid-template-columns: 1fr; }
  .hotel-grid { grid-template-columns: 1fr; }
  .header-inner { height: 56px; padding: 0 10px; }
  .logo-svg { height: 44px; }
  .footer-brand .logo-svg { height: 44px; }
}