
/* HEADER DAN HERO */

/* Modify the sticky-wrapper class */
.sticky-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px; /* Initial height */
  z-index: 1020;
  transition: all 0.3s ease;
}

/* Add a new class for expanded height */
.sticky-wrapper.expanded {
  height: 180px;
}

/* Update the existing styles */
.sticky-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(219, 219, 219);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.sticky-wrapper.active::before {
  opacity: 1;
}

.bar {
  max-width: 1140px;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(-100%);
}

.sticky-wrapper.active .bar {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-content {
  max-width: 1140px;
  margin: 0 auto;
}


.nav-link,
.logo {
  transition: color 0.3s ease;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  /* Increase padding to bring elements more towards the center */
}

/* Update mobile menu styles */
body.menu-open {
  overflow: hidden;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1050;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  z-index: 1051;
  /* Higher than parent */
}

.mobile-menu-content {
  padding: 1rem;
}

.menu-item {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  cursor: pointer;
  background: #fff;
}

.menu-item i {
  margin-right: 10px;
}

.submenu {
  padding-left: 40px;
  display: none;
}

.submenu .menu-item {
  border-bottom: none;
}

.submenu .menu-item:last-child {
  border-bottom: 1px solid #dee2e6;
}

.menu-item .submenu-toggle {
  float: right;
}

.search-bar {
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  width: 80%;
  max-width: 600px;
  margin: 20px auto;
}

.search-bar .search-text {
  flex-grow: 1;
}

.search-bar .search-icon {
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-icon {
  font-size: 24px;
}

.bar-mobile {
  display: none;
}

.sticky-wrapper.active .bar-mobile {
  display: flex;
}

.logo img {
  height: 30px;
  width: auto;
}

/* Hero *//* Hero *//* Hero *//* Hero */
    .swiper-container {
      width: 100%;
      max-height: 100vh;
      border-bottom-right-radius: 100px;
      overflow: hidden;
  }

  .swiper-pagination {
      margin-bottom: 15px;
  }

  .swiper-pagination-bullet {
      background: white;
      width: 10px;
      height: 10px;
      margin: 0 4px;
  }

  .overlay {
    background: rgba(0, 0, 0, 50%);
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bar-2 {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 80%;
}

@media (max-width: 768px) {
    .swiper-container {
        
        height: 60vh;
        position: relative;
        overflow: hidden;
    }

    .swiper-slide {
        position: relative;
        overflow: hidden;
    }

    .mobile-bar {
        margin-top: -1rem;
        transform: translateY(4rem);
    }
}
/* heroherohero */
/* HEADER DAN HERO */