/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  margin-top: 0;
  z-index: 1;
  scroll-margin-top: 100px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Pastikan video terlihat di semua theme */
.theme-light .hero-video,
.theme-dark .hero-video {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  width: 100%;
  margin-top: 0;
}

.hero-frame {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3.5rem;
  border-radius: 30px;
  background: transparent;
}

.hero-box {
  position: relative;
  padding: 3.2rem 3.5rem 3rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: transparent;
  animation: fadeInUp 1s ease;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.hero-top-bar {
  position: absolute;
  top: 1.2rem;
  left: 15%;
  right: 15%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

.hero-title {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 3px 12px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.9);
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 500;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 1);
}

.btn-gallery {
  padding: 1rem 3rem;
  font-size: 1rem;
  border: 2px solid white;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 2px;
  font-weight: 700;
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.btn-gallery:hover {
  background: white;
  color: #0a1e2e;
  transform: scale(1.05);
  text-shadow: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding-top: 100px;
  }

  .hero-frame {
    padding: 1.5rem 1rem 2.5rem;
    border-radius: 22px;
  }

  .hero-box {
    padding: 2rem 1.5rem 1.8rem;
  }

  .hero-logo {
    height: 50px;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .btn-gallery {
    padding: 0.9rem 2.2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 90px;
  }

  .hero-frame {
    padding: 1.8rem 1.2rem;
  }

  .hero-box {
    padding: 1.8rem 1.2rem;
  }

  .hero-logo {
    height: 45px;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .btn-gallery {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
  }
}
