@charset "UTF-8";
/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
}
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
}

.hero-slide {
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 43, 69, 0.45) 0%, rgba(13, 43, 69, 0.2) 40%, rgba(13, 43, 69, 0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
  animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-logo {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}

.hero-logo-img {
  width: min(1200px, 92vw);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.25));
  display: block;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}
.btn-hero-cta:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}
.btn-hero-cta i {
  transition: transform 0.3s ease;
}
.btn-hero-cta:hover i {
  transform: translateX(4px);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
  opacity: 1;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-indicators {
  z-index: 5;
  bottom: 130px;
  gap: 0.4rem;
}
.carousel-indicators button {
  width: 32px;
  height: 3px;
  border-radius: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
}
.carousel-indicators button.active {
  width: 48px;
  background: var(--white);
}

/* ═══════════════════════════════════════════
   SEARCH BAR
═══════════════════════════════════════════ */
.search-bar-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transform: translateY(50%);
}

.search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem 1.4rem;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(13, 43, 69, 0.04);
}

/* ═══════════════════════════════════════════
   SHARED
═══════════════════════════════════════════ */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}
.section-heading--light {
  color: var(--white);
}

.heading-sun {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   CATEGORIE RESORT
═══════════════════════════════════════════ */
.section-categorie {
  padding: 8rem 0 5rem;
  background: var(--white);
}

.link-all-resort {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-light);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.link-all-resort:hover {
  color: var(--ocean);
}
.link-all-resort i {
  transition: transform 0.3s;
}
.link-all-resort:hover i {
  transform: translateX(3px);
}

.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13, 43, 69, 0.2);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 43, 69, 0.75), rgba(13, 43, 69, 0.3) 50%, rgba(13, 43, 69, 0.05));
  transition: background 0.4s;
}

.cat-card:hover .cat-card-overlay {
  background: linear-gradient(to top, rgba(13, 43, 69, 0.85), rgba(13, 43, 69, 0.35) 50%, rgba(13, 43, 69, 0.1));
}

.cat-card-body {
  position: relative;
  z-index: 2;
  padding: 1.6rem;
}

.cat-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cat-card-btn {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.cat-card:hover .cat-card-btn {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-elenco {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: all 0.35s;
  text-decoration: none;
}
.btn-elenco:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 43, 69, 0.25);
}
.btn-elenco i {
  transition: transform 0.3s;
}
.btn-elenco:hover i {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   RESORT DEL MESE
═══════════════════════════════════════════ */
.section-resort-mese {
  padding: 5rem 0 6rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.resort-carousel-nav {
  display: flex;
  gap: 0.5rem;
}

.resort-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.resort-nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.resort-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
}
.resort-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.resort-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.resort-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ocean);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  z-index: 2;
}
.resort-badge--gold {
  background: var(--sun-gold);
}

.resort-card-body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resort-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.4rem;
}

.resort-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.resort-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex: 1;
}

.resort-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.price-from {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.price-amount {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.price-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-resort-detail {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocean);
  border: 1.5px solid var(--ocean);
  background: transparent;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-resort-detail:hover {
  background: var(--ocean);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-resort-detail i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}
.btn-resort-detail:hover i {
  transform: translateX(3px);
}

#resortCarousel .carousel-item {
  height: auto;
}

/* ═══════════════════════════════════════════
   GLI ATOLLI
═══════════════════════════════════════════ */
.section-atolli {
  padding: 5rem 0 6rem;
  background: #EDF3F6;
}

.atolli-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ocean);
  margin-bottom: 0.4rem;
}

.atolli-main-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.atolli-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.atolli-carousel-wrap {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

#atolliCarousel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(13, 43, 69, 0.1);
}

.atolli-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDF3F6;
  padding: 2rem;
}

.atolli-slide-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.atolli-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(13, 43, 69, 0.12);
  transition: all 0.25s;
}
.atolli-carousel-arrow:hover {
  background: var(--ocean);
  color: var(--white);
}

#atolliCarousel .carousel-control-prev,
#atolliCarousel .carousel-control-next {
  width: auto;
  opacity: 1;
}
#atolliCarousel .carousel-control-prev {
  left: 1rem;
}
#atolliCarousel .carousel-control-next {
  right: 1rem;
}
#atolliCarousel .carousel-indicators {
  bottom: 0.8rem;
}
#atolliCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.25;
  border: none;
  transition: all 0.3s;
}
#atolliCarousel .carousel-indicators .active {
  opacity: 1;
  background: var(--ocean);
  transform: scale(1.2);
}

/* ═══════════════════════════════════════════
   SHARED SEARCH INPUT (used in newsletter + search bar)
═══════════════════════════════════════════ */
.search-input {
  font-size: 0.88rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
  height: 48px;
}
.search-input:focus {
  background: var(--white);
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(23, 184, 194, 0.12);
  outline: none;
}
.search-input::placeholder {
  color: var(--text-muted);
}

.search-check-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--ocean);
  border-color: var(--ocean);
}

/* ═══════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════ */
.section-newsletter {
  padding: 5rem 0;
  background: var(--white);
}

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

.newsletter-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.8rem auto 2rem;
  line-height: 1.6;
}

.newsletter-form .search-input {
  padding-left: 1rem;
  text-align: left;
}
.newsletter-form .form-check-label a {
  color: var(--ocean);
  text-decoration: underline;
}

.btn-newsletter {
  background: var(--sun-gold);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  height: 48px;
  transition: all 0.3s;
}
.btn-newsletter:hover {
  background: var(--sun-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

/* ═══════════════════════════════════════════
   RECENSIONI
═══════════════════════════════════════════ */
.section-reviews {
  padding: 5rem 0;
  background: linear-gradient(180deg, #EDF3F6, #E4EFF4);
}

.reviews-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(13, 43, 69, 0.06);
  border: 1px solid rgba(13, 43, 69, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(13, 43, 69, 0.1);
}

.review-stars {
  margin-bottom: 1rem;
  color: var(--sun-gold);
  font-size: 0.95rem;
  display: flex;
  gap: 0.1rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--navy-light);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 43, 69, 0.06);
}
.review-author strong {
  font-size: 0.85rem;
  color: var(--navy);
  display: block;
}
.review-author small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--turquoise));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .hero-subtitle {
    font-size: 1.3rem;
  }
  .hero-logo-img {
    height: 60px;
  }
  .carousel-indicators {
    bottom: 160px;
  }
  .search-bar {
    padding: 1.4rem 1.2rem 1rem;
  }
  .cat-card {
    height: 280px;
  }
  .section-categorie {
    padding: 7rem 0 4rem;
  }
}
@media (max-width: 575.98px) {
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-logo-img {
    height: 50px;
  }
  .hero-title {
    font-size: 1rem;
  }
  .btn-hero-cta {
    font-size: 0.8rem;
    padding: 0.7rem 1.6rem;
  }
  .carousel-indicators {
    bottom: 200px;
  }
  .search-bar-wrapper {
    transform: translateY(40%);
  }
  .cat-card {
    height: 240px;
  }
  .section-categorie {
    padding: 6rem 0 3rem;
  }
  .section-resort-mese {
    padding: 3.5rem 0 4rem;
  }
}