*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple: #9810FA;
  --main: #500EAF;
  --text: #1a1a2e;
  --text-mid: #4b5563;
  --text-light: #9ca3af;
  --white: #ffffff;
  --bg-page: #f8f7fd;
  --bg-light: #f3f4f6;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.13);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--bg-page);
  color: var(--text);
  overflow-x: hidden;
}

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

a {
    text-decoration: none;
}

/* ══════════════════════════════════
   SHARED LAYOUT
══════════════════════════════════ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.section-sub {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-top: 3px;
  font-family: 'Inter', sans-serif;
}

.view-all {
  font-size: 0.84rem;
  color: var(--main);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.view-all:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════
   HERO / CAROUSEL
══════════════════════════════════ */
.hero-section {
  background: var(--white);
  padding: 36px 40px 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  animation: pageReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text h1 {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-text .tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.carousel-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow-md);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.dot.active {
  background: var(--purple);
  transform: scale(1.25);
}

/* ══════════════════════════════════
   POPULAR ESCAPES
══════════════════════════════════ */
.escapes-section {
  position: relative;
  background: linear-gradient(180deg, #f0ebfc 0%, #e8e0f8 40%, #dcd0f2 100%);
  padding: 48px 0 52px;
  overflow: hidden;
}

.sparkles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.7);
  }

  50% {
    opacity: 0.9;
    transform: scale(1);
  }
}

.escapes-section .container {
  position: relative;
  z-index: 1;
}

.escapes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.escape-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  aspect-ratio: 3/4;
}

.escape-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.escape-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.escape-card:hover img {
  transform: scale(1.06);
}

.escape-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 10px 8px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  color: white;
}

.esc-city {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.1;
}

.esc-tag {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 2px 0 4px;
}

.esc-bottom {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.esc-hotels {
  font-size: 0.63rem;
  color: rgba(255, 255, 255, 0.8);
}

.esc-price {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
}

.esc-price strong {
  color: #ffd700;
  font-weight: 700;
}

/* ══════════════════════════════════
   FEATURED HOTELS
══════════════════════════════════ */
.featured-section {
  background: var(--bg-page);
  padding: 56px 0 60px;
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hotel-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.hotel-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.hotel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.hotel-card:hover .hotel-img-wrap img {
  transform: scale(1.04);
}

.hotel-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hotel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.hotel-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.hotel-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.hotel-location svg {
  flex-shrink: 0;
  color: #9ca3af;
}

.hotel-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  margin-top: 2px;
}

.rating-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.rating-rev {
  font-size: 0.72rem;
  color: var(--text-light);
}

.hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.73rem;
  color: var(--text-mid);
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 20px;
}

.amenity svg {
  color: var(--text-light);
  flex-shrink: 0;
}

.hotel-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.hotel-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-light);
}

.price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.price-night {
  font-size: 0.7rem;
  color: var(--text-light);
}

.view-btn {
  padding: 9px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #500EAF, #9810FA);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 3px 12px rgba(107, 72, 232, 0.28);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.view-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(107, 72, 232, 0.38);
  opacity: 0.92;
}

/* ── View More ── */
.view-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.view-more-btn {
  padding: 13px 48px;
  border-radius: 30px;
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.view-more-btn:hover {
  background: var(--purple);
  color: var(--white);
}

/* ══════════════════════════════════
   MOBILE RESPONSIVE  (≤768px)
══════════════════════════════════ */
@media (max-width: 768px) {

  /* Hero */
  .hero-section {
    padding: 20px 16px 28px;
    background: #faf9ff;
  }

  .hero-text h1 {
    font-size: 1.45rem;
    font-weight: 800;
  }

  .hero-text .tagline {
    font-size: 0.9rem;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
  }

  .carousel-wrap {
    max-width: 100%;
  }

  .carousel-track {
    border-radius: 14px;
    aspect-ratio: 16 / 8;
  }

  /* Escapes */
  .escapes-section {
    padding: 28px 0 32px;
  }

  .escapes-section .container {
    padding: 0 16px;
  }

  .escapes-section .section-title {
    font-size: 1.1rem;
  }

  .escapes-section .section-sub {
    display: none;
  }

  /* Horizontal scroll */
  .escapes-grid {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .escapes-grid::-webkit-scrollbar {
    display: none;
  }

  .escape-card {
    flex: 0 0 130px;
    width: 130px;
    aspect-ratio: 1 / 1.1;
    scroll-snap-align: start;
    border-radius: 18px;
  }

  .escape-info {
    padding: 8px 8px 6px;
  }

  .esc-city {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .esc-tag,
  .esc-bottom {
    display: none;
  }

  /* Featured Hotels */
  .featured-section {
    padding: 28px 0 100px;
  }

  .featured-section .container {
    padding: 0 16px;
  }

  .featured-section .section-title {
    font-size: 1.1rem;
  }

  .hotels-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hotel-card {
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  }

  .hotel-img-wrap {
    aspect-ratio: 16/8;
    border-radius: 18px 18px 0 0;
  }

  .hotel-body {
    padding: 14px 14px 16px;
    gap: 8px;
  }

  .hotel-name {
    font-size: 1rem;
  }

  .hotel-location {
    font-size: 0.75rem;
  }

  .hotel-amenities {
    display: none;
  }

  .hotel-rating {
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
  }

  .rating-rev {
    display: none;
  }

  .rating-val {
    font-size: 0.92rem;
  }

  .hotel-footer {
    padding-top: 10px;
    align-items: center;
  }

  .price-label {
    display: none;
  }

  .price-val {
    font-size: 1.2rem;
  }

  .price-night {
    font-size: 0.68rem;
  }

  .view-btn {
    padding: 9px 16px;
    font-size: 0.82rem;
    border-radius: 20px;
  }

  /* View More */
  .view-more-wrap {
    margin-top: 28px;
  }

  .view-more-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 18px;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .escape-card {
    flex: 0 0 110px;
    width: 110px;
  }

  .hotel-name {
    font-size: 0.95rem;
  }

  .price-val {
    font-size: 1.1rem;
  }
}