* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #a65a2e;
  --secondary: #d4a64a;
  --background: #f8f3ea;
  --dark: #3d2a1f;
  --accent: #e9c46a;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--dark);
}

/* ===== HERO SECTION ===== */
#hero {
  position: relative;
  height: 110vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background dengan gradient */
.hero-sky {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(255, 245, 230, 0.8) 0%,
      rgba(255, 245, 230, 0.4) 25%,
      transparent 60%
    ),
    linear-gradient(
      to bottom,
      #d8c9b3 0%,
      #e6dccd 45%,
      #f3eee6 75%,
      #faf8f4 100%
    );

  z-index: 1;
}

/* Decorative pattern - batik inspired */
.hero-sky::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(166, 90, 46, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(212, 166, 74, 0.05) 0%,
      transparent 50%
    );
  z-index: 2;
}

#hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 120px;

  background: linear-gradient(
    to bottom,
    rgba(250, 248, 244, 0),
    rgba(250, 248, 244, 1)
  );

  z-index: 2;
  pointer-events: none;
}

/* Cloud Styles */
/* .cloud {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    opacity: 0.8;
    z-index: 2;
  } */

.cloud {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.8;
}

/* Cloud animation - move left to right */
@keyframes float-cloud-1 {
  0% {
    left: -100px;
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes float-cloud-2 {
  0% {
    right: -150px;
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  90% {
    opacity: 0.75;
  }
  100% {
    right: 100%;
    opacity: 0;
  }
}

@keyframes float-cloud-3 {
  0% {
    left: -80px;
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes float-cloud-4 {
  0% {
    left: -140px;
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  90% {
    opacity: 0.75;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.cloud1 {
  width: 220px;
  top: 12%;
  left: -220px;
  animation: float-cloud-1 24s linear infinite;
}

.cloud2 {
  width: 300px;
  top: 28%;
  right: -300px;
  animation: float-cloud-2 30s linear infinite 4s;
}

.cloud3 {
  width: 180px;
  top: 48%;
  left: -180px;
  animation: float-cloud-3 20s linear infinite 2s;
}

.cloud4 {
  width: 250px;
  top: 55%;
  left: -250px;
  animation: float-cloud-4 28s linear infinite 6s;
}

/* Sun dengan animasi */
.sun {
  position: absolute;
  width: 210px;
  height: 150px;
  top: 10%;
  right: 5%;
  z-index: 3;
  filter: drop-shadow(0 10px 30px rgba(166, 90, 46, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Hero Content */
.hero-content {
  margin-top: -50px;
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge */
.hero-badge {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--dark);
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(212, 166, 74, 0.3);
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Heading */
#hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 4px;
  margin-bottom: 10px;
  text-shadow: 3px 3px 0px rgba(166, 90, 46, 0.1);
  animation: slideUpDelay 0.8s ease-out 0.1s backwards;
}

@keyframes slideUpDelay {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Description */
/* #hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--dark);
    margin-bottom: 40px;
    font-weight: 500;
    animation: slideUpDelay 0.8s ease-out 0.3s backwards;
  } */

/* Button Container */
.hero-button {
  display: flex;
  margin-top: 40px;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUpDelay 0.8s ease-out 0.4s backwards;
}

/* Buttons */
.hero-button a {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

/* Primary Button - Beli Tiket */
.hero-button a:first-child {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 8px 25px rgba(166, 90, 46, 0.3);
}

.hero-button a:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  transition: left 0.3s ease;
  z-index: -1;
}

.hero-button a:first-child:hover::before {
  left: 0;
}

.hero-button a:first-child:hover {
  box-shadow: 0 12px 35px rgba(166, 90, 46, 0.5);
  transform: translateY(-2px);
}

/* Secondary Button - Trailer */
.hero-button a:last-child {
  background-color: transparent;
  color: var(--primary);
  border: 3px solid var(--primary);
  box-shadow: 0 5px 20px rgba(166, 90, 46, 0.2);
}

.hero-button a:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.hero-button a:last-child:hover {
  color: white;
  box-shadow: 0 8px 25px rgba(166, 90, 46, 0.4);
  transform: translateY(-2px);
}

.hero-button a:last-child:hover::before {
  left: 0;
}

/* Decorative Elements */
.hero-content::before {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary),
    transparent
  );
  border-radius: 2px;
}

.hero-content p {
  font-size: 18px;
  color: var(--dark);
  font-weight: 500;
  animation: slideUpDelay 0.8s ease-out 0.3s backwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  #hero {
    height: auto;
    min-height: 100vh;
  }

  .sun {
    width: 145px;
    height: 100px;
    top: 5%;
    right: 10%;
  }

  .hero-button {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-button a {
    width: 100%;
    max-width: 300px;
  }

  #hero h1 {
    letter-spacing: 2px;
  }

  #hero h2 {
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 12px;
    padding: 8px 20px;
  }

  #hero h1 {
    font-size: 48px;
    margin-bottom: 5px;
  }

  #hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  #hero p {
    font-size: 16px;
  }

  .hero-button a {
    padding: 14px 30px;
    font-size: 14px;
  }
}
