:root {
    --wp--style--global--content-size: 100%;
    --wp--style--global--wide-size: 100%;
}
.wp-block-group.is-layout-constrained {
    padding: 0px;
}





@media only screen and (max-width: 1180px) {
    .is-layout-constrained {
        width: 100% !important;
        margin-left: auto;
        margin-right: auto
    }

   
}

.wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding: 0px !important;
}

header.wp-block-template-part {
    display: none;
}

nav.bg-white {
    margin: 0px;
}

footer.wp-block-template-part {
    display: none;
}

footer.bg-gray-900~p {
    display: none;
}


#beranda h1 {
            color: white;
        }
        
        #kontak h2 {
            color: white;
        }



:root :where(.is-layout-constrained)>*{
    margin-block-start: 0px;
}










.mobile-menu ul {
            display: contents;
        }


.mobile-menu {
        display: none;
    }
    
    .mobile-menu.mobile-menu-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
        gap: 1rem;
    }
    
    .mobile-menu.mobile-menu-active .btn-primary-small {
        margin-top: 1rem;
        width: 100%;
    }
    
    @media (min-width: 1024px) {
        .mobile-menu {
            display: block;
        }
        .mobile-menu.mobile-menu-active {
            position: static;
            top: auto;
            left: auto;
            width: auto;
            background-color: transparent;
            padding: 0;
            box-shadow: none;
            border-radius: 0;
            gap: 1.5rem;
            flex-direction: row;
        }
        .mobile-menu ul {
            display: contents;
        }
        
    }
    
    



/* tambahan*/
img.logo_header {
    height: 40px;
    /*margin-top: 10px;*/
}





/* CSS Kustom Anda untuk Tampilan Slider */
        
 /* Kontainer Swiper */
  .swiper-container {
    width: 90%; /* Swiper akan mengambil 90% lebar viewport */
    max-width: 700px; /* Tapi jangan pernah lebih lebar dari 800px */
    height: 400px; /* Tinggi slider, bisa disesuaikan */
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden; /* Penting untuk menyembunyikan bagian slide yang tidak terlihat */
  }

  /* Slide itu sendiri */
  .swiper-slide {
  display: flex; /* Swiper sudah mengatur ini, tapi bagus untuk memastikan */
  justify-content: center; /* Untuk menengahkan secara horizontal */
  align-items: center;   /* Untuk menengahkan secara vertikal */
  
  /* Properti lain untuk swiper-slide yang sudah ada */
  font-size: 3em;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  /*background: linear-gradient(45deg, #FF6B6B, #FFCD4B); /* Contoh warna latar belakang */
}
    /* Opsional: Tambahkan gaya untuk gambar itu sendiri */
    .swiper-slide img {
      max-width: 100%; /* Pastikan gambar tidak melebihi lebar slide */
      max-height: 100%; /* Pastikan gambar tidak melebihi tinggi slide */
      object-fit: contain; /* Agar gambar tidak terpotong atau distorsi */
      display: block; /* Hapus spasi ekstra di bawah gambar jika ada */
        border: 1px solid #483ad9;
    }

  .swiper-slide:nth-child(2) {
    /*background: linear-gradient(45deg, #4CAF50, #8BC34A); /* Gradient untuk slide 2 */
  }

  .swiper-slide:nth-child(3) {
    /*background: linear-gradient(45deg, #2196F3, #03A9F4); /* Gradient untuk slide 3 */
  }

  /* Gaya untuk Tombol Navigasi (Previous/Next) */
  .swiper-button-prev,
  .swiper-button-next {
    color: white; /* Warna ikon panah */
    background-color: rgba(0, 0, 0, 0.4); /* Latar belakang semi-transparan */
    border-radius: 50%; /* Bentuk bulat */
    width: 60px; /* Lebar tombol default */
    height: 60px; /* Tinggi tombol default */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    /* Ukuran ikon panah default Swiper, sesuaikan dengan vw */
    --swiper-navigation-size: 2.5vw; /* Ikon akan menyesuaikan lebar viewport */
  }

  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.05); /* Sedikit membesar saat di-hover */
  }
  
  
  @media (max-width: 1000px) {
      .btn_bukatutup.md\:hidden {
        /*display: block;*/
    }
    
  }
  
  

  /* Penyesuaian ukuran tombol berdasarkan lebar layar menggunakan Media Queries */
  @media (max-width: 768px) {
    .swiper-container {
      /*height: 300px; /* Kurangi tinggi untuk tablet */
      height: 450px; /* Kurangi tinggi untuk tablet */
      max-width: 450px; /* Tapi jangan pernah lebih lebar dari 800px */
    }
    .swiper-button-prev,
    .swiper-button-next {
      width: 50px; /* Kurangi ukuran tombol */
      height: 50px;
      --swiper-navigation-size: 20px; /* Ukuran ikon lebih kecil */
    }
    .swiper-slide {
      font-size: 2em; /* Kurangi ukuran teks slide */
    }
        
  }

  @media (max-width: 480px) {
    .swiper-container {
      /*height: 250px; /* Kurangi tinggi lebih lanjut untuk ponsel */
      height: 350px; /* Kurangi tinggi lebih lanjut untuk ponsel */
      width: 95%; /* Ambil lebar lebih banyak di ponsel */
      max-width: 350px; /* Tapi jangan pernah lebih lebar dari 800px */
    }
    .swiper-button-prev,
    .swiper-button-next {
      width: 40px; /* Ukuran tombol terkecil */
      height: 40px;
      --swiper-navigation-size: 16px; /* Ukuran ikon terkecil */
    }
    .swiper-slide {
      font-size: 1.5em; /* Ukuran teks slide terkecil */
    }
  }

  /* Gaya untuk Pagination (titik-titik di bawah) */
  .swiper-pagination-bullet {
    background-color: #fff; /* Warna titik non-aktif */
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    background-color: #FF6B6B; /* Warna titik aktif */
    opacity: 1;
  }
  
  
 .mobile-menu {
        display: none;
    }
    
    .mobile-menu.mobile-menu-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
        gap: 1rem;
    }
    
    .mobile-menu.mobile-menu-active .btn-primary-small {
        margin-top: 1rem;
        width: 100%;
    }
    
    @media (min-width: 768px) {
    /*@media (min-width: 1000px) {*/
        .mobile-menu {
            display: block;
            margin-top: 10px;
        }
        .mobile-menu.mobile-menu-active {
            position: static;
            top: auto;
            left: auto;
            width: auto;
            background-color: transparent;
            padding: 0;
            box-shadow: none;
            border-radius: 0;
            gap: 1.5rem;
            flex-direction: row;
        }
        .mobile-menu ul {
            display: flex;
        }
    }
    
    
    @media (min-width: 768px) and (max-width:1024px) {
    nav .container {
        display: ruby;
        font-size: 16px;
    }
    nav {
        display:flex;
    }
    
  }
  
  
  
  
  section#kontak form i {
        color: gray;
    }