/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================ */
/*          HERO SECTION        */
/* ============================ */
.hero-section {
  position: relative;
  min-height: 100vh;

  /* Background tetap stabil */
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url('photo-1503220317375-aaad61436b1b.jpeg') center/cover no-repeat;

  display: flex;
  align-items: center;
  padding: 0 2rem;
  color: white;
  overflow: hidden;
}

/* Overlay untuk konten */
.hero-overlay {
  position: relative;
  z-index: 10; /* wajib lebih tinggi dari logo */
  max-width: 1200px;
  width: 100%;
}

/* ============================ */
/*        LOGO TRAVELBOOST      */
/* ============================ */

.logo-inside-hero {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 5; /* di atas background, tapi di bawah teks */
}

.logo-inside-hero img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
}

/* ============================ */
/*         HERO CONTENT         */
/* ============================ */

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 20; /* teks selalu di atas logo */
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.2rem;
  opacity: 0.95;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  min-width: 180px;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #ff6b35;
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ============================ */
/*      RESPONSIVE DESIGN       */
/* ============================ */

@media (max-width: 768px) {
  .hero-section {
    padding: 0 1rem;
    text-align: center;
    justify-content: center;
  }

  .logo-inside-hero img {
    height: 32px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-buttons {
    justify-content: center;
  }
}

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

  .hero-description {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ============================ */
/*         ANIMATIONS           */
/* ============================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* DPI tinggi (Retina / 4K) */
@media (min-resolution: 192dpi) {
  .hero-section {
    background-image: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.7)
      ),
      url('photo-1503220317375-aaad61436b1b.jpeg');
  }
}
