/* ============================================================
   INDEX PAGE — Extracted from index.html <style> blocks
   ============================================================ */

/* EMERGENCY GALLERY SAFETY OVERRIDE */
.gallery-3x3 {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0 60px;
}

.grid-card {
  position: relative;
  flex: 0 0 calc(33.333% - 10px);
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 15px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.grid-card:hover img {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .grid-card {
    flex: 0 0 calc(50% - 6px);
  }
}

@media (max-width: 576px) {
  .grid-card {
    flex: 0 0 100%;
  }
}

/* CINEMATIC FLOATING HERO (Minimalist Redesign) */
@media (max-width: 991px) {
  .mpd-hero-bg {
    background-size: cover !important;
    animation: none !important;
    background-position: center !important;
  }

  .mpd-hero-grad {
    background: linear-gradient(0deg, #080504 0%, rgba(8, 5, 4, 0.5) 50%, rgba(8, 5, 4, 0.2) 100%) !important;
  }

  .mpd-hero-content {
    justify-content: center !important;
    padding-top: 60px !important;
    text-align: center !important;
  }

  .mpd-hero-glass {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  .mpd-hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
    margin-bottom: 20px !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8) !important;
  }

  .mpd-hero-content h1 em {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8) !important;
  }

  .hero-eyebrow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 12px !important;
  }

  .hero-subtext {
    font-size: 0.85rem !important;
    margin-bottom: 30px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
  }

  .mpd-btn-main {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
  }
}

/* ============================================================
   CREATIVE MOBILE HERO — Moipa Hotel
   Full-bleed mobile.png background + editorial overlay layout
   ============================================================ */

/* ── Background image layer ── */
.mob-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.mob-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Deep multi-stop gradient so text always pops */
.mob-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #0a0705 0%, rgba(10, 7, 5, 0.85) 35%, rgba(10, 7, 5, 0.3) 65%, rgba(10, 7, 5, 0.1) 100%),
    linear-gradient(135deg, rgba(10, 7, 5, 0.5) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle noise/texture overlay for premium feel */
.mob-hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ──────────────────────────────────────────────────────────
   MOBILE HERO LAYOUT — Clean & Structured
   Structure: badges at top | headline lower-center | stats + CTA pinned to bottom
   ────────────────────────────────────────────────────────── */

/* Main container: column, no space-between — content hugs bottom */
.mob-hero-layout {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px;
  /* Top padding accounts for status bar + logo bar */
  padding-top: 76px;
}

/* ── BADGES — single scrollable row at top ── */
.mob-hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  /* single row, no wrapping */
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  animation: mhFadeDown 0.7s ease 0.2s both;
}

.mob-hero-badges::-webkit-scrollbar {
  display: none;
}

@keyframes mhFadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.mhb-chip {
  flex-shrink: 0;
  /* chips never shrink/break */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Jost', sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

.mhb-chip--safari {
  color: #c9a84c;
  border-color: rgba(201, 168, 76, 0.55);
  background: rgba(201, 168, 76, 0.1);
}

.mhb-chip--conf {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

.mhb-chip--family {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

/* ── SPACER: pushes headline + bottom blocks down ── */
.mob-hero-headline {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* headline lives near the bottom of the flex space */
  padding-bottom: 18px;
  animation: mhFadeUp 0.9s ease 0.4s both;
}

@keyframes mhFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

/* Eyebrow: centered between two lines */
.mhh-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.mhh-line {
  width: 28px;
  height: 1px;
  background: rgba(201, 168, 76, 0.5);
  flex-shrink: 0;
}

/* Main headline */
.mhh-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.6);
}

.mhh-word--thin {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* Gold italic line: 'Stay Awaits.' */
.mhh-italic {
  font-style: italic;
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 12vw, 4rem);
  font-weight: 600;
  color: #c9a84c;
  line-height: 1.0;
  margin-bottom: 12px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

/* Subtitle — single line, truncates if needed */
.mhh-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── STATS STRIP ── */
.mob-hero-stats {
  display: flex;
  align-items: center;
  background: rgba(8, 6, 4, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 10px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: mhFadeUp 0.9s ease 0.65s both;
}

.mhs-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mhs-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #c9a84c;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.mhs-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.mhs-divider {
  width: 1px;
  height: 28px;
  background: rgba(201, 168, 76, 0.18);
}

/* ── CTA SPLIT BAR ── */
.mob-hero-cta-bar {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  animation: mhFadeUp 0.9s ease 0.85s both;
}

.mhcb-primary,
.mhcb-secondary,
.mhcb-play {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 4px;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: filter 0.2s;
}

.mhcb-primary i,
.mhcb-secondary i,
.mhcb-play i {
  font-size: 0.95rem;
}

.mhcb-primary {
  background: #c9a84c;
  color: #0a0705;
}

.mhcb-primary:active {
  filter: brightness(1.1);
}

.mhcb-secondary {
  background: rgba(37, 211, 102, 0.14);
  color: #25d366;
}

.mhcb-secondary:active {
  filter: brightness(1.2);
}

.mhcb-play {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
}

.mhcb-play:active {
  filter: brightness(1.2);
}

.mhcb-sep {
  width: 1px;
  background: rgba(201, 168, 76, 0.2);
}

/* ── GEO STRIP ── */
.mob-hero-geo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Jost', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  animation: mhFadeUp 0.9s ease 1s both;
}

.mhg-coords {
  color: rgba(201, 168, 76, 0.65);
  font-weight: 500;
}

.mhg-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.35);
}

.mhg-text {
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}