.hero-section {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: url('../img/View\ Orchid\ 05.png') center bottom / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

/* Overlay agar teks jelas */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  z-index: 1;
}

/* NAV HEADER */
.hero-header {
  position: absolute;
  top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center; /* logo tengah di desktop */
  align-items: center;
  padding: 0 1.5rem;
  z-index: 2;
}

.menu-left, .contact-right {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-left {
  left: 48px;
}

.contact-right {
  right: 48px;
}

.hero-header .menu-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.menu-btn i{
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.hero-header .logo {
  font-size: 2rem;
  font-weight: 600;
  z-index: 2;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-style: italic;
  line-height: 1.4;
  font-weight: lighter;
}

.hero-content h1 strong {
  font-weight: 700;
}

.hero-content p {
  margin-top: 0.75rem;
  font-size: 1rem;
  opacity: 0.9;
}

.cta-btn2 {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: 1.3rem;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid #F25B2B;
  border-radius: 2rem;
  background-color: #F25B2B;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn2:hover {
  background-color: #F25B2B;
  color: white;
}

/* SOCIAL MEDIA */
.hero-socials {
  position: absolute;
  bottom: 1.5rem;
  right: 3rem;
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

.hero-socials a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s;
}
.hero-socials a:hover {
  opacity: 0.7;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  padding: 2rem;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar .close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.sidebar-nav a:hover {
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  /* Logo kiri dan menu toggle kanan */
  .hero-header {
    justify-content: flex-start;
  }

  .logo {
    position: relative;
    left: 0;
  }

  .menu-left {
    left: auto;
    right: 1px;
  }

  /* Hilangkan contact */
  .contact-right {
    display: none !important;
  }

  /* Sidebar muncul dari kanan */
  .sidebar {
    left: auto;
    right: 0;
    transform: translateX(100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }
}

/* ✅ Khusus Windows zoom 125% (sekitar 120–130 DPI) */
@media (min-resolution: 115dpi) and (max-resolution: 140dpi) {

  /* ———— FONT SIZE ———— */
  .hero-header .menu-btn {
    font-size: 0.9rem !important;
  }

  .hero-header .contact-right {
    right: 1rem !important;
  }

  .hero-header .menu-left {
    left: 1rem !important;
  }

  .hero-header i{
    font-size: 1.1rem !important;
  }

  .contact-right {
    font-size: 0.9rem !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  .hero-content p {
    font-size: 0.9rem !important;
  }

  .cta-btn2 {
    font-size: 0.9rem !important;
  }

  .hero-socials a {
    font-size: 0.9rem !important;
  }

  /* ———— ELEMENT SIZE & SPACING ———— */
  .cta-btn2 {
    padding: 0.6rem 1.5rem !important;
  }

  .hero-header {
    transform: scale(0.96);
    transform-origin: top center;
  }

  .hero-content {
    transform: translateY(-52%);
  }

  .hero-header .logo img {
    width: 90% !important;
  }

  .hero-socials {
    transform: scale(0.9);
    transform-origin: right bottom;
  }
}

