/* ===== PRENOTA_ORA.CSS: pagina Prenota ora ===== */
/* Dipende da display.css. Sfondo sempre bianco. */

body.page-prenota {
  position: relative;
  min-height: 100vh;
  background: #fff;
}

/* Voce "Prenota ora" in nav bar e menu hamburger: Floating Dream */
body.page-prenota .nav-list a[href="prenota_ora.php"],
body.page-prenota .nav-modal-list a[href="prenota_ora.php"] {
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.page-prenota .nav-list a[href="prenota_ora.php"]:hover,
body.page-prenota .nav-list a[href="prenota_ora.php"]:focus-visible,
body.page-prenota .nav-modal-list a[href="prenota_ora.php"]:hover,
body.page-prenota .nav-modal-list a[href="prenota_ora.php"]:focus-visible {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.page-prenota .nav-list a[href="prenota_ora.php"]::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 100%;
}

/* ----- Hero: sfondo bianco, titolo e descrizione ----- */
.prenota-hero {
  min-height: 36vh;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height, 80px) + 2rem) 1.5rem 3rem;
  text-align: center;
  background: #fff;
}

.prenota-hero__head {
  max-width: 640px;
  width: 100%;
}

.prenota-hero__title {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
}

.prenota-hero__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted, #555);
  text-align: center;
}

.prenota-hero__intro {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
}

.prenota-hero__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.prenota-hero__contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem 1.35rem;
  min-width: 200px;
  background: rgba(47, 126, 167, 0.06);
  border: 1px solid rgba(47, 126, 167, 0.2);
  border-radius: var(--radius, 16px);
  text-decoration: none;
  color: var(--text, #1e2328);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.prenota-hero__contact-item:hover {
  background: rgba(47, 126, 167, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.prenota-hero__contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.prenota-hero__contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #1e2328);
}

.prenota-hero__contact-hint {
  font-size: 0.8125rem;
  color: var(--muted, #555);
  font-weight: 400;
}

.prenota-hero__note {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--muted, #555);
}

.prenota-hero__outro {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #1e2328);
}

/* ----- Sezione link: due colonne Airbnb e Booking ----- */
.prenota-links {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 2rem 1.5rem 4rem;
}

.prenota-links__inner {
  max-width: 900px;
  margin: 0 auto;
}

.prenota-links__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.prenota-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  text-decoration: none;
  border-radius: var(--radius, 16px);
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 160px;
}

.prenota-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.prenota-link-card--airbnb {
  background: linear-gradient(135deg, rgba(255, 90, 95, 0.08) 0%, rgba(255, 90, 95, 0.04) 100%);
  border-color: rgba(255, 90, 95, 0.35);
  color: #ff5a5f;
}

.prenota-link-card--airbnb:hover {
  border-color: #ff5a5f;
  box-shadow: 0 12px 32px rgba(255, 90, 95, 0.2);
}

.prenota-link-card--booking {
  background: linear-gradient(135deg, rgba(0, 122, 163, 0.08) 0%, rgba(0, 122, 163, 0.04) 100%);
  border-color: rgba(0, 122, 163, 0.35);
  color: #007aa3;
}

.prenota-link-card--booking:hover {
  border-color: #007aa3;
  box-shadow: 0 12px 32px rgba(0, 122, 163, 0.2);
}

.prenota-link-card__icon {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.prenota-link-card__label {
  font-size: 0.9375rem;
  font-weight: 600;
  opacity: 0.9;
}

/* ----- Recensioni: stile Floating Dream, tocco particolare ----- */
.prenota-reviews {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #fff 0%, var(--bg, #f8f9fb) 100%);
  padding: 3rem 1.5rem 5rem;
}

.prenota-reviews__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.prenota-reviews__title {
  margin: 0 0 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  text-align: center;
}

.prenota-reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.prenota-review {
  margin: 0;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-radius: var(--radius, 16px);
  border-left: 4px solid var(--accent);
  box-shadow: 0 8px 24px rgba(47, 126, 167, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(24px);
}

.prenota-review.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.prenota-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(47, 126, 167, 0.12);
}

.prenota-review::before {
  content: """;
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-size: 3rem;
  font-family: var(--font-serif, Georgia, serif);
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
}

.prenota-review__text {
  margin: 0 0 1rem;
  padding-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text, #1e2328);
  flex: 1;
}

.prenota-review__footer {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.prenota-review__stars {
  color: #d4a017;
  margin-left: 0.25em;
}

/* Recensioni in home: lascia visibile il parallax sottostante */
#home-reviews {
  background: transparent;
}

#home-reviews .prenota-reviews__title {
  color: #fff;
}

/* Footer pagina Prenota: sfondo chiaro */
body.page-prenota .footer {
  background: #fff;
}

/* Prenota ora: mostra solo il calendario (spostato dalla pagina houseboat) */
.prenota-hero,
.prenota-links {
  display: none;
}

.prenota-calendar {
  position: relative;
  z-index: 1;
  background: #fff;
}

.prenota-calendar .houseboat-availability__inner {
  padding-top: calc(var(--header-height, 80px) + 1.5rem);
}

#fd-availability-calendar.houseboat-avail-cal-wrap {
  margin-top: 0;
}

.prenota-terms {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 3rem 1.5rem 4rem;
}

.prenota-terms__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.prenota-terms__title {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text, #1e2328);
}

.prenota-terms__text {
  margin: 0 0 0.9rem;
  color: var(--muted, rgba(30, 35, 40, 0.72));
  line-height: 1.7;
}

.prenota-terms__text a {
  color: var(--accent, #2f7ea7);
  text-decoration: none;
  font-weight: 700;
}

.prenota-terms__text a:hover,
.prenota-terms__text a:focus-visible {
  text-decoration: underline;
}

/* ----- Responsive: una colonna su mobile ----- */
@media (max-width: 767px) and (orientation: portrait) {
  .prenota-hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .prenota-hero__title {
    font-size: 1.5rem;
  }

  .prenota-hero__contact-item {
    min-width: 100%;
  }

  .prenota-links__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .prenota-link-card {
    min-height: 140px;
    padding: 2rem 1.25rem;
  }

  .prenota-reviews__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .prenota-reviews__title {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .prenota-links__grid {
    grid-template-columns: 1fr;
  }

  .prenota-reviews__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .prenota-reviews__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1360px) and (orientation: landscape) {
  .prenota-links__grid {
    gap: 1.5rem;
  }

  .prenota-reviews__grid {
    gap: 1.5rem;
  }
}
