/* B&B dei Poeti — stili di contenuto per Helix Ultimate (indipendenti dal template) */

:root {
  --bdp-mauve: #846071;
  --bdp-mauve-dark: #6c4d5c;
  --bdp-gold: #cd9540;
  --bdp-purple: #ad5998;
  --bdp-navy: #34394f;
  --bdp-charcoal: #434343;
}

#sp-main-body {
  padding: 0;
}

.article-can-edit {
  display: none !important;
}

.logo-image.logo-default {
  margin-top: 70px;
}

.header-sticky .logo-image-phone {
  display: none !important;
}

/* Sezioni full-bleed: sfondo a piena larghezza anche dentro il container */
.section-fw,
.bdp-hero,
.bdp-parallax,
.bdp-section-dark,
.bdp-section-accent,
.bdp-section-light {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------- Hero (home / camere) ---------- */
.bdp-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  height: calc(100vh - 200px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bdp-hero__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding: .75rem;
}

.bdp-hero__title {
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 4rem);
  line-height: 1.15;
  text-shadow: 0 3px 5px rgba(0, 0, 0, .55);
  margin-bottom: .5rem;
}

.bdp-hero__subtitle {
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  text-shadow: 0 3px 5px rgba(0, 0, 0, .55);
}

/* ---------- Home: intro + stanze ---------- */
.bdp-intro {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

.bdp-room-card {
  text-align: center;
}

.bdp-room-card img {
  width: 100%;
  height: auto;
  border-radius: .25rem;
  transition: transform .35s ease, box-shadow .35s ease;
}

.bdp-room-card:hover img {
  transform: scale(1.02);
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .18);
}

.bdp-room-card .bdp-room-name {
  display: block;
  margin-top: .6rem;
  font-size: 1.3rem;
  color: var(--bdp-mauve);
}

.bdp-room-card .bdp-room-name:hover {
  color: var(--bdp-gold);
}

/* ---------- Parallax esterno ---------- */
.bdp-parallax {
  background-image: url(/images/beb-dei-poeti-esterno.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: 50% 100%;
  min-height: 60vh;
}

@media (max-width: 991px) {
  .bdp-parallax {
    background-attachment: scroll;
    min-height: 40vh;
  }
}

/* ---------- Sezioni piene ---------- */
.bdp-section-dark {
  background: var(--bdp-charcoal);
  color: #fff;
  padding: 3rem 0;
}

.bdp-section-accent {
  background: var(--bdp-mauve);
  color: #fff;
  padding: 3rem 0;
}

.bdp-section-accent hr,
.bdp-section-dark hr {
  border-color: rgba(255, 255, 255, .25);
}

.bdp-section-light {
  background: #efefef;
  padding: 3rem 0;
}

/* Servizi/amenities */
.bdp-amenity {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.bdp-amenity .bdp-check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bdp-gold);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}

/* Distanze */
.bdp-distances {
  background: var(--bdp-navy);
  color: #fff;
  padding: 1.75rem;
  border-radius: .25rem;
  text-align: center;
}

.bdp-distances .bdp-distance-num {
  color: var(--bdp-gold);
  font-size: 2.1rem;
  font-weight: 600;
}

.bdp-distances p {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.bdp-distances hr {
  border-color: rgba(255, 255, 255, .25);
  width: 70%;
  margin: 1rem auto;
}

.bdp-map-frame {
  border: 0;
  width: 100%;
  height: 450px;
}

/* ---------- Camere: blocco singola stanza ---------- */
.bdp-room {
  padding: 4rem 0;
}

.bdp-room img {
  width: 100%;
  height: auto;
  border-radius: .25rem;
}

.bdp-room__title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--bdp-mauve);
}

.bdp-room__quote {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--bdp-purple);
  margin-bottom: 1.25rem;
}

.bdp-room__desc p {
  font-size: 1.1rem;
  line-height: 1.55;
}

.bdp-room--alt {
  background: #f3eff1;
}

/* Gallery thumbs (glightbox) */
.bdp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .6rem;
}

.bdp-gallery a {
  display: block;
  overflow: hidden;
  border-radius: .2rem;
}

.bdp-gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  transition: transform .3s ease;
}

.bdp-gallery a:hover img {
  transform: scale(1.08);
}

/* ---------- Prezzi ---------- */
.bdp-price-block {
  text-align: center;
  padding: 3rem 0;
}

.bdp-price-block h3 {
  color: var(--bdp-mauve);
  margin-top: 1.5rem;
}

.bdp-price-block .bdp-price-value {
  font-size: 1.5rem;
  color: var(--bdp-gold);
  font-weight: 600;
}

.bdp-price-block hr {
  border-top: 2px solid var(--bdp-mauve);
  width: 60%;
  margin: 1.5rem auto;
}

/* ---------- Contatti ---------- */
.bdp-contact-card {
  font-size: 1.15rem;
  line-height: 1.7;
}

.bdp-contact-card h2 {
  color: var(--bdp-mauve);
}

.bdp-contact-card a {
  color: var(--bdp-mauve);
  text-decoration: none;
}

.bdp-contact-card a:hover {
  color: var(--bdp-gold);
}

/* ---------- Footer custom (se presente) ---------- */
.bdp-footer {
  font-size: .95rem;
  text-align: center;
}

.bdp-footer a {
  color: inherit;
  text-decoration: underline;
}
