@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");
html {
  min-height: 100%;
  background: var(--primary);
}

:root {
  --bg-dark: #0b021a;
  /*--bg-gradient: radial-gradient(circle at top, #2a0a5e, #0b021a);*/
  --primary: #0d0027;
  --button: #3d00b7;
  --text-main: #ffffff;
  --text-muted: #d0c7e6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-main);
  background: transparent;
  min-height: 100%;
}

.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* HERO */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0px;
}

.intro {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: -6px;
}

/* SEZIONI */
.section {
  text-align: center;
  margin-bottom: 56px;
}

.section h2 {
  font-size: 30px;
  font-weight: 800; /* ExtraBold */
  margin-bottom: 16px;
}

.section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* BOTTONI */
.btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--button);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/*.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 44, 255, 0.4);
}*/

.btn.large {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn:active {
  background: #ffffff;
  color: var(--primary);
  transform: scale(0.98);
}

/* PLACEHOLDER IMMAGINE */
.placeholder {
  width: 100%;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  margin-top: 32px;
}

/* CTA FINALE */
.cta {
  text-align: center;
  margin-top: 32px;
}

/* STILE PER ALLINEAMENTO A SINISTRA */
.page-left {
  text-align: left;
}

.page-left .hero,
.page-left .section {
  text-align: left;
}

.page-left .hero .logo,
.page-left .hero .intro {
  text-align: left;
}

.page-left .hero a {
  display: block;
  width: fit-content;
  margin-bottom: 24px;
}

.tagline {
  margin-top: 32px;
  font-size: 26px; /* stesso corpo del testo */
  font-weight: 500; /* Medium */
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.signature {
  margin-top: 64px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-style: italic;
  line-height: 1.4;
}

.signature .name,
.signature .brand,
.signature .qualification {
  font-size: inherit;
  font-weight: 400;
}

/* PAGINA ITINERARI */
.itinerary-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 600px) {
  .itinerary-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

.itinerary-grid .btn {
  border-radius: 999px;
  width: 100%;
  justify-content: flex-start;
  padding: 16px;
  text-transform: none;
  font-size: 16px;
}

.itinerary-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-caption {
  margin-top: 4px;
  font-size: 12px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}


.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.itinerary-grid .coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.btn-inverse {
  background: #ffffff;
  color: var(--button);
}

.btn-inverse:active {
  background: var(--button);
  color: #ffffff;
}

.compact-list p {
  margin-bottom: 6px;
}

/* CAROUSEL STYLES */
.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  height: 40vh;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.carousel-caption {
  color: var(--text-main);
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);

  display: inline-block;
  padding: 6px 10px;
  white-space: nowrap;

  background: rgba(0, 0, 0, 0.5);
  color: var(--text-main);

  font-size: 12px;
  line-height: 1.4;
  border-radius: 4px;
}

.carousel-arrow {
  position: absolute;
  top: 0;
  bottom: 0;

  width: 35px;

  background: rgba(0, 0, 0, 0.15);
  color: white;

  border: none;
  font-size: 28px;
  font-weight: 300;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;
}

.carousel-arrow.left {
  left: 0;
}

.carousel-arrow.right {
  right: 0;
}

.carousel-arrow:active {
  background: rgba(0, 0, 0, 0.5);
}