@import url('https://fonts.googleapis.com/css2?family=Balthazar&family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

:root{
  --body-color: #e8e8e8; /* hsl(220, 100%, 97%);*/
  --color-main: #6e0200; /* Merah Bubur */
  --color-light: #235031; /* Merah Bubur */
  --color-cream: #ffe6b6; /* Krem Nasi */
  --color-accent: #B8860B; /* Emas Gelap */
  --color-black: #191b19;

  /*====== font style =======*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --head-font: "Balthazar", serif;
  --body-font: "Quicksand", sans-serif;
  --normal-font-size: 20px;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-bolder: 800;
}


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  /* overflow: hidden; */
  font-family: var(--body-font);
  background-color: var(--body-color);
  font-size: var(--normal-font-size);
}

.container{
  max-width: 1170px;
  margin: auto;
  padding: 0 15px;
}

/* ===== HEADER NAVIGATION ===== */
.header{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  /* border-bottom: 1px solid hsla(0,0%,100%,0.25); */
  z-index: 10;
  background-color: var(--color-main);
}
/* style navbar ketika di scroll */
.header.scrolled .navbar{
  background-color: var(--color-main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.header .navbar .nav-links a {
  color: var(--color-cream);
  transition: color 0.3s ease;
  font-size: 20px;
  font-weight: var(--font-semi-bold);
}
.header.on-dark-banner .navbar .nav-links a {
  color: #fff;
}
.header.scrolled .navbar .icon-btn,
.header.scrolled .navbar .nav-links a,
.header.scrolled .navbar .nav-links i {
  color: var(--color-cream);
}

.header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo-desktop{
  width: 300px;
}
.header .logo-mobile img{
  height: 70px;
}
.header .logo img{
  vertical-align: middle;
}
.header .menu .head{
  display: none;
}
.header .menu ul{
  list-style: none;
  margin-bottom: 0rem;
}
.header .menu > ul > li{
  display: inline-block;
}
.header .menu > ul > li:not(:last-child){
  margin-right: 40px;
}
.header .menu .dropdown{
  position: relative;
}
.header .menu .dropdown .sub-menu{
  background-color: var(--color-main);
}
.header .menu .dropdown .sub-menu a{
  color: var(--color-cream);
}
.header .menu .dropdown .sub-menu .dropdown i{
  color: var(--color-cream);
  font-size: 14px;
}
.header .menu a{
  text-decoration: none;
  text-transform: capitalize;
  font-size: 16px;
  color: hsl(0,0%,100%);
  line-height: 1.5;
  display: block;
}
.header .menu > ul > li > a{
  padding: 24px 0;
}
.header .menu > ul > .dropdown > a{
  padding-right: 15px;
}
.header .menu i{
  font-size: 12px;
  pointer-events: none;
  user-select: none;
  position: absolute;
  color: var(--color-cream);
  top: calc(50% - 5px);
}
.header .menu > ul > li > i{
  right: 0;
}
/* sub menu header */
.header .menu .sub-menu{
  position: absolute;
  top: 100%;
  left: 0;
  width: 230px;
  padding: 15px 0;
  /* background-color: hsl(229,54%,51%); */
  background-color: #f3f3f3;
  box-shadow: 0 0 5px hsla(0,0%,0%,0.5);
  z-index: 1;
  transform-origin: top;
  transform: scaleY(0);
  visibility: hidden;
  opacity: 0;
}
.header .menu .sub-menu-right{
  left: 100%;
  top: 0;
}
.header .menu .sub-menu-left{
  top: 0;
  left: auto;
  right: 100%;
}
.header .menu li:hover > .sub-menu{
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: all 0.5s ease;
}
.header .menu .sub-menu a{
  padding: 6px 24px;
  color: #333;
}
.header .menu .sub-menu .dropdown > a{
  padding-right: 34px;
}
.header .menu .sub-menu i{
  transform: rotate(-90deg);
  right: 24px;
}
.header .menu .sub-menu span{
  background-image: linear-gradient(rgb(0, 0, 0),rgb(0, 0, 0));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.5s ease;
}
.header .menu .sub-menu li:hover > a > span{
  background-size: 100% 1px;
}
.header-right{
  display: flex;
}
.header-right > * {
  margin-left: 25px;
}
.header-right .icon-btn{
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #f3f3f3;
  font-size: 16px;
}
.header-right .open-menu-btn{
  display: none;
}
.header .kontak{
  background-color: var(--color-cream);
  color: var(--color-main);
  padding: 5px 25px;
  border-radius: 8px;
}
.header-right .kontak a{
  cursor: pointer;
  text-decoration: none;
  color: var(--color-main);
  font-weight: var(--font-semi-bold);
  font-size: 20px;
}


/* ===== STYLING BANNER SLIDER ===== */
.banner-slider{
  position: relative;
  width: 100%;
  height: 800px; /* tinggi banner slide 800px */
  overflow: hidden; /*memastikan gambar tidak keluar dari area slide */
  margin-top: 0; /* awalnya dibawah header, akan disesuaikan js jika perlu */
}
.banner-slider .slide{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* tidak terlihat di awal */
  transition: opacity 1s ease-in-out; /* transisi fade untuk gambar */
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner-slider .slide.active{
  opacity: 1;
  z-index: 1; /* memastikan slide aktif diatas slide yang lain */
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Memastikan gambar mengisi area tanpa terdistorsi */
  display: block;
}
.slide-content {
  position: absolute;
  text-align: left; /* Teks rata kiri */
  color: var(--color-cream);
  padding: 20px 40px; /* Pertahankan padding untuk jarak dari tepi */
  background: none; /* Hapus background */
  max-width: 680px;
  left: -100%; /* Mengubah posisi awal agar muncul dari luar kiri halaman */
  opacity: 0; /* Awalnya tidak terlihat */
  transition: left 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1.2s ease-out;
}
.slide.active .slide-content {
  left: 30px; /* Bergeser ke posisi 0 dari kiri (mepet kiri) */
  opacity: 1; /* Terlihat */
  transition-delay: 1.3s; /* Teks muncul 1.3 detik setelah gambar aktif */
}
.slide-content h1 {
  font-size: 60px; /* Ukuran lebih besar */
  font-weight: var(--font-semi-bold); /* Lebih tebal */
  font-family: var(--head-font);
  margin-bottom: 15px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); /* Efek shadow lebih jelas */
}
.slide-content p {
  font-size: 24px; /* Ukuran lebih besar */
  font-family: var(--body-font);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Efek shadow lebih jelas */
}

/* main section */
.main{
  padding: 75px 0 0 0;
  background-color: var(--body-color);
}
.main .container{
  padding-bottom: 75px;
}
.main .section-title{
  font-weight: 700;
  color: var(--color-main);
  font-family: var(--head-font);
  font-size: 34px;
}
.container a{
  text-decoration: none;
}


/* tentang kami section */
.container .tentang-logo-wrap{
  width: 100%;
  height: 100%;
  background-color: var(--color-main);
  padding: 50px 30px;
  border-radius: 18px;
  box-shadow: 6px 6px 15px 0px rgba(0,0,0,0.3);
}
.container .tentang-logo-wrap img{
  width: 100%;
}

.tentang-wrap .img-tentang{
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 6px 6px 15px 0px rgba(0,0,0,0.3);
}
.tentang-wrap .img-tentang img{
  width: 100%;
  border-radius: 18px;
}
.tentang-wrap .section-title{
  line-height: 1.5;
  font-size: 30px;
}
.tentang-wrap p{
  font-family: var(--body-font);
  font-size: 20px;
  line-height: 1.8;
  padding-bottom: 15px;
}
.tentang-wrap .btn-info-lengkap{
  background-color: var(--color-main);
  color: var(--color-cream);
  font-family: var(--body-font);
  padding: 8px 25px;
  border-radius: 7px;
}


/* promo section */
.promo-card {
  position: relative;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 6px 6px 15px 0px rgba(0,0,0,0.3);
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.promo-card.loading {
  background-color: #f3f3f3;
}

/* overlay gelap tipis */
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}

/* konten teks */
.promo-content {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  max-width: 75%;
  padding: 0 16px 0 16px;
  border-radius: 12px;
  transition: all 0.45s ease;
  font-family: var(--body-font);
}

/* tombol */
.promo-content .btn {
  margin-top: 10px;
}

/* efek hover */
.promo-card:hover .promo-content {
  bottom: 50%;
  transform: translateY(50%);
  background: rgba(255, 255, 255, 0.65);
  color: #000;
  padding: 16px;
}

/* judul */
.promo-content .promo-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--head-font);
}

/* deskripsi */
.promo-content .promo-desc {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 15px;
}
.promo-content .btn-info-lengkap{
  background-color: var(--color-main);
  color: var(--color-cream);
  font-family: var(--body-font);
  padding: 6px 18px;
  border-radius: 7px;
}



/* menu section */
.card{
  background-color: #fff;
  box-shadow: 6px 6px 15px 0px rgba(0,0,0,0.3);
}
.card-img-top{
  padding: 20px 40px 0 40px;
}
.card-body .text-menu{
  color: var(--color-main);
  font-weight: var(--font-bold);
  font-size: 24px;
  font-family: var(--head-font);
}
.card-body .row i{
  font-size: 1.6rem;
}
.card-body .body-teks-menu{
  font-family: var(--body-font);
  font-size: 18px;
}
.box-tombol .tombol-lengkap{
  background-color: var(--color-main);
  color: var(--color-cream);
  font-family: var(--body-font);
  padding: 10px 30px;
  border-radius: 10px;
  font-weight: var(--font-semi-bold);
}
/* tombol hati */
.favorite-btn {
  position: absolute;
  right: 15px;
  bottom: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}
.favorite-btn i {
  color: #ccc;
  transition: 0.3s;
}
.favorite-btn.active i {
  color: red;
}


/* lokasi Container */
.map-container{
  width: 100%;
  height: 800px;
  margin-top: 104px;
}
.map-container .maps{
  width: 100%;
  height: 100%;
}
.lokasi .lokasi-wrap{
  width: 100%;
  background-color: var(--color-cream);
}
.lokasi .lokasi-wrap .detail-lokasi{
  display: flex;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}
.lokasi .lokasi-wrap .detail-lokasi .lokasi-icon{
  font-size: 34px;
  margin-right: 22px;
  color: var(--color-main);
}
.lokasi .lokasi-wrap .detail-lokasi .lokasi-teks h3{
  font-family: var(--head-font);
  font-size: 34px;
  color: var(--color-main);
  font-weight: var(--font-semi-bold);
}
.lokasi .foto-lokasi{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lokasi .foto-lokasi img{
  width: 100%;
  object-fit: cover;
}



/* footer section */
.footer{
  background-color: var(--color-main);
  color: var(--color-cream);
  font-size: 20px;
  font-family: var(--body-font);
}
.footer img{
  width: 350px;
}
.footer ul{
  list-style: none;
}
.footer ul li{
  margin-bottom: 10px;
}
.footer ul li a{
  text-decoration: none;
  color: var(--color-cream);
}
.footer .copyright{
  background-color: var(--body-color);
  color: var(--color-main);
}


/* promo-detail sectiom */
.promo-detail{
  margin-top: 80px;
}
.promo-detail .img-promo{
  width: 100%;
  height: 100%;
}
.promo-detail .img-promo img{
  width: 100%;
  height: 100%;
  box-shadow: 6px 6px 15px 0px rgba(0,0,0,0.3);
  border-radius: 18px;
}
.promo-detail .promo-info h3{
  font-family: var(--head-font);
  color: var(--color-main);
  font-size: 34px;
  font-weight: var(--font-semi-bold);
}
.promo-detail .promo-info .tanggal-promo{
  margin-bottom: 20px;
  font-size: 22px;
}
.promo-detail .promo-info .tanggal-promo i{
  color: var(--color-main);
  font-size: 22px;
  margin-right: 10px;
}
.promo-detail .promo-info .promo-caption div{
  font-family: var(--body-font);
  font-size: 22px;
}




/* ===== TABLET SIZE MAX 991px ===== */
@media screen AND (max-width: 1024px){
  .header{
    padding: 12px 0;
    background-color: var(--color-main);
  }
  .header.scrolled{
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  .header.scrolled .navbar{
    box-shadow: none;
  }
  .header .navbar .icon-btn,
  .header .navbar .nav-links a,
  .header .navbar .nav-links i {
    color: var(--color-cream);
  }
  .header .logo img{
    width: 275px;
  }
  .header .menu{
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-main);
    padding: 15px 30px 30px;
    overflow-y: auto;
    z-index: 1;
    transform: translateX(100%);
  }
  .header .menu.open{
    transform: none;
  }
  .header .menu .head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
  }
  .header .menu .close-menu-btn{
    height: 35px;
    width: 35px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    cursor: pointer;
    border: none;
  }
  .header .menu .close-menu-btn::before,
  .header .menu .close-menu-btn::after{
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    background-color: var(--color-cream);
  }
  .header .menu .close-menu-btn::before{
    transform: rotate(45deg);
  }
  .header .menu .close-menu-btn::after{
    transform: rotate(-45deg);
  }
  .header .menu > ul > li{
    display: block;
  }
  .header .menu > ul > li:not(:last-child){
    margin-right: 0;
  }
  .header .menu li{
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  }
  .header .menu li:first-child{
    border-top: 1px solid rgba(0, 0, 0, 0.25);
  }
  .header .menu > ul > li > a{
    padding: 12px 0;
  }
  .header .menu > ul > .dropdown > a{
    padding-right: 34px;
  }
  .header .menu i{
    height: 34px;
    width: 34px;
    /* border: 1px solid hsla(0,0%,0%,0.25); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    top: 7px;
  }
  .header .menu .dropdown.active > i{
    background-color: hsla(0,0%,100%,0.25);
    transform: rotate(180deg);
  }
  .header .menu .sub-menu{
    position: static;
    opacity: 1;
    transform: none;
    visibility: visible;
    padding: 0;
    transition: none;
    box-shadow: none;
    width: 100%;
    display: none;
  }
  .header .menu .dropdown.active > .sub-menu{
    display: block;
  }
  .header .menu .sub-menu li:last-child{
    border: none;
  }
  .header .menu .sub-menu a{
    padding: 12px 0 12px 15px;
  }
  .header .menu .sub-menu .sub-menu a{
    padding-left: 30px;
  }
  .header .menu .sub-menu .sub-menu .sub-menu a{
    padding-left: 45px;
  }
  .header .menu .sub-menu span{
    background-image: none;
  }
  .header .menu .sub-menu i{
    transform: none;
    right: 0;
  }
  .header-right .open-menu-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 44px;
    cursor: pointer;
    position: relative;
    background-color: transparent;
    border: none;
  }
  .header-right .open-menu-btn .line{
    height: 2px;
    width: 30px;
    background-color: var(--color-cream);
    position: absolute;
  }
  .header-right .open-menu-btn .line-1{
    transform: translateY(-8px);
  }
  .header-right .open-menu-btn .line-3{
    transform: translateY(8px);
  }


  /* ===== styling banner content ===== */
  .slide-content h1 {
    font-size: 48px; /* Menyesuaikan ukuran font untuk layar sedang */
  }

  .slide-content p {
    font-size: 20px; /* Menyesuaikan ukuran font untuk layar sedang */
  }
  .slide.active .slide-content {
    left: 0px;
  }
}


@media screen AND (max-width: 991px){
  /* footer section */
  .footer .row .jarak-bawah{
    padding-bottom: 20px;
  }
}

@media screen AND (max-width: 576px){
  .footer .row img{
    width: 250px;
  }
}