﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   VOLA MALDIVES â€” Resort Detail Page
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rd-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.rd-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
}
.rd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(4,14,14,0.95) 0%,
    rgba(4,14,14,0.45) 55%,
    rgba(4,14,14,0.15) 100%);
}
.rd-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 max(64px, calc((100% - 1280px) / 2)) 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rd-hero__back {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.3s;
  margin-bottom: 8px;
}
.rd-hero__back:hover { color: var(--gold); }
.rd-hero__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.4);
  padding: 4px 12px;
  border-radius: 20px;
  align-self: flex-start;
}
.rd-hero__name {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin: 0;
}
.rd-hero__meta {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  display: flex;
  gap: 8px;
  align-items: center;
}
.rd-sep { opacity: 0.35; }

/* Tab nav pinned at bottom of hero */
.rd-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(4,14,14,0.75);
  backdrop-filter: blur(12px);
}
.rd-tab {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.rd-tab:hover { color: rgba(255,255,255,0.9); }
.rd-tab--active { color: #fff; border-bottom-color: var(--gold); }
.rd-tab--cta {
  background: var(--gold);
  color: var(--ink) !important;
  font-weight: 600;
}
.rd-tab--cta:hover { background: var(--gold-lt); }

/* â”€â”€ Stats bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rd-stats {
  background: var(--ink);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.rd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 40px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.rd-stat:last-child { border-right: none; }
.rd-stat__value {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}
.rd-stat__label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* â”€â”€ Generic section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rd-section { padding: 96px 0; }
.rd-section--ivory { background: var(--ivory); }
.rd-section--dark { background: var(--ink-mid); }
.rd-section__inner {
  max-width: calc(1280px + 128px);
  margin: 0 auto;
  padding: 0 64px;
}
.rd-section__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  margin: 10px 0 32px;
}
.rd-section__title em { font-style: italic; color: var(--gold); }
.rd-section__title--centered { text-align: center; }
.rd-section__title--light { color: #fff; }
.rd-section__title--light em { color: var(--gold); }

/* â”€â”€ Overview â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rd-overview__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}
.rd-overview__desc {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.95;
}
.rd-why-box {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 32px 36px;
  border-radius: 2px;
}
.rd-why-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.rd-why-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  margin: 0;
  font-style: italic;
}

/* â”€â”€ Villas grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rd-villas__sub {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mid);
  margin: -16px 0 48px;
}
.rd-villas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Villa card */
.rd-villa-card {
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.35s, transform 0.35s;
  cursor: pointer;
  border: 2px solid transparent;
}
.rd-villa-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-3px); }
.rd-villa-card--selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15), 0 12px 40px rgba(0,0,0,0.12);
}

/* Villa gallery */
.rd-villa__gallery {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean-dk), var(--ocean));
}
.rd-villa__slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s var(--ease-out);
}
.rd-villa__slide {
  min-width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  flex-shrink: 0;
}
.rd-villa__slide--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rd-villa__prev,
.rd-villa__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(4,14,14,0.55);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.rd-villa__prev:hover,
.rd-villa__next:hover { background: rgba(4,14,14,0.9); }
.rd-villa__prev { left: 10px; }
.rd-villa__next { right: 10px; }
.rd-villa__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.rd-villa__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.rd-villa__dot--active { background: #fff; }

/* Villa selected checkmark */
.rd-villa__check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  z-index: 3;
}
.rd-villa-card--selected .rd-villa__check { display: flex; }

/* Villa body */
.rd-villa__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.rd-villa__name {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.rd-villa__meta {
  display: flex;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.rd-villa__meta span + span::before {
  content: '\00B7';
  margin-right: 8px;
  opacity: 0.4;
}
.rd-villa__highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rd-villa__highlights li {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--gold);
  background: rgba(201,169,110,0.08);
  padding: 3px 10px;
  border-radius: 20px;
}
.rd-villa__select {
  margin-top: auto;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--ocean);
  color: var(--gold);
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  width: 100%;
}
.rd-villa__select:hover,
.rd-villa-card--selected .rd-villa__select {
  background: var(--gold);
  color: #fff;
}
.rd-villa-card--selected .rd-villa__select::before { content: '\2713  '; }

/* â”€â”€ Facilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rd-facilities__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rd-facility {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: var(--ivory);
  border-radius: 2px;
  border-left: 2px solid var(--gold);
}
.rd-facility__text {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.5;
}

/* â”€â”€ Enquiry form â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rd-enquire__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.rd-enquire__sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-top: 8px;
}

/* Selected villa chip */
.rd-selected {
  background: rgba(201,169,110,0.2);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 3px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.rd-selected__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.rd-selected__name {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: #fff;
  flex: 1;
}
.rd-selected__clear {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* Form */
.rd-form { max-width: 760px; margin: 0 auto; }
.rd-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.rd-form__group { display: flex; flex-direction: column; gap: 8px; }
.rd-form__group--full { margin-bottom: 20px; }
.rd-form__group label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.rd-form__group input,
.rd-form__group select,
.rd-form__group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 13px 16px;
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: #fff;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.rd-form__group input::placeholder,
.rd-form__group textarea::placeholder { color: rgba(255,255,255,0.3); }
.rd-form__group input:focus,
.rd-form__group select:focus,
.rd-form__group textarea:focus { border-color: var(--gold); }
.rd-form__group select option { background: var(--ink); color: #fff; }
.rd-form__group textarea { resize: vertical; min-height: 110px; }
.rd-form__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.rd-form__submit { min-width: 200px; }
.rd-form__note {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}
.rd-form__success {
  margin-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.rd-form__success span {
  font-size: 2rem;
  color: var(--gold);
}
.rd-form__success p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .rd-overview__grid { grid-template-columns: 1fr; gap: 48px; }
  .rd-villas__grid { grid-template-columns: repeat(2, 1fr); }
  .rd-facilities__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  /* Hero: leave a hint of the page below the fold */
  .rd-hero { height: 78vh; height: 78svh; min-height: 520px; }
  .rd-hero__content { padding: 0 20px 24px; }
  .rd-hero__back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 0; }

  /* Sections: phone rhythm */
  .rd-section { padding: 64px 0; }
  .rd-section__inner { padding: 0 20px; }
  .rd-section__title { margin-bottom: 24px; }

  /* Stats: 2 x 2 grid, nothing cut off */
  .rd-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .rd-stat { padding: 18px 12px; border-right: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
  .rd-stat:nth-child(2n) { border-right: none; }

  /* Villas: swipe sideways instead of nine stacked cards */
  .rd-villas__sub { margin: -8px 0 24px; }
  .rd-villas__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 0 20px 12px;
    scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  .rd-villas__grid::-webkit-scrollbar { display: none; }
  .rd-villa-card { flex: 0 0 85%; scroll-snap-align: start; }
  .rd-villa-card:hover { transform: none; }
  .rd-villa__prev, .rd-villa__next { width: 40px; height: 40px; }
  .rd-villa__select { min-height: 44px; }

  /* Facilities: two columns */
  .rd-facilities__grid { grid-template-columns: 1fr; gap: 8px; }
  .rd-facility { padding: 14px 16px; }

  /* Form: single column, 16px text so iPhones don't zoom in on tap */
  .rd-form__row { grid-template-columns: 1fr; }
  .rd-form__group input,
  .rd-form__group select,
  .rd-form__group textarea { font-size: 16px; }
  .rd-form__submit { width: 100%; min-height: 48px; }

  .rd-tabs { overflow-x: auto; }
  .rd-tab { flex: 1 0 auto; padding: 14px 10px; letter-spacing: 0.06em; white-space: nowrap; }
}

/* â”€â”€ Sticky quote CTA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rd-sticky-cta {
  position: fixed;
  bottom: 106px; /* clears the WhatsApp button (36px + 54px + gap) */
  right: 36px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.rd-sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.rd-sticky-cta__btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(10,72,72,0.35);
  transition: background 0.25s, transform 0.25s;
  white-space: nowrap;
}
.rd-sticky-cta__btn:hover { background: var(--ocean-dk); transform: translateY(-2px); }
.rd-sticky-cta__btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.rd-sticky-cta__hint {
  font-size: 0.68rem;
  color: var(--mid);
  letter-spacing: 0.05em;
  text-align: right;
}
@media (max-width: 700px) {
  /* Slim bar along the bottom, beside the WhatsApp button, so it never covers content */
  .rd-sticky-cta { left: 20px; right: 90px; bottom: 36px; align-items: stretch; }
  .rd-sticky-cta__btn { justify-content: center; min-height: 54px; }
  .rd-sticky-cta__hint { display: none; }
}
