/* ══════════════════════════════════════════════════════════
   HOMEPAGE — additive styles for index.html redesign
   Reference: W-40.COM layout (full-bleed hero, mosaic gallery,
   reference-style room cards).
   Loaded only on index.html.
   ══════════════════════════════════════════════════════════ */

/* ── Italic accent for section headings ────────────────────── */
.section-heading h2 em,
.feature-highlight__content h2 em,
.cta-banner h2 em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: inherit;
}

.section--dark .section-heading h2 em,
.section--dark .cta-banner h2 em {
  color: var(--color-red-warm);
}

/* ── 1. HERO — Full-Bleed Cinematic ─────────────────────────── */
.hero--fullbleed {
  padding-bottom: 160px; /* room for the booking bar to overlap */
  align-items: center;
}

/* Override background to ChatGPT generated hero */
.hero--fullbleed .hero__bg {
  background-image: url('../ChatGPT Image Jun 11, 2026, 02_03_29 AM.png');
  background-position: center center;
}

.hero--fullbleed .hero__overlay {
  background: none;
}

/* Left-align content; let it span full container width */
.hero--fullbleed .hero__content {
  max-width: var(--container-max);
  width: 100%;
  text-align: left;
  padding-top: 0;
}

/* Eyebrow pill — frosted glass look */
.hero--fullbleed .hero__eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: var(--space-md);
}

/* Large display title */
.hero--fullbleed .hero__title {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 720px;
  line-height: 1.08;
  margin-bottom: var(--space-md);
  color: var(--color-white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

/* Accent span: matches "Welcome to" — no italic, white */
.hero--fullbleed .hero__title span {
  font-style: normal;
  color: var(--color-white);
}

/* Subtitle: no auto-centering margin */
.hero--fullbleed .hero__subtitle {
  margin-left: 0;
  margin-right: 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-md);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

/* Actions row: left-aligned */
.hero--fullbleed .hero__actions {
  justify-content: flex-start;
  margin-bottom: var(--space-md);
}

/* Badges row: left-aligned */
.hero--fullbleed .hero__badges {
  justify-content: flex-start;
}

/* Scroll indicator: positioned above booking bar */
.hero--fullbleed .hero__scroll {
  bottom: 165px;
}

/* ── 2. BOOKING BAR — Floating overlap ──────────────────────── */
/* Pull bar up to sit at bottom of hero */
.booking-bar-section {
  margin-top: -100px;
  margin-bottom: var(--space-xl);
}

/* ── 3. ABOUT SECTION — Two-column text ─────────────────────── */
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.about-cols p {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  line-height: 1.9;
  margin: 0;
}

/* ── 4. ROOM CARDS — Reference style ────────────────────────── */

/* Price badge on image (top-right corner) */
.card__price-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 2;
  background: var(--color-white);
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  line-height: 1.4;
}

.card__price-badge span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

/* "Most Booked" badge on image (top-left corner) */
.accommodation-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Icon row (bed / guests / bathroom) */
.card__icon-row {
  display: flex;
  gap: var(--space-md);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.card__icon-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}

.card__icon-item i {
  color: var(--color-primary);
  font-size: 0.82rem;
}

/* Rate + "Reserve →" link row at card bottom */
.card__rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-neutral-2);
}

.card__rate-row .card__rate {
  margin: 0;
}

.card__details-link {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition), color var(--transition);
  text-decoration: none;
}

.card__details-link:hover {
  color: var(--color-primary-dark);
  gap: 0.55rem;
}

/* Highlighted card border */
.accommodation-card--highlight {
  border: 2px solid var(--color-primary);
}

/* ── 5. SHOWCASE GALLERY — Mosaic grid ───────────────────────── */
.showcase-section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  gap: 10px;
}

.showcase__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-neutral-2);
  cursor: default;
}

.showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.showcase__item:hover img {
  transform: scale(1.06);
}

/* Wide items span 2 columns */
.showcase__item--wide {
  grid-column: span 2;
}

/* ── 6. FACILITIES FEATURE GRID ─────────────────────────────── */
.facility-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.facility-feature {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.facility-feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(192, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.facility-feature__body h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.facility-feature__body p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ── 7. EXPLORE THE AREA ─────────────────────────────────────── */
.explore-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.explore-area-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.explore-area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.explore-area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.8), transparent 60%);
  pointer-events: none;
}

.explore-area-card__time {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  z-index: 1;
}

.explore-area-card__name {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  right: var(--space-sm);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  z-index: 1;
  margin: 0;
}

/* ── 8. FOOTER extras ────────────────────────────────────────── */
.footer__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
}

.footer__rating-stars {
  color: var(--color-warning);
  letter-spacing: 0.1em;
}

.footer__rating-text {
  color: rgba(255, 255, 255, 0.65);
}

.footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__map-link:hover {
  color: var(--color-white);
}

@media (min-width: 1025px) {
  .footer__grid--redesign {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

/* ── 7. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .showcase__item--wide {
    grid-column: span 1;
  }
  .explore-area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero--fullbleed {
    padding-bottom: 200px;
    min-height: 88vh;
  }

  .hero--fullbleed .hero__content {
    text-align: left;
  }

  .hero--fullbleed .hero__title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    max-width: 100%;
  }

  .hero--fullbleed .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero--fullbleed .hero__scroll {
    bottom: 205px;
  }

  .booking-bar-section {
    margin-top: -90px;
  }

  .about-cols {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .showcase__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .facility-feature-grid {
    grid-template-columns: 1fr;
  }
  .explore-area-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero--fullbleed {
    padding-bottom: 240px;
  }

  .hero--fullbleed .hero__scroll {
    display: none;
  }

  .booking-bar-section {
    margin-top: -70px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .showcase__item--wide {
    grid-column: span 1;
  }
}
