/* RESET BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #222;
}

/* CONTENITORI */
.container {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

/* BANNER FANMADE */
.fanmade-banner {
  background: #ebebeb;
  color: #000000;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
}

/* HEADER */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  gap: 1rem;
}

.header-left,
.header-middle,
.header-right {
  display: flex;
  align-items: center;
}

/* LOGO */
.logo-img {
  height: 60px;        
  width: auto;
  object-fit: contain;
  display: block;
}

/* NAV */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.header-nav a {
  text-decoration: none;
  color: #001b4c;
  white-space: nowrap;
}

.secondary-nav {
  gap: 2rem;
}

/* DROPDOWN */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: #001b4c;
  white-space: nowrap;
}

.nav-dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  padding: 0.4rem 0;
  display: none;
  z-index: 10;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  color: #001b4c;
}

.nav-dropdown-menu a:hover {
  background: #f3f4f6;
}

/* Mostra al passaggio del mouse (semplificato) */
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown.small .nav-dropdown-menu {
  min-width: 80px;
}

/* BOTTONI HEADER */
.btn-club {
  background: #001b4c;
  color: #ffffff !important;
  padding: 0.4rem 0.7rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px; /* Spazio tra logo e testo */
  text-decoration: none;
}


.club-icon {
  height: 40px;   /* Regola come preferisci */
  width: auto;
  display: block;
}


.btn-menu {
  background: #001b4c;
  color: #FFEC02;
  border: none;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  min-height: 480px;
  background-image: url("");
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 27, 76, 0.7),
    rgba(0, 27, 76, 0.4)
  );
}

/* CAROSELLO */
.carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.carousel-img.active {
  opacity: 1;
}


/* HERO CONTENUTO */
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 100% - 2rem);
  margin: 2.5rem auto;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 380px);
  gap: 2rem;
}

/* CARD BASE */
.booking-card,
.promo-card {
  background: #001b4c;
  border-radius: 8px;
  padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.booking-card {
  background: #001b4cd0;
  
}

.booking-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

/* FORM */
.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.select-wrapper,
.input-with-icon {
  position: relative;
}

select,
input[type="date"] {
  width: 100%;
  padding: 0.55rem 0.55rem;
  border-radius: 4px;
  border: none;
  font-size: 0.8rem;
  font-weight: 1000;
  font-family: inherit;
  color: #001b4c;
}

.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #001b4c;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

/* PRESTAZIONI */
.prestazioni-row {
  display: flex;
  gap: 0.5rem;
}

.pill-input {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  color: #001b4c;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
}

.pill-icon {
  font-size: 0.9rem;
}

/* BOTTONI */
.btn-primary {
  background: #FFEC02;
  color: #001b4c;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.4rem;
}

.btn-primary.full-width {
  width: 100%;
}

.btn-secondary {
  background: #FFEC02;
  color: #001b4c;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.8rem;
}

/* PROMO CARD */
.promo-card {
  background: rgba(255, 255, 255, 0.9);
  color: #001b4c;
  align-self: center;
}

.promo-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #001b4c;
  margin-bottom: 0.3rem;
}

.promo-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.promo-card p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* SLIDER DOTS */
.slider-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 1;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.dot.active {
  background: #FFEC02;
}

/* Contenitore dots + pulsante */
.slider-controls {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

/* Bottone Play/Pausa */
.carousel-btn {
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid #ffffff00;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}


/* OFFERTE */
.offers-section {
  background: #f3f4f6;
  padding: 2.5rem 0 3rem;
}

.offers-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #001b4c;
}

.offers-section h2 span {
  font-weight: 400;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* CARD OFFERTA */
.offer-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.offer-img {
  height: 140px;
  background-image: url("");
  background-size: cover;
  background-position: center;
}

.offer-body {
  padding: 1rem;
}

.offer-body h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #001b4c;
}

.offer-body p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.offer-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #001b4c;
  text-decoration: none;
}

/* FOOTER */
.main-footer {
  background: #001b4c;
  color: #fff;
  padding: 1.2rem 0;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 0.8rem;
}

.footer-nav a {
  color: #FFEC02;
  text-decoration: none;
}

/* WRAPPER GENERALE */
.results-wrapper {
  width: min(1200px, 100% - 2rem);
  margin: 2rem auto;
  color: #001b4c;
}

/* BARRA RIEPILOGO */
.results-searchbar {
  background: #001b4c;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  color: white;
}

.rs-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.rs-group label {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 600;
}

.rs-box {
  background: white;
  color: #001b4c;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  min-width: 140px;
  font-weight: 600;
}

/* FILTRI */
.rs-filters {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.filter-btn {
  background: white;
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  color: #001b4c;
  cursor: pointer;
}

/* AVVISO */
.rs-warning {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.rs-icon {
  font-size: 1.3rem;
}

/* TITOLO */
.rs-title {
  font-size: 1.4rem;
  margin: 1rem 0;
  font-weight: 900;
}

/* DATE SELECTOR */
.rs-dates {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rs-date-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #001b4c;
}

.rs-date-list {
  display: flex;
  gap: 1rem;
  flex: 1;
  overflow-x: auto;
}

.rs-date-card {
  background: white;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 150px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.rs-date-card.active {
  border: 2px solid #001b4c;
}

/* WRAPPER GENERALE */
.results-wrapper {
  width: min(1200px, 100% - 2rem);
  margin: 2rem auto;
  color: #001b4c;
}

/* BARRA RIEPILOGO */
.results-searchbar {
  background: #001b4c;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  color: white;
}

.rs-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.rs-group label {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 600;
}

.rs-box {
  background: white;
  color: #001b4c;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  min-width: 140px;
  font-weight: 600;
}

/* FILTRI */
.rs-filters {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.filter-btn {
  background: white;
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  color: #001b4c;
  cursor: pointer;
}

/* AVVISO */
.rs-warning {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.rs-icon {
  font-size: 1.3rem;
}

/* TITOLO */
.rs-title {
  font-size: 1.4rem;
  margin: 1rem 0;
  font-weight: 900;
}

/* DATE SELECTOR */
.rs-dates {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rs-date-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #001b4c;
}

.rs-date-list {
  display: flex;
  gap: 1rem;
  flex: 1;
  overflow-x: auto;
}

.rs-date-card {
  background: white;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 150px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.rs-date-card.active {
  border: 2px solid #001b4c;
}

/* WRAPPER GENERALE */
.results-wrapper {
  width: min(1200px, 100% - 2rem);
  margin: 2rem auto;
  color: #001b4c;
}

/* BARRA RIEPILOGO */
.results-searchbar {
  background: #001b4c;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  color: white;
}

.rs-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.rs-group label {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 600;
}

.rs-box {
  background: white;
  color: #001b4c;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  min-width: 140px;
  font-weight: 600;
}

/* FILTRI */
.rs-filters {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.filter-btn {
  background: white;
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  color: #001b4c;
  cursor: pointer;
}

/* AVVISO */
.rs-warning {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.rs-icon {
  font-size: 1.3rem;
}

/* TITOLO */
.rs-title {
  font-size: 1.4rem;
  margin: 1rem 0;
  font-weight: 900;
}

/* DATE SELECTOR */
.rs-dates {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rs-date-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #001b4c;
}

.rs-date-list {
  display: flex;
  gap: 1rem;
  flex: 1;
  overflow-x: auto;
}

.rs-date-card {
  background: white;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 150px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.rs-date-card.active {
  border: 2px solid #001b4c;
}

/* === STEPPER PRENOTAZIONE === */
.stepper-bar {
  background: #f5f5f7;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stepper-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #001b4c;
}

.stepper-item {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
}

.stepper-item.active {
  background: #001b4c;
  color: #FFEC02;
}

.step-arrow {
  opacity: 0.5;
}

/* === LAYOUT RISULTATI === */
.results-main {
  padding: 1.5rem 0 3rem;
}

/* Barra blu */
.results-searchbar {
  background: #001b4c;
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.rs-row {
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.rs-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.rs-box {
  background: #ffffff;
  color: #001b4c;
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  min-width: 150px;
  font-weight: 600;
  font-size: 0.85rem;
}

.rs-search-btn {
  align-self: center;
  padding-inline: 1.8rem;
}

/* Filtri */
.rs-filters {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-btn {
  background: #f3f4f6;
  border: none;
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: #001b4c;
}

/* Avviso */
.rs-warning {
  margin-top: 1.5rem;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.85rem;
}

.rs-warning-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #001b4c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #001b4c;
}

/* Titolo tratta + calendario */
.rs-route-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.rs-route-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rs-route-title h2 {
  font-size: 1.4rem;
  color: #001b4c;
}

/* Icone “original style” */
.icon-ship::before {
  content: "⛴️";
  font-size: 1.3rem;
}

.icon-calendar::before {
  content: "📅";
  font-size: 1rem;
}

.calendar-link {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #001b4c;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

/* Selettore giorni */
.rs-dates {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rs-date-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #001b4c;
}

.rs-date-list {
  display: flex;
  gap: 1rem;
  flex: 1;
  overflow-x: auto;
  padding-bottom: 0.3rem;
}

.rs-date-card {
  min-width: 150px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  color: #001b4c;
}

.rs-date-card.active {
  border: 2px solid #001b4c;
}

.rs-date-day {
  margin-bottom: 0.3rem;
}

.rs-date-sub {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Card traversata */
.results-container {
  margin-top: 1rem;
}

.rs-route-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 7px 22px rgba(0,0,0,0.18);
  margin-bottom: 1.5rem;
  padding: 1.3rem 1.5rem;
}

.rs-route-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.rs-route-col {
  flex: 1;
}

.route-col-main {
  min-width: 0;
}

.route-col-tariffa {
  max-width: 190px;
}

.route-col-prezzo {
  max-width: 160px;
  text-align: right;
}

/* Porti */
.rs-porti {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #001b4c;
}

.porto-label {
  white-space: nowrap;
}

.porto-arrow {
  font-size: 1.2rem;
}

/* Orari */
.rs-orari {
  display: flex;
  gap: 2rem;
  margin-top: 0.7rem;
  font-size: 0.85rem;
}

.orario-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.7;
}

.orario-time {
  font-weight: 800;
  font-size: 1.1rem;
}

.orario-note {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Tariffa */
.tariff-badge {
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tariff-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #FFEC02;
}

/* Prezzo */
.route-price {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  color: #001b4c;
}

.btn-avanti {
  width: 100%;
  border-radius: 999px;
}

/* Nota prezzi */
.rs-price-note {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.3rem;
}

/* Responsive */
@media (max-width: 900px) {
  .rs-route-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .route-col-prezzo {
    text-align: left;
    max-width: none;
  }

  .rs-orari {
    flex-direction: column;
  }

  .rs-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .rs-search-btn {
    align-self: flex-start;
  }
}


.result-card {
  background: white;
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color: #001b4c;
}

.result-time {
  text-align: center;
}

.result-hour {
  font-size: 1.8rem;
  font-weight: 700;
}

.result-date {
  font-size: 0.9rem;
  opacity: 0.7;
}

.result-route h3 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.result-route p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.result-actions {
  display: flex;
  justify-content: center;
}

.rs-date-item {
  min-width: 80px;
  background: white;
  text-align: center;
  padding: 0.5rem;
  border-radius: 10px;
  margin: 0 5px;
  cursor: pointer;
  transition: 0.2s;
  color: #001b4c;
  border: 2px solid transparent;
}

.rs-date-item:hover {
  background: #f1f1f1;
}

.rs-date-item.active {
  border: 2px solid #001b4c;
  background: #FFEC02;
}

.rs-date-day {
  font-weight: 700;
}

.rs-date-num {
  font-size: 1.3rem;
  font-weight: 900;
}

.rs-date-month {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* PAGINE SECONDARIE */
.active-page {
  border-bottom: 3px solid #ffec02;
  padding-bottom: 3px;
}

/* Sezioni */
.section-title {
  font-size: 2rem;
  color: #001b4c;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-text {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: #444;
}

.navi-tratte-servite {
  text-align: center;
  max-width: 750px;
  font-weight: 600;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #000000;
}

.page-hero {
  width: 100%;
  height: 280px; /* NON enorme */
  background: url('immagine.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  font-weight: 700;
}


/* Chi siamo: mission */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.mission-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mission-icon {
  font-size: 2.5rem;
}


/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.team-card {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

/* Flotta */
.flotta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

.ship-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
}

.ship-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Features (Discord / Gruppo) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background:white;
  padding:1.5rem;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

/* SISTEMA SPAZIATURE E HERO DELLE PAGINE SECONDARIE */
.page-wrapper {
  padding-top: 2rem; /* spazio dopo header */
}

.page-hero {
  margin-top: 0;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  position: relative;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  z-index: 2;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* Hero con immagine statica */
.page-hero-image {
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Hero con video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  z-index: 1;
}

/* Sezione intro */
.page-intro {
  text-align: center;
  max-width: 850px;
  margin: 2.5rem auto;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.55;
}

/* Migliora spaziatura card */
.features-grid,
.flotta-grid,
.mission-grid,
.team-grid {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

/* Riduce spazio sopra Vantaggi */
.section-title {
  margin-top: 2rem;
}

/* Fix per evitare buchi enormi */
.section-padding {
  padding: 3rem 0;
}

/* SPAZIO SOTTO L’HERO DELLE PAGINE */
.page-hero + .page-content,
.page-hero + .section-padding,
.page-hero + .page-intro {
  margin-top: 3.5rem !important; /* più spazio, molto più pulito */
}

/* Sezione introduttiva generica */
.page-intro {
  margin-top: 2.8rem;
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #333;
}

/* In caso di sezioni subito dopo l’hero */
.section-padding {
  padding-top: 3.5rem !important;
}

/* ================================
   CORSICA CLUB – HERO
   ================================ */

.club-hero {
  width: 100%;
  height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
              url('club-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 3rem;
}

.club-hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  color: rgb(255, 236, 2);
}

.club-hero-content p {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
}


/* ================================
   INTRODUZIONE
   ================================ */

.club-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.club-intro .section-title {
  font-size: 2.2rem;
  color: #001b4c;
  margin-bottom: 1rem;
}

.club-intro .section-text {
  font-size: 1rem;
  max-width: 760px;
  margin: 0 auto;
  color: #444;
}


/* ================================
   CARDS LIVELLI CLUB
   ================================ */

.club-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Singola card */
.club-card {
  background: white;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
  border-top: 6px solid #001b4c;
  text-align: center;
  color: #001b4c;
}

.club-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.club-description {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  color: #333;
}

/* Lista benefici */
.club-benefits {
  list-style: none;
  text-align: left;
  margin: 0 auto 1.5rem;
  padding: 0;
  max-width: 260px;
}

.club-benefits li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Prezzo */
.club-price {
  font-size: 2rem;
  font-weight: 900;
  margin: 1.2rem 0;
  color: #001b4c;
}

/* Pulsante */
.club-btn {
  display: inline-block;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #ffec02;
  color: #001b4c !important;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.25s;
}

.club-btn:hover {
  background: #ffe700;
}


/* ================================
   COLORI SPECIALI PER OGNI LIVELLO
   ================================ */

.club-silver {
  border-top-color: #bfc0c0; /* argento */
}

.club-white {
  border-top-color: #dcdcdc; /* bianco perlato */
}

.club-yellow {
  border-top-color: #ffec02; /* giallo CF */
}

.o-list-legal {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: #444;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {
  .club-hero {
    height: 240px;
  }

  .club-hero-content h1 {
    font-size: 2.4rem;
  }

  .club-levels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .club-hero {
    height: 200px;
  }

  .club-hero-content h1 {
    font-size: 2rem;
  }
}


/* RESPONSIVE */
/* Tablet */
@media (max-width: 1024px) {
  .header-nav {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .btn-club {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }

  .club-icon {
    height: 30px;
  }
}

/* Tablet piccolo & Mobile grande */
@media (max-width: 900px) {

  .hero {
    padding: 1rem 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .promo-card {
    order: -1;
  }

  .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-card {
    margin-bottom: 1rem;
  }

  .offer-img {
    height: 120px;
  }
}

/* Smartphone */
@media (max-width: 700px) {

  /* Header */
  .main-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-nav {
    gap: 0.6rem;
    font-size: 0.85rem;
  }

  /* Logo */
  .logo-img {
    height: 50px;
  }

  /* Form booking */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  select,
  input[type="date"] {
    font-size: 0.85rem;
  }

  /* Carosello */
  .carousel-img {
    object-position: center;
  }

  .slider-controls {
    bottom: 1rem;
    gap: 0.6rem;
  }

  .carousel-btn {
    font-size: 0.8rem;
    padding: 0.15rem 0.45rem;
  }

  .dot {
    width: 7px;
    height: 7px;
  }
}

/* Smartphone più piccoli */
@media (max-width: 500px) {

  /* Header nav */
  .header-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .secondary-nav {
    gap: 1rem;
  }

  /* Logo più piccolo */
  .logo-img {
    height: 45px;
  }

  /* Offerte */
  .offer-img {
    height: 100px;
  }

  .offer-body h3 {
    font-size: 0.85rem;
  }

  .offer-body p {
    font-size: 0.8rem;
  }
}