/* ===== SEZIONE INTRO ===== */
.hajimete-intro {
  text-align: center;
  padding: 0 30px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.hajimete-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #8B2C2B;
  margin-bottom: 10px;
}

.hajimete-intro .lead {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 500;
}

.hajimete-intro .intro-desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 35px;
  line-height: 1.6;
}

.hajimete-intro .icon-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.hajimete-intro .icon-list li {
  font-size: 1.05rem;
  margin: 8px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hajimete-intro .icon-list i {
  color: #C9A86A;
  margin-right: 10px;
}

@media (max-width: 600px) {
  .hajimete-intro {
    padding: 0 16px 50px;
  }
}

.price-tag {
  font-size: 1.4rem;
  font-weight: bold;
  color: #8B2C2B;
  margin-top: 20px;
}

/* ===== DETTAGLI PACCHETTO (INCLUDE / NON INCLUDE / EXTRA) ===== */
.hajimete-details {
  background-color: white;
  padding: 40px 30px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 60px;
}
.hajimete-details h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #8B2C2B;
  margin-bottom: 25px;
}
.hajimete-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hajimete-details ul li {
  padding: 10px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid #eee;
  color: #444;
}
.hajimete-details .note {
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 10px;
  color: #666;
}

/* ===== CTA BUTTON ===== */
.call-to-action {
  text-align: center;
  padding-bottom: 80px;
}
.call-to-action .modern-btn {
  background-color: #8B2C2B;
  color: #fff;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  display: inline-block;
}
.call-to-action .modern-btn:hover {
  background-color: #6e1c1c;
}

@media (max-width: 400px) {
  .call-to-action .modern-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 40px;
  }
}


.focus-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 40px 20px;
  background-color: #F4F0E2;
  border-radius: 12px;
  margin-bottom: 60px;
}

.focus-item {
  width: 140px;
  text-align: center;
  font-family: 'Raleway', sans-serif;
}

.focus-icon {
  background-color: #8B2C2B;
  color: white;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px;
  font-size: 1.4rem;
}

.focus-label {
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #8B2C2B;
}

.focus-bar {
  background-color: #e4dccc;
  height: 6px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  background-color: #C9A86A;
  width: 0;
  transition: width 1.5s ease-out;
}

.score-text {
  font-size: 0.85rem;
  color: #555;
  margin-top: 6px;
  font-weight: 500;
}

/* Contenitore intero dell’itinerario */
.itinerario-esteso {
  margin-top: 60px;
  padding: 20px;
  background-color: #F4F0E2;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

/* Titolo sezione */
.itinerario-esteso h2 {
  font-size: 1.8rem;
  color: #8B2C2B;
  text-align: center;
  margin-bottom: 30px;
  font-family: 'Raleway', sans-serif;
}

.giorno-box {
  background-color: #FFFFFF;
  border: 1px solid #C9A86A;
  border-radius: 10px;
  margin: 20px auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  max-width: 800px;
  width: 90%;
  box-sizing: border-box;
}

/* Toggle senza sfondo pieno */
.giorno-toggle {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 20px;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #8B2C2B; /* Testo rosso Yume */
  box-sizing: border-box;
  border-bottom: 1px solid #E8DCC3;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
}

/* Hover leggero, elegante */
.giorno-toggle:hover {
  background-color: #FAF8F2;
}

/* Contenuto testuale */
.giorno-content {
  display: none;
  background-color: #FFF8F4;
  padding: 20px;
  font-size: 0.97rem;
  color: #2E2E2E;
  line-height: 1.6;
  font-family: 'Raleway', sans-serif;
}

/* Attivo */
.giorno-box.active .giorno-content {
  display: block;
}

/* Icona fafa-star */
.giorno-content i.fa-star {
  color: #C9A86A;
  margin-right: 6px;
  font-weight: bold;
}

.foto-slider-section {
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 20px;
}

.foto-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.foto-slider-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  max-width: 100%;
}

.foto-box {
  flex: 0 0 auto;
  width: 180px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.foto-box img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* Quando visibili (aggiunto via JS o IntersectionObserver) */
.foto-box img.visible {
  opacity: 1;
  transform: translateY(0);
}

.foto-box:hover img {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.foto-slider-title {
  text-align: center;
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
  color: #8B2C2B;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.foto-slider-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.btn-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.fullscreen-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  background: rgba(255,255,255,0.1);
  border: 1px solid #C9A86A;
  color: #C9A86A;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
}

.fullscreen-arrow.left {
  left: 20px;
}

.fullscreen-arrow.right {
  right: 20px;
}

.fullscreen-arrow:hover {
  background: #C9A86A;
  color: white;
}

.viator-widget-section {
  padding: 40px 20px;
  background-color: #F4F0E2;
  text-align: center;
}

.viator-widget-section h2.section-title {
  font-family: 'Playfair Display', serif;
  color: #8B2C2B;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  color: #F4F0E2;
  z-index: 5;
  opacity: 0;
  transform: translate(-50%, 20%);
  animation: slideInOverlay 1.2s ease-out 0.3s forwards;
}

@keyframes slideInOverlay {
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  color: #F4F0E2;
}

.hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 1.6rem;
  margin-top: 12px;
  font-weight: 300;
  color: #F4F0E2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }
}

.mappa-legend {
  margin-top: 20px;
  margin-bottom: 40px;
  background-color: #ffffff;
  border: 2px solid #C9A86A;
  padding: 18px 22px;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  color: #333;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mappa-legend p {
  margin: 0;
  color: #8B2C2B;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.mappa-legend ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.mappa-legend li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.mappa-legend i {
  color: #C9A86A;
  min-width: 18px;
  font-size: 1rem;
}

.mini-marker {
  height: 18px;
  vertical-align: middle;
  margin: 0 4px;
}

/* Centratura e stile del titolo sezione */
.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  margin: 30px 0 20px;
  color: #8B2C2B;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Quando diventa visibile */
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ Adattamento sotto i 768px */
@media (max-width: 768px) {
  .mappa-legend {
    padding: 16px;
    margin-left: 16px;
    margin-right: 16px;
    font-size: 0.95rem;
  }

  .mappa-legend i {
    font-size: 1rem;
  }

  .mappa-legend li {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
    padding: 0 16px;
    line-height: 1.3;
  }

  .mini-marker {
    height: 16px;
  }
}

/* Ulteriore adattamento sotto i 400px */
@media (max-width: 400px) {
  .mappa-legend {
    padding: 14px;
    margin-left: 12px;
    margin-right: 12px;
    font-size: 0.88rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .mappa-legend li {
    font-size: 0.9rem;
    gap: 8px;
    line-height: 1.3;
    flex-wrap: wrap;
  }

  .mappa-legend i {
    font-size: 0.95rem;
  }

  .mini-marker {
    height: 14px;
    margin: 0 3px;
  }
}


.cta-gruppo-kokai .modern-btn {
  all: unset;
  display: block;
  width: 260px;
  max-width: 90%;
  margin: 0 auto;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.cta-gruppo-kokai .modern-btn.dark {
  background-color: #8B2C2B;
  color: #fff;
  border: none;
}

.cta-gruppo-kokai .modern-btn.dark:hover {
  background-color: #6e1c1c;
}

.cta-gruppo-kokai .modern-btn.light {
  background-color: transparent;
  border: 2px solid #C9A86A;
  color: #C9A86A;
}

.cta-gruppo-kokai .modern-btn.light:hover {
  background-color: #C9A86A;
  color: #fff;
}

.cta-gruppo-kokai {
  padding: 50px 20px 60px;
  background-color: #F4F0E2;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  z-index: 3;
  position: relative;
}

@media (max-width: 768px) {
  .cta-gruppo-kokai {
    padding: 40px 15px 50px;
  }

  .cta-gruppo-kokai .modern-btn {
    font-size: 15.5px;
  }
}

@media (max-width: 400px) {
  .cta-gruppo-kokai .modern-btn {
    font-size: 15px;
    padding: 12px 20px;
  }

  .cta-gruppo-kokai {
    gap: 16px;
    padding: 30px 10px 40px;
  }
}

/* Disclaimer itinerario (coerente con la palette Yume) */
.itinerario-disclaimer {
  max-width: 700px;         /* più stretto per non occupare tutta la pagina */
  margin: 25px auto 10px;   /* centrato con margine sopra/sotto */
  padding: 12px 16px;
  background: #FFF8E6;
  border-left: 3px solid #C9A86A;
  border-radius: 8px;
  color: #5c4a1a;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;       /* centrato anche il testo */
}

/* Spazio leggero sotto i titoli delle sezioni, se serve armonizzare */
.itinerario-esteso h2,
.mappa-itinerario .section-title {
  margin-bottom: 10px;
}

