/* ═══════════════════════════════════════════════════════════
   QARIBIA — Landing Page (index.html)
   ══════════════════════════════════════════════════════════ */

/* ── Hero — full-bleed image band, Karibu welcome ─────────── */
.home-hero {
  position: relative;
  min-height: 560px;
  padding: 150px 40px 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--midnight); /* fallback while the image loads */
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 27, 42, 0.62) 0%,
    rgba(13, 27, 42, 0.38) 30%,
    rgba(13, 27, 42, 0.52) 65%,
    rgba(13, 27, 42, 0.88) 100%
  );
}

.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.home-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.home-hero__eyebrow::before,
.home-hero__eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(232, 185, 106, 0.55);
}

.home-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.home-hero__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-light);
}

.home-hero__sub {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}


/* ── Search Bar — floats over hero/content boundary ───────── */
.home-search__bar-wrap {
  position: relative;
  z-index: 5;
  max-width: calc(var(--max-w) - 80px);
  margin: -48px auto 0;
  padding: 0 40px;
}

.home-search__bar {
  display: flex;
  align-items: stretch;         /* was: center */
  gap: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25), 0 4px 18px rgba(0, 0, 0, 0.08);
  padding: 10px 10px 10px 32px;
}

.home-search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 22px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.home-search__field > i {
  color: var(--amber);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.home-search__field-inner { width: 100%; }

.home-search__field-inner label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.home-search__field-inner input,
.home-search__field-inner select {
  width: 100%;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

.home-search__field-inner input[type="text"] { cursor: text; }

.home-search__divider {
  width: 1px;
  height: 48px;
  align-self: center;           /* NEW — keeps dividers vertically centred */
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.home-search__btn {
  align-self: center;
  padding: 16px 30px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--deep-green) 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;          /* centres the icon + text inside the button */
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--trans-base);
}

.home-search__btn:hover {
  box-shadow: 0 12px 28px rgba(45, 90, 66, 0.4);
}
@media (max-width: 900px) {
  .home-hero {
    min-height: 520px;
    padding: 140px 24px 130px;
  }

  .home-search__bar-wrap {
    margin: -55px 20px 0;
    padding: 0;
  }

  .home-search__bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
    border-radius: 18px;
  }

  .home-search__field { padding: 4px 8px; }

  .home-search__divider {
    width: 100%;
    height: 1px;
  }

  .home-search__btn {
    justify-content: center;
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .home-hero {
    min-height: 460px;
    padding: 120px 20px 110px;
  }

  .home-hero__sub { font-size: 1rem; }
}


/* ═══════════════════════════════════════════════════════════
   FEATURED PROPERTIES
   Cards carry the verification tier and the operator — the
   same fields the operator wizard and admin reviewer will
   write into once the shared file is wired.
   ══════════════════════════════════════════════════════════ */
.featured-stays {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 88px 40px 24px;
}

.featured-stays__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.featured-stays__header-left { max-width: 600px; }

.featured-stays__header-right {
  flex-shrink: 0;
  padding-bottom: 6px;
}

.featured-stays__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 4px;
}

.featured-stays__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


/* ── Featured Stay Card ───────────────────────────────────── */
.feat-stay-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth), border-color 0.45s var(--ease-smooth);
}

.feat-stay-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.09);
  border-color: rgba(200, 150, 62, 0.28);
}

.feat-stay-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}

.feat-stay-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}

.feat-stay-card:hover .feat-stay-card__image-wrap img {
  transform: scale(1.06);
}

/* Verification tier pill — sits over the image top-left */
.feat-stay-card__tier {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2;
}

.feat-stay-card__tier i { font-size: 0.7rem; }

.feat-stay-card__tier--registered { background: rgba(107, 143, 113, 0.88); }
.feat-stay-card__tier--verified   { background: rgba(27, 107, 114, 0.88); }
.feat-stay-card__tier--inspected  { background: rgba(200, 150, 62, 0.92); }

.feat-stay-card__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feat-stay-card__operator {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.feat-stay-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.feat-stay-card__location {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.feat-stay-card__location i {
  color: var(--amber);
  font-size: 0.7rem;
}

.feat-stay-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

.feat-stay-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.feat-stay-card__price-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feat-stay-card__price-unit {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.feat-stay-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feat-stay-card__rating i {
  color: var(--gold);
  font-size: 0.72rem;
}

@media (max-width: 1024px) {
  .featured-stays__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .featured-stays {
    padding: 60px 24px 16px;
  }

  .featured-stays__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
}

@media (max-width: 560px) {
  .featured-stays {
    padding: 52px 20px 12px;
  }

  .featured-stays__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ── Browse by Property Type ───────────────────────────────── */
.property-types {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 40px 20px;
}

.property-types__header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 34px;
}

.property-types__header .section-title,
.destinations__header-left .section-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.property-types__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.property-type-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--trans-base);
}

.property-type-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-type-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-smooth);
}

.property-type-card__label {
  display: block;
  padding: 14px 16px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.property-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
  border-color: var(--amber);
}

.property-type-card:hover .property-type-card__img {
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .property-types__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .property-types {
    padding: 10px 20px 10px;
  }

  .property-types__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .common-destinations {
    padding: 10px 20px 60px;
  }
}