/* ============================================================
   ALSON TOUR EGADI – style.css
   Design: Luxury, Modern, Responsive (Mobile First)
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --white:       #ffffff;
  --off-white:   #f8f9fc;
  --blue-dark:   #0a1628;
  --blue:        #1a3a6e;
  --blue-mid:    #1e5fa8;
  --teal:        #00b4d8;
  --teal-light:  #90e0ef;
  --gold:        #c9a84c;
  --gold-light:  #f0d080;
  --rose:        #e86a8a;
  --wa-green:    #25d366;
  --text-dark:   #0d1b2a;
  --text-mid:    #3d5a80;
  --text-light:  #98b0cc;
  --glass-bg:    rgba(255,255,255,0.08);
  --glass-border:rgba(255,255,255,0.15);

  --font-main:   'Poppins', sans-serif;
  --font-head:   'Montserrat', sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 40px rgba(0,180,216,0.3);

  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ── Navbar Logo Image ── */
.navbar-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

.navbar-logo-img:hover {
  opacity: 0.9;
}

/* Fallback testuale se il PNG del logo non è ancora caricato */
.logo-fallback {
  flex-direction: column;
  line-height: 1;
}

/* ── Footer Logo Image ── */
.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.9rem;
  filter: brightness(1.05);
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--blue-dark);
  color: var(--white);
}

.section-about {
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f4fd 100%);
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header-light {
  color: var(--white);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.tag-light {
  color: var(--teal-light);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.section-header-light .section-title {
  color: var(--white);
}

.section-title.left {
  text-align: left;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.section-subtitle.light {
  color: var(--text-light);
}

.section-departure {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(0,184,184,0.08);
  border: 1px solid rgba(0,184,184,0.2);
  border-radius: var(--radius-xl);
  padding: 0.35rem 0.9rem;
}

.accent {
  color: var(--teal);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue-mid) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,180,216,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.08em;
}

.logo-accent {
  color: var(--teal);
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--teal-light);
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-xl);
  margin-left: 0.5rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,180,216,0.35);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,180,216,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Fallback: usa l'immagine poster se il video non carica */
  background: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,22,40,0.55) 0%,
    rgba(10,22,40,0.35) 50%,
    rgba(10,22,40,0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem 1.5rem;
  max-width: 850px;
}

.hero-badge {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1.5s 1.5s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================================
   TOUR CARDS
============================================================ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* 3-column variant – centrato se < 3 item */
.tours-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .tours-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .tours-grid-3 {
    grid-template-columns: 1fr;
  }
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-featured {
  border: 2px solid var(--gold);
  box-shadow: 0 8px 40px rgba(201,168,76,0.2);
}

.card-featured:hover {
  box-shadow: 0 20px 60px rgba(201,168,76,0.3);
}

.card-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-card:hover .card-image {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
}

.card-badge-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--blue-dark);
}

.card-badge-rose {
  background: var(--rose);
}

.card-badge-premium {
  background: linear-gradient(135deg, #6a0dad 0%, #9b30e0 100%);
  color: var(--white);
}

/* Card premium – viola/lusso */
.card-premium {
  border: 2px solid #9b30e0;
  box-shadow: 0 8px 40px rgba(154,48,224,0.18);
}

.card-premium:hover {
  box-shadow: 0 20px 60px rgba(154,48,224,0.28);
}

/* Card includes row */
.card-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.9rem;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(135deg, rgba(0,180,216,0.07), rgba(0,180,216,0.03));
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,180,216,0.15);
}

.card-includes span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.card-includes span i {
  font-size: 0.72rem;
}

.card-body {
  padding: 1.5rem;
}

.card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.card-meta i {
  color: var(--teal);
  margin-right: 0.25rem;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.price-from {
  font-size: 0.78rem;
  color: var(--text-light);
}

.price-amount {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
}

.price-per {
  font-size: 0.78rem;
  color: var(--text-light);
}

.card-children-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  margin: -0.75rem 0 1rem;
}

.card-children-note i {
  font-size: 0.85rem;
}

.card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================
   GALLERY
============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-large {
  aspect-ratio: auto;
}

.gallery-tall {
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Gallery overlay – effetto hover senza testo */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.45) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   REVIEWS
============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(0,180,216,0.08);
  line-height: 1;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.review-stars i {
  color: #f5b942;
  font-size: 0.9rem;
  animation: starPop 0.4s ease both;
}

.review-stars i:nth-child(1) { animation-delay: 0s; }
.review-stars i:nth-child(2) { animation-delay: 0.08s; }
.review-stars i:nth-child(3) { animation-delay: 0.16s; }
.review-stars i:nth-child(4) { animation-delay: 0.24s; }
.review-stars i:nth-child(5) { animation-delay: 0.32s; }

.review-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-dark);
}

.review-location {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ── Review CTA ── */
.reviews-cta {
  margin-top: 3rem;
  text-align: center;
}

.reviews-cta-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}

.reviews-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-google {
  background: #fff;
  color: #3c4043;
  border: 2px solid #dadce0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.btn-google:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
  transform: translateY(-2px);
  border-color: #4285f4;
}

.btn-tripadvisor {
  background: #34e0a1;
  color: #fff;
  border: 2px solid #34e0a1;
  box-shadow: 0 2px 12px rgba(52,224,161,0.3);
}

.btn-tripadvisor:hover {
  background: #00aa6c;
  border-color: #00aa6c;
  box-shadow: 0 6px 24px rgba(0,170,108,0.4);
  transform: translateY(-2px);
}

/* ============================================================
   METEO
============================================================ */
.section-meteo {
  background: linear-gradient(135deg, #f0f6ff 0%, #e0f0fa 100%);
}

.btn-meteo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-meteo-link:hover {
  background: var(--teal);
  color: var(--white);
}

/* Meteo card grid */
.meteo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.meteo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.meteo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.meteo-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}

.wind-icon-bg { background: rgba(100,160,255,0.15); color: #3b82f6; }
.wave-icon-bg { background: rgba(0,180,216,0.15);   color: var(--teal); }
.temp-icon-bg { background: rgba(249,115,22,0.15);  color: #f97316; }
.sea-icon-bg  { background: rgba(34,197,94,0.15);   color: #22c55e; }

.meteo-card-data {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.3rem;
}

.meteo-value {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
}

.meteo-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
}

.meteo-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.meteo-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Meteo map */
.meteo-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.meteo-map-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

.meteo-map-header i {
  color: var(--teal);
  font-size: 1rem;
}

.meteo-map-header span {
  flex: 1;
}

.meteo-map-iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

/* Legenda */
.meteo-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.green  { background: #22c55e; }
.legend-dot.yellow { background: #f59e0b; }
.legend-dot.red    { background: #ef4444; }

@media (max-width: 768px) {
  .meteo-grid { grid-template-columns: repeat(2, 1fr); }
  .meteo-map-iframe { height: 340px; }
  .meteo-legend { gap: 1rem; }
}

@media (max-width: 480px) {
  .meteo-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CHI SIAMO
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.about-badge-float i {
  color: var(--gold);
  font-size: 1.2rem;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.about-content {
  padding: 1rem 0;
}

.about-text {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-item i {
  color: var(--teal);
  font-size: 1rem;
  width: 20px;
}

/* ============================================================
   CONTATTI
============================================================ */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  color: var(--white);
  border: 1px solid var(--glass-border);
  display: block;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 10px 40px rgba(0,180,216,0.2);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  transition: transform var(--transition);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.wa-icon    { background: rgba(37,211,102,0.2);  color: #25d366; }
.phone-icon { background: rgba(0,180,216,0.2);   color: var(--teal); }
.email-icon { background: rgba(30,95,168,0.3);   color: var(--teal-light); }
.ig-icon    { background: rgba(225,100,120,0.2); color: #f06; }
.tt-icon    { background: rgba(255,255,255,0.1); color: var(--white); }
.anchor-icon{ background: rgba(0,180,216,0.2);   color: var(--teal); }

.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.contact-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.03em;
}

.contact-cta {
  border: 2px dashed rgba(0,180,216,0.4);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #060e1a;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links-col ul li {
  margin-bottom: 0.65rem;
}

.footer-links-col ul li a,
.footer-links-col ul li span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-col ul li a:hover {
  color: var(--teal-light);
}

.footer-links-col ul li i {
  font-size: 0.8rem;
  color: var(--teal);
  width: 16px;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--teal-light);
}

/* ============================================================
   MOLO MAP
============================================================ */
.molo-map-wrap {
  margin-top: 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.molo-map-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-light);
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.05);
  margin: 0;
}

.molo-map-title i {
  color: var(--teal);
}

.molo-map-frame {
  width: 100%;
  height: 380px;
}

.molo-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ============================================================
   MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10,22,40,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(0,0,0,0.12);
  color: var(--text-dark);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.modal-header h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.req {
  color: var(--teal);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
  background: var(--white);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--teal);
  cursor: pointer;
}

.form-check label {
  font-size: 0.83rem;
  color: var(--text-mid);
  font-weight: 400;
  cursor: pointer;
}

.form-check label a {
  color: var(--teal);
  text-decoration: underline;
}

.field-error {
  font-size: 0.77rem;
  color: #e74c3c;
  min-height: 1em;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 2rem 0;
}

.form-success i {
  font-size: 3rem;
  color: var(--teal);
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: all var(--transition);
  animation: waFloat 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.4); opacity: 0.3; }
}

@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes starPop {
  0%   { transform: scale(0) rotate(-30deg); opacity: 0; }
  70%  { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Scroll-triggered animations */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 3px;
}

/* ============================================================
   RESPONSIVE
============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-badge-float {
    right: 0;
  }
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-large {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .gallery-tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html { scroll-padding-top: 70px; }

  .section { padding: 4rem 0; }

  /* Navbar mobile */
  .navbar-logo-img {
    height: 44px;
  }

  .hamburger {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(80vw, 320px);
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transition: right var(--transition);
    z-index: 999;
  }

  .navbar-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-cta {
    margin: 1rem 0 0;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  /* Hero mobile */
  .hero-stats {
    gap: 1.25rem;
  }
  .stat-num { font-size: 1.5rem; }

  /* Tours grid */
  .tours-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-large {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .gallery-tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Contacts */
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Modal */
  .modal-box {
    padding: 2rem 1.25rem;
    max-height: 95vh;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* WA float */
  .wa-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-stats {
    gap: 0.75rem;
  }
  .stat-divider {
    height: 30px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-large {
    grid-column: span 1;
  }
}

/* Print */
@media print {
  .navbar, .wa-float, .modal-overlay, .hero-video { display: none !important; }
}
