*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.carousel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 5rem;
  font-weight: 700;
  color: #fff;
  text-transform: lowercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  text-align: center;
}

.welcome {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 0.3rem;
  opacity: 0.9;
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #fff;
  font-size: 1.4rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: bounce 2s ease infinite;
  pointer-events: none;
}

.scroll-hint.show {
  opacity: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

.carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slide 12s ease-in-out infinite;
}

.carousel-track img {
  width: 33.333%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slide {
  0%, 28%   { transform: translateX(0); }
  33%, 61%  { transform: translateX(-33.333%); }
  66%, 94%  { transform: translateX(-66.666%); }
  100%      { transform: translateX(0); }
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* 3D Island */
.island-3d {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
}

.island-scene {
  perspective: 800px;
  display: flex;
  justify-content: center;
}

.island-model {
  animation: island-float 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.island-svg {
  width: 280px;
  height: 210px;
}

.island-shape {
  fill: #2c3e50;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
  transition: fill 0.4s;
}

.island-3d:hover .island-shape {
  fill: #34495e;
}

.island-pin {
  fill: #c0392b;
}

.island-pin-glow {
  fill: rgba(192, 57, 43, 0.2);
  animation: pin-pulse 2s ease-in-out infinite;
}

.island-label {
  fill: #c0392b;
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  font-family: inherit;
}

.ripple {
  fill: none;
  stroke: #b0c4d8;
  stroke-width: 1;
  opacity: 0;
}

.ripple-1 {
  animation: ripple-out 3s ease-in-out infinite;
}

.ripple-2 {
  animation: ripple-out 3s ease-in-out 1.5s infinite;
}

.island-caption {
  margin-top: 0.5rem;
  color: #888;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes island-float {
  0%, 100% { transform: rotateX(12deg) rotateY(0deg) translateY(0); }
  25%      { transform: rotateX(8deg) rotateY(8deg) translateY(-6px); }
  50%      { transform: rotateX(12deg) rotateY(0deg) translateY(0); }
  75%      { transform: rotateX(8deg) rotateY(-8deg) translateY(-6px); }
}

@keyframes pin-pulse {
  0%, 100% { r: 8; opacity: 0.3; }
  50%      { r: 14; opacity: 0; }
}

@keyframes ripple-out {
  0%   { opacity: 0.4; transform: scaleX(0.8); }
  100% { opacity: 0; transform: scaleX(1.1); }
}

/* Tagline */
.tagline {
  text-align: center;
  padding: 3rem 1.5rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.tagline h2 {
  font-size: 2rem;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.tagline p {
  font-size: 1.15rem;
  color: #666;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
  padding: 2rem 1.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  font-weight: 600;
  color: #444;
  font-size: 0.95rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 120px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature .icon {
  font-size: 2rem;
  width: 3.2rem;
  height: 3.2rem;
  line-height: 3.2rem;
  background: #f0f7f4;
  border-radius: 50%;
}

/* Video */
.video-section {
  width: 100%;
  padding: 0 0 3rem;
}

.video-section video {
  width: 100%;
}

/* Hero Image */
.hero-image {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
}


/* Gallery */
.gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid #eee;
  color: #888;
  font-size: 0.9rem;
}

footer a {
  display: block;
  margin-top: 0.5rem;
  color: #888;
  text-decoration: none;
}

footer a:hover {
  color: #c0392b;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-overlay {
    font-size: 3rem;
  }

  .welcome {
    font-size: 0.9rem;
  }

  .features {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .tagline h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .carousel-overlay {
    font-size: 2rem;
  }

  .welcome {
    font-size: 0.75rem;
  }

  .carousel {
    aspect-ratio: auto;
    height: 100svh;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 80%;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .tagline h2 {
    font-size: 1.2rem;
  }

  .tagline p {
    font-size: 1rem;
  }
}
