html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
}

section {
  height: 100vh;
  width: 100%;
  position: relative;
}

.side-nav {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  z-index: 1000;
  padding-left: 10px;
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 20vw;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: white;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.side-nav a.active,
.side-nav a:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.side-nav a::after {
  content: attr(data-label);
  margin-left: 10px;
  color: white;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 1;
  display:none;
}

@media (min-width: 768px) {
  .side-nav a {
    font-size: 1rem;
    border-radius: 20px;
  }

  .side-nav a::after {
    display: none;
  }
}

.side-nav::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: var(--line-gradient, linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2)));
  z-index: -1;
  pointer-events: none;
}

#space {
  background: linear-gradient(to bottom, #000000 0%, #1a1a2e 60%, #2e3b4e 90%, #87ceeb 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
  padding: 20px;
}

.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
  z-index: 1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}


.title, .subtitle, .names, .date-location {
  z-index: 2;
  color: #f5f0d5;
}

.title {
  font-size: 2.2rem;
  font-weight: bold;
}

.subtitle {
  font-size: 1rem;
  margin-top: 10px;
}

.names {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: bold;
}

.date-location {
  font-size: 1rem;
  margin-top: 5px;
  color: #dcd7c9;
}

#sky {
  background: linear-gradient(to bottom, #87ceeb 0%, #a1e3ff 100%);
  overflow: hidden;
  position: relative;
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}

.cloud1 {
  width: 100px; height: 60px;
  top: 20%; left: 5vw;
  animation: cloudMoveLoop 60s linear infinite;
}
.cloud1::before { width: 60px; height: 60px; top: -20px; left: 20px; }
.cloud1::after { width: 80px; height: 80px; top: -30px; left: 50px; }

.cloud2 {
  width: 120px; height: 70px;
  top: 50%; left: 25vw;
  animation: cloudMoveLoop 80s linear infinite;
  z-index:3;
}
.cloud2::before { width: 70px; height: 70px; top: -25px; left: 30px; }
.cloud2::after { width: 90px; height: 90px; top: -35px; left: 60px; }

.cloud3 {
  width: 110px; height: 50px;
  top: 30%; left: 50vw;
  animation: cloudMoveLoop 85s linear infinite;
}
.cloud3::before { width: 60px; height: 50px; top: -10px; left: 10px; }
.cloud3::after { width: 50px; height: 60px; top: -20px; left: 40px; }

.cloud4 {
  width: 90px; height: 40px;
  top: 40%; left: 65vw;
  animation: cloudMoveLoop 95s linear infinite;
  z-index:3;
}
.cloud4::before { width: 40px; height: 40px; top: -10px; left: 20px; }
.cloud4::after { width: 60px; height: 50px; top: -15px; left: 35px; }

.cloud5 {
  width: 130px; height: 65px;
  top: 15%; left: 80vw;
  animation: cloudMoveLoop 100s linear infinite;
}
.cloud5::before { width: 70px; height: 70px; top: -15px; left: 15px; }
.cloud5::after { width: 90px; height: 60px; top: -25px; left: 60px; }

.cloud6 {
  width: 100px; height: 45px;
  top: 45%; left: 95vw;
  animation: cloudMoveLoop 75s linear infinite;
  z-index:3;
}
.cloud6::before { width: 45px; height: 45px; top: -12px; left: 10px; }
.cloud6::after { width: 55px; height: 55px; top: -18px; left: 38px; }

@keyframes cloudMoveLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(100vw); }
}

.plane-container {
  position: absolute;
  top: 30%;
  left: -450px;
  animation: flyPlane 10s ease-in-out infinite;
  z-index: 2;
}

.plane {
  width: 400px;
  height: auto;
  position: relative;
  z-index: 2;
}

.wind-line {
  position: absolute;
  width: 80px;
  height: 4px; /* Thicker lines */
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  left: -90px;
  z-index: 1;
  animation: windFade 1s linear infinite;
}

.wind1 { top: 50px; animation-delay: 0s; }
.wind2 { top: 70px; animation-delay: 0.3s; }
.wind3 { top: 90px; animation-delay: 0.6s; }
.wind4 { top: 110px; animation-delay: 0.9s; }

@keyframes flyPlane {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(50vw) translateY(-20px); }
  100% { transform: translateX(220vw); }
}

@keyframes windFade {
  0%   { opacity: 0; transform: scaleX(0.3); }
  50%  { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(0.3); }
}

.bird,
.bird-beach {
  position: absolute;
  top: 5%;
  left: -60px;
  width: 50px;
  height: 50px;
  background: url('https://upload.wikimedia.org/wikipedia/commons/5/54/Bird_icon_2.svg') no-repeat center/contain;
  animation: beachBirdFly 30s linear infinite;
  z-index: 4;
}

@keyframes beachBirdFly {
  0% { left: -60px; top: 5%; }
  50% { top: 4%; }
  100% { left: 110%; top: 5%; }
}

#beach {
  background: linear-gradient(to top, #fcd5b4 25%, #a1e3ff 90%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.ocean {
  position: absolute;
  top: 30%;
  width: 100%;
  height: 20%;
  background: #00bfff;
  z-index: 1;
}

.wave-blue, .wave-white {
  position: absolute;
  width: 200%;
  height: 100%;
  background-size: contain;
  background-repeat: repeat-x;
  animation: waveAnim 6s linear infinite;
  opacity: 0.6;
  bottom: 0;
}

.wave-blue {
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 30 Q30 60 60 30 T120 30 T180 30 T240 30 T300 30 T360 30 T420 30 T480 30 V100 H0 Z" fill="%230098dd" /></svg>');
  animation-delay: 0s;
}

.wave-white {
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 30 Q30 0 60 30 T120 30 T180 30 T240 30 T300 30 T360 30 T420 30 T480 30 V100 H0 Z" fill="white" /></svg>');
  animation-delay: 2s;
}

@keyframes waveAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sun {
  position: absolute;
  top: 5%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at center, #FFD700, #FFA500);
  border-radius: 50%;
  animation: pulseSun 5s ease-in-out infinite;
  z-index: 0;
}

@keyframes pulseSun {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.sand {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: #fcd5b4;
  z-index: 0;
}

.palm-tree {
  position: absolute;
  bottom: 30%;
  width: 120px;
  height: auto;
  z-index: 2;
  transform-origin: bottom center;
  animation: swayPalm 4s ease-in-out infinite;
}

.palm-tree.left { left: 5%; }
.palm-tree.right {
  right: 5%;
  transform: scaleX(-1);
}

@keyframes swayPalm {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3deg); }
}

.fauna {
  position: absolute;
  width: 60px;
  height: auto;
  bottom: 5%;
  z-index: 3;
}

.fauna1 { left: 10%; }
.fauna2 { left: 20%; }
.fauna3 { left: 30%; }
.fauna4 { right: 30%; }
.fauna5 { right: 20%; }
.fauna6 { right: 10%; }

.scroll-indicator {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.scroll-indicator span {
  position: absolute;
  left: 2px;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: top 0.3s ease;
  z-index: 2;
}


.rocket-launch {
  position: absolute;
  right:50px;
  bottom:50px;
}
.rocket-launch.launching .rocket::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 72px;
  width: 20px;
  height: 40px;
  background: linear-gradient(to bottom, #ff6600, transparent);
  border-radius: 5px;
  animation: flame 0.3s infinite;
}

@keyframes flame {
  0% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(1.3); opacity: 0.7; }
  100% { transform: scaleY(1); opacity: 1; }
}

.rocket-launch.launching .rocket {
  animation: flyUp 4.5s ease-out forwards;
}

@keyframes flyUp {
  to { transform: translateY(-120vh); opacity: 0; }
}

.rocketship {
  width: 100px;
  height: auto;
  position: relative;
  z-index: 3;
}

.launchpad {
  width: 150px;
  height: auto;
  z-index: 3;
  margin-top: -66px;
  margin-left: 14px;
}

#countdown {
  font-family: monospace;
  font-size: 1rem;
  color: #eee;
  margin-top: 10px;
}
