:root{
  /* CELESTIAL PALETTE */
  --bg: #020412;
  --text: #EAEBF2;
  --muted: #8B94B8;
  --accent-nebula: #9E42F5; /* Violet */
  --accent-star: #00FFFF;   /* Cyan */
  --accent-sun: #FFD700;    /* Gold */
  
  /* TYPOGRAPHY */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* LAYOUT & EFFECTS */
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1100px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; 
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text); 
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button { cursor: none; }
  .comet-cursor, .comet-tail { display: block; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; will-change: transform; }
  .comet-cursor {
    width: 10px; height: 10px; background: white;
    box-shadow: 0 0 15px white, 0 0 25px var(--accent-star);
  }
  .comet-tail {
    background: white;
    transition: transform 0.1s ease-out;
  }
}

#starfield-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
}

.container{max-width:var(--container); margin-inline:auto; padding-inline:1.25rem}
a{color: var(--accent-sun); text-decoration:none; transition: all var(--transition);}
a:hover { color: var(--text); text-shadow: 0 0 8px var(--accent-sun); }
img{max-width:100%; height:auto; display:block; border-radius: 12px;}
section{padding:clamp(6rem, 12vw, 8rem) 0; position: relative; text-align: center;}

h1,h2,h3,h4{margin:0; line-height:1.2; font-family: var(--font-heading); font-weight: 700;}
h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
h2 { font-size: clamp(3rem, 7vw, 5rem); }
p { max-width: 60ch; margin-inline: auto; color: var(--muted); }

.section-header { margin-bottom: 4rem; }
.section-header p { margin-top: 1rem; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.75rem; 
  padding: 14px 32px; border-radius: 99px; font-weight:500; font-family: var(--font-body);
  border: 1px solid transparent; transition: all var(--transition);
  background: var(--accent-sun); color: #1c1c1c;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}
.btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 0 35px rgba(255, 215, 0, 0.6); }

.aurora-background {
  position: absolute; inset: -50% -50%;
  background: radial-gradient(circle at 20% 20%, var(--accent-nebula), transparent 40%),
              radial-gradient(circle at 80% 70%, var(--accent-star), transparent 40%);
  opacity: 0.1;
  animation: aurora-flow 20s infinite ease-in-out;
  z-index: -1;
}
@keyframes aurora-flow {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--transition), transform 1s var(--transition);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

header{
  position: absolute; top:0; left: 0; width: 100%; z-index:50;
  padding: 1.5rem 0;
}
.nav{display:flex; align-items:center; justify-content:space-between;}
.brand{font-family: var(--font-heading); font-size: 1.5rem; color: #FFFFFF;}
.whatsapp-icon a { color: #FFFFFF; }
.whatsapp-icon svg { width: 28px; height: 28px; transition: transform var(--transition); }
.whatsapp-icon a:hover svg { transform: scale(1.1); filter: drop-shadow(0 0 5px white); }

.hero{min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero p {font-size: clamp(1.1rem, 3vw, 1.25rem);}
.hero .btn { margin-top: 2.5rem; }

.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem; margin-top: 4rem;
}
.stat-item h3 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-family: var(--font-heading);
  color: var(--accent-star);
  text-shadow: 0 0 20px var(--accent-star);
}
.stat-item p { margin: 0.5rem auto 0; font-size: 16px; }

.voyages-list { list-style: none; padding: 0; margin: 0; }
.voyage-link { display: block; text-decoration: none; }
.voyage-item {
  padding: 1rem 0;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.3);
  transition: color 0.5s ease;
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  .voyage-link:hover .voyage-item { color: var(--text); }
}
.voyages-section { position: relative; }
.voyage-background {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: -1;
}
.voyage-background.is-visible { opacity: 0.2; }

/* === UPDATED: Desktop Constellations Styling (Horizontal Scroll) === */
.constellations-carousel .swiper-wrapper {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  margin-inline: -2rem; 
  overflow-x: auto;
  scrollbar-width: none;
}
.constellations-carousel .swiper-wrapper::-webkit-scrollbar { display: none; }
.constellations-carousel .swiper-slide {
  flex-shrink: 0; /* Prevent cards from shrinking */
  width: auto; /* Allow card to define its own width */
}
.constellations-carousel .swiper-pagination {
  display: none; /* Hide pagination on desktop */
}

.destination-card {
  width: 390px;
  height: 620px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0,255,255,0.3);
  box-shadow: 0 0 20px rgba(0,255,255,0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.destination-card h3 {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 2rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.card-link {
  display: block;
  text-decoration: none;
}
.card-link:hover .destination-card {
  transform: translateY(-10px) scale(1.03);
}

.destination-ticker {
  overflow: hidden;
  padding: 2rem 0;
  margin-bottom: 3rem;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 80s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  white-space: nowrap;
  padding: 0 2rem;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--muted);
  opacity: 0.3;
  transition: all 0.4s ease;
}
.ticker-item:hover {
  opacity: 1;
  color: var(--text);
  transform: scale(1.1);
  text-shadow: 0 0 10px var(--accent-star);
}
@keyframes ticker-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

footer{text-align: center;}
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }

/* === Mobile Overrides (≤768px) === */
@media (max-width: 768px) {
  /* This is the mobile carousel styling */
  .constellations-carousel {
    overflow: hidden;
  }
  .constellations-carousel .swiper-wrapper {
    overflow-x: visible;
    padding-inline: 1.25rem;
  }
  .constellations-carousel .swiper-slide {
    width: clamp(280px, 80vw, 320px);
    height: auto;
  }
  .destination-card {
    width: 100%;
    height: 370px;
  }
  .swiper-pagination {
    display: block;
    position: relative;
    bottom: -1rem;
    margin-top: 1rem;
  }
  .swiper-pagination-bullet {
    background-color: var(--muted);
    opacity: 0.5;
    transition: all var(--transition);
  }
  .swiper-pagination-bullet-active {
    background-color: var(--accent-star);
    opacity: 1;
    transform: scale(1.2);
  }
}

/* === Small Phones (≤480px) === */
@media (max-width: 480px) {
    .destination-card {
        height: 350px;
    }
}