/* Amenities page extracted styles */
/* Layout helpers */
.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
}

/* Amenity cards grid */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .amenities-grid { grid-template-columns: repeat(4, 1fr); }
}

.amenity-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: box-shadow .2s ease;
  text-align: center;
}
.amenity-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }

.amenity-icon { color: var(--color-primary); width: 80px; height: 80px; margin: 0 auto 16px; }
.amenity-icon svg { width: 100%; height: 100%; fill: currentColor; }
.amenity-icon img { width: 100%; height: 100%; display: block; object-fit: contain; }

.amenity-title { font-weight: 600; color: #6194ab; margin-bottom: .5rem; }
.amenity-text { color: #4b5563; }

/* Hero split */
.hero-split { min-height: 100vh; display: flex; align-items: center; background: #ffffff; }
.hero-split-grid { display: grid; gap: 2rem; width: 100%; max-width: 1200px; margin: 0 auto; padding: 2rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .hero-split-grid { grid-template-columns: 1fr 1fr; } }
.hero-split-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.hero-split-content { display: flex; flex-direction: column; justify-content: center; }
.hero-split-title { line-height: 1.3; color: #1f2937; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .hero-split-title {  } }
.hero-split-subtitle { color: #4b5563; margin-bottom: 1.25rem; }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.25rem; border-radius: 8px; background: #6194ab; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 4px 12px rgba(97,148,171,.35); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(97,148,171,.4); background: #4a7a8c; }

/* 2-3-2 gallery grid rows */
.amenities-gallery-row { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.amenities-gallery-row + .amenities-gallery-row { margin-top: 2rem; }
@media (min-width: 640px) { .amenities-gallery-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .amenities-gallery-row.row-2 { grid-template-columns: repeat(3, 1fr); }
  .amenities-gallery-row.row-1, .amenities-gallery-row.row-3 { grid-template-columns: repeat(2, 1fr); }
}

.gallery-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 300px 225px; /* ~4:3 placeholder to avoid layout jumps */
}
.gallery-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.gallery-img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }

/* Overlay used in gallery and slider cards */
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem 1.25rem; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.overlay-content { max-width: 90%; text-align: center; }
.overlay-title { font-weight: 700;  margin-bottom: .5rem; color: #fff; }
.overlay-subtitle { line-height: 1.45; color: #fff; }
.slider-card { position: relative; overflow: hidden; }
.slider-card:hover .gallery-overlay, .gallery-card:hover .gallery-overlay { opacity: 1; transform: translateY(0); }

/* Slider */
.amenities-slider { position: relative; --slides-per-view: 1; }
.amenities-slider-viewport { overflow: hidden; }
.amenities-slider-track { display: flex; transition: transform .35s ease; will-change: transform; gap: 0.5rem; }
.amenities-slide { flex: 0 0 calc(100% / var(--slides-per-view)); }
slider-card { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.slider-img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 3 / 4; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid #e5e7eb; width: 40px; height: 40px; border-radius: 9999px; box-shadow: 0 1px 3px rgba(0,0,0,.08); cursor: pointer; z-index: 2; }
slider-btn:hover { box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.slider-btn.prev { left: 0.25rem; }
.slider-btn.next { right: 0.25rem; }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; }
.slider-dot { width: 8px; height: 8px; border-radius: 9999px; background: #d1d5db; }
.slider-dot.active { background: #6194ab; }
@media (min-width: 1024px) {
  .amenities-slider { --slides-per-view: 3; }
  .slider-img { aspect-ratio: 4 / 5; }
}

/* Tour hero */
.tour-hero { position: relative; min-height: 100vh; background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; }
.tour-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.55) 100%); }
.tour-hero-content { position: relative; z-index: 1; text-align: center; padding: 2rem; max-width: 1000px; }
.tour-hero-title { color: #ffffff; font-weight: 600; line-height: 1.35; margin-bottom: 1rem; }
@media (min-width: 768px) { .tour-hero-title {  } }
.tour-hero-subtitle { color: #e5e7eb;  margin-bottom: 1.25rem; }