/* ============================================================
   booking-widget.css — "Start a booking" widget
   Two variants: --hero (inside the homepage hero) and
   --bar (slim strip under the header, on every other page)
   ============================================================ */

.booking-widget {
  border-radius: var(--radius-lg);
  border: var(--border-subtle);
}

.booking-widget__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-ivory);
  margin-bottom: var(--space-4);
}

.booking-widget__form {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.booking-widget__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1 1 200px;
  min-width: 0;
}

.booking-widget__field--date {
  flex: 0 1 170px;
}

.booking-widget__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  font-weight: 600;
}

.booking-widget__select {
  width: 100%;
  background-color: var(--color-black-mid);
  border: 1px solid var(--color-gold-border);
  color: var(--color-ivory);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8A96E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  color-scheme: dark;
}

:root[lang="ar"] .booking-widget__select {
  background-position: left var(--space-4) center;
  padding-right: var(--space-4);
  padding-left: var(--space-10);
}

.booking-widget__select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.booking-widget__submit {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ── Hero variant: full-width bar docked to the bottom of .hero,
   stacked above .hero__stats when present (see .hero__bottom-dock) ── */
.booking-widget--hero {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--color-gold-border);
  padding: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-up 0.8s var(--ease-out) 1.05s forwards;
}

.booking-widget--hero .booking-widget__form {
  max-width: var(--container);
  margin: 0 auto;
}

/* ── Bar variant: slim strip right under the fixed header ─── */
.booking-widget--bar {
  background: var(--color-black-soft);
  padding: var(--space-6);
  margin: 0 auto var(--space-8);
  max-width: var(--container);
}

.booking-widget-bar-wrap {
  border-bottom: var(--border-subtle);
  background: var(--color-black-soft);
}

.booking-widget-bar-wrap .container {
  padding-top: var(--space-8);
  padding-bottom: 0;
}

.booking-widget--bar .booking-widget__title {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}

@media (max-width: 768px) {
  .booking-widget__form {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-widget__field,
  .booking-widget__field--date {
    flex: 1 1 auto;
  }

  .booking-widget__submit {
    width: 100%;
  }

  .booking-widget--hero {
    padding: var(--space-5);
    margin-top: var(--space-6);
  }
}
