*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    min-height: 100vh;
     background-color: #24262b;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav{
    margin-bottom: 0;
    background-color: white;
    box-shadow: 3px 3px  5px rgba(0, 0, 0, 0.1);
}
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav li{
    height: 50px;
}
nav a{
    height: 100%;
    padding-left: 8px;
    padding-right: 40px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}
nav a :hover{
    background-color: #f0f0f0;
}
nav li:first-child{
    margin-right: auto;   
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.315);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.sidebar li{
    margin-top: 10px;
    width: 100%;
}
.sidebar a{
    width: 100%;
}
.logo-brand{
    display:flex;
    align-items: center;
    margin-right: auto;
}
.logo{
    width: 75px;
    height: auto;
    margin-right: 0;
}
.logos{
    margin-right: 50%;
}

.menubutton{
    display: none;
}

.hero {
      background-image: url('assets/background\ beranda.jpg'); /* Ganti dengan gambar latar kamu */
      height: 100vh;
      background-size: cover;
      background-position: center;
      position: relative;
      color: white;
    }

    .overlay {
      background-color: rgba(0, 0, 0, 0.5); /* Lapisan gelap */
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 20px;
    }

    .hero-content h1 {
      font-size: 48px;
      margin-bottom: 20px;
    }

    .hero-content p {
      font-size: 24px;
      margin-bottom: 40px;
    }

    .logo-group {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .logo-group img {
      height: 60px;
      object-fit: contain;
    }

    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 34px;
      }
      .hero-content p {
        font-size: 20px;
      }
      .logo-group img {
        height: 50px;
      }
    }


/* Container utama carousel */
.carousel-container {
  width: 100%;
  max-width: 100%;
  position:relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid black;
}

/* Wrapper untuk semua item carousel */
.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Setiap item di carousel */
.carousel-item {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Gambar di dalam item */
.carousel-item img {
  width: 100%;
  height: 600px; /* Atur tinggi tetap untuk konsistensi */
  object-fit: cover; /* Penting! Menjaga gambar tetap proporsional */
  display: block;
}

/* Responsif: Atur tinggi gambar untuk layar yang lebih kecil */
@media (max-width: 768px) {
  .carousel-item img {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .carousel-item img {
    height: 300px;
  }
}

/* Tombol navigasi */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.carousel-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

header{
      background-color: #af910a;
      color: #eaeaea;
      text-align: center;
      padding: 15px 15px;
    }

    header h1 {
      margin: 0;
      font-size: 2em;
    }

    header p {
      margin: 5px 0 0;
      font-size: 1.1em;
    }

.wrapper {
      max-width: 1200px;
      margin: 40px auto;
      padding: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .card {
      background-color: #eaeaea;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      padding: 25px;
      width: 320px;
      transition: 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .card h3 {
      margin-top: 0;
      color: #3a3f47;
      margin-bottom: 15px;
      font-size: 1.4em;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .card ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .card ul li {
      margin-bottom: 10px;
      padding-left: 10px;
      position: relative;
    }

    .card ul li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
    }

     @media (max-width: 768px) {
      .card {
        width: 90%;
      }
    }

/*
.cta-button {
  text-decoration: none;
  color: #fff;
  background-color: #af910a; 
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2em;
  transition: background-color 0.3s;
}
*/
.cta-button:hover {
  background-color: #ffd700; /* Darker shade on hover */
  transition: 1s ease-in-out;
}

.articles-container {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

.article-card {
  background-color: #eaeaea;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-left: 5px;
  margin-right: 5px;  
}

.article-photo img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.article-content h2 {
  margin: 0 0 10px;
  color: #333;
  font-size: 20px;
}

.article-content p {
  color: #666;
  line-height: 1.6;
  margin: 0 0 10px;
  flex-grow: 1;
}

.read-more {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.read-more:hover {
  text-decoration: underline;
}

main {
  position: relative;
  min-height: 100vh;
  column-gap: 3rem;
  padding-block: min(20vh, 3rem);
  padding-inline: 2.3em;
  align-items: center;
  justify-content: center;
  background: #24262b;
  overflow: hidden;
}
@media screen and (min-width: 960px) {
  main {
    display: flex;
    padding-inline: 0;
  }
 
}
main .content {
  width: 100%;
  color: #fff;
  position: relative;
  z-index: 2;
  margin-bottom: 3em;
}
@media screen and (min-width: 960px) {
  main .content {
    width: 40%;
    padding-left: 5em;
    margin-bottom: 0;
  }
}
main h2 {
  letter-spacing: 0.8px;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.2;
}
main p {
  font-size: 1rem;
  line-height: 1.8;
  margin-inline: auto;
  margin-top: 10px;
}
main .counter {
  font-weight: 400;
  display: flex;
  align-items: center;
  margin: 2.5em 0 2em 0;
  gap: 2em;
}
main .counter i {
  margin-right: 10px;
}
main .counter span {
  display: block;
  text-transform: capitalize;
  font-size: 0.8rem;
  color: #c1c1c1;
  margin-top: 3px;
}
main .btn {
  background-color: #af910a;
  border: none;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  border-radius: 4px;
  transition: 0.3s ease-in;
}
main .btn i {
  margin-left: 15px;
}
main .btn:hover {
  background-color: #ffd700;
}

.swiper-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  right: 0px;
  margin: 0 auto;
}
@media screen and (min-width: 960px) {
  .swiper-container {
    width: 60%;
    right: -60px;
  }
}

.swiper {
  position: relative;
  width: 100%;
  z-index: 2;
}

.swiper-slide {
  width: 10rem;
  height: 24rem;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  position: relative;
  border-radius: 12px;
  box-shadow: -1px 5px 15px #0000001f;
  text-align: center;
  opacity: 0.4;
  transition: opacity 0.4s ease-in;
}
.swiper-slide span {
  display: inline-block;
  background: #af910a;
  border-radius: 0 50px 50px 0;
  text-transform: capitalize;
  padding: 12px 20px;
  letter-spacing: 0.5px;
  font-weight: 500;
  position: absolute;
  top: 2em;
  left: 0;
  color: #fff;
}
.swiper-slide h3 {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  letter-spacing: 0.8px;
  position: relative;
  word-wrap: break-word;
}
@media screen and (min-width: 800px) {
  .swiper-slide h3 {
    font-size: 1.8rem;
  }
}
.swiper-slide p {
  color: #fff;
  line-height: 1.6;
  font-size: 0.8rem;
}
.swiper-slide .slide-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -10px);
  width: 90%;
}
.swiper-slide--one {
  background: #1a81ae;
  background: linear-gradient(to bottom, #2c536400, #203a4303, #0f2027cc), url("assets/paket1.jpg") no-repeat 50% 50%/cover;
}
.swiper-slide--one h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 300;
}
.swiper-slide--two {
  background: linear-gradient(to bottom, #2c536400, #203a4303, #0f2027cc), url("assets/paket2.jpg") no-repeat 50% 50%/cover;
}
.swiper-slide--two h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 300;
}
.swiper-slide--three {
  background: url("assets/paket3.jpg") no-repeat 50% 50%/cover;
}
.swiper-slide--three h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 300;
}
.swiper-slide--four {
  background: url("assets/paket4.jpg") no-repeat 50% 50%/cover;
}

.swiper-slide--five {
  background: url("assets/UMROH\ CAHAYA_Fayyaz\ 2026_A4_page-0001.jpg") no-repeat 50% 50%/cover;
}
.swiper-slide--six {
  background: linear-gradient(to bottom, #2c536400, #203a4303, #0f2027cc), url("assets/UMROH\ CAHAYA_SAHABAT\ HEMAT_A4_page-0001.jpg") no-repeat 50% 50%/cover;
}
.swiper-slide--six h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 300;
}

.swiper-slide-active {
  display: grid;
  opacity: 1;
}

.swiper-pagination {
  position: relative;
  bottom: -0.313rem;
  text-align: center;
  margin-top: 35px;
  width: auto;
}
.swiper-pagination-bullet {
  border-radius: 0;
  width: 1.5rem;
  height: 0.25rem;
  background: #fff;
}
.swiper-pagination-bullet-active {
  background: #fff;
}

.circle {
  position: absolute;
  bottom: -5em;
  left: -8em;
  width: clamp(150px, 40vw, 400px);
  height: clamp(150px, 40vw, 400px);
  background: rgba(226, 196, 62, 0.445);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.7;
}

.imgconten{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 1px solid black;
}
.imgitem{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Struktur card */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius:8px;
  overflow: hidden;
  box-shadow:0 4px 8px rgba(0,0,0,0.1);
  transition: transform .2s, box-shadow .2s;
  max-width: 300px;
}

/* Gambar dan info disusun secara vertikal di mobile */
.product-card img {
  width:100%;
  object-fit:cover;
}

.card-info {
  padding:16px;
  text-align:center;
}

.card-info h4 {
     margin-bottom:8px; color:#333;
 }

.price {
     font-size:1.4em; font-weight:bold; color:#e67e22; margin-bottom:12px;
 }
button {
  background:#e67e22;
  border:none;
  color:#fff;
  padding:12px 24px;
  border-radius:4px;
  cursor:pointer;
}
button:hover { background:#cf6c17; }

.product-card:hover {
  transform: translateY(-4px);
  box-shadow:0 8px 16px rgba(0,0,0,0.2);
}

/* Layout horizontal di desktop 
@media (max-width: 200px) {
  .product-card {
    flex-direction: column;
    
  }
  .product-card img {
    width: 50%;
    height: auto;
  }
  .card-info {
    width: 50%;
    text-align: left;
  }
}
*/

@media(max-width: 800px){
    .hideOnMobile{
        display: none;
    }
    .menubutton{
        display: block;
    }
    .product-card {
    width: 100%;
  }
   .intro-content{
    width: 100%;
  }
}

@media(max-width: 450px){
    .sidebar{
        width: 100%;
    }
}

.container{
    max-width: 1170px;
    margin: auto;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
ul{
    list-style: none;
}

.con-artikel {
  padding: 10px 10px;
  margin: 10px 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  background-color: #eaeaea;
}
.con-artikel .images-artikel{
    width: 100%;
    height: 80%;
    display: flex;
}
.images-artikel{
    margin:15px 0;
}
.footer{
    background-color: #24262b;
    padding: 60px 12px;
}
.footer-col{
    width: 25%;
    padding: 0 15px;
}
.footer-col h4{
    font-size: 18px;
    color: #ffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    position: relative;
}
.footer-col h4::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #af910a;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}
.footer-col ul li:not(:last-child){
    margin-bottom: 10px;

}
.footer-col ul li a{
    font-size: 16px;
    text-transform: capitalize;    
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3 ease;

}
.footer-col ul li a:hover{
    color: #ffffff;
    padding-left: 8px;
}
.footer-col .sosmed a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    margin:  0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5 ease;
}
.footer-col .sosmed a:hover{
    color: #24262b;
    background-color: #ffffff;
}
.footer .footer-col .box {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}
.footer .footer-col::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 35px;
}
.location-image {
  max-width: 140px;
  height: auto;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.bot-details ul li a{
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background-color: #4e4d4d;
  color: #eaeaea;
}

@media(max-width:800px){
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}
@media(max-width:400px){
    .footer-col{
        width: 100%;
    }
}

/* top button*/
#scrollTopBtn {
  display: none; /* disembunyikan secara default */
  position: fixed;
  bottom: 30px;
  right: 10px;
  z-index: 99;
  font-size: 32px;
  border: none;
  outline: none;
  background-color: #af910a;
  color: white;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 50;
  transition: 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #af910a;
}
/* Tombol tetap di kiri halaman */
    .wa-button {
      position: fixed;
      left: 20px;
      bottom: 20px;
      background-color: #25D366;
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 50px;
      font-size: 16px;
      font-family: Arial, sans-serif;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      text-decoration: none;
      display: flex;
      align-items: center;
      z-index: 999;
    }

    .wa-button:hover {
      background-color: #1ebe5d;
    }

    .wa-icon {
      margin-right: 8px;
    }

    /* galeri*/

  .titlegal{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #eaeaea;
    font-family: "Playwrite AU QLD", cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
  } 
  .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.gallery-item {
  flex: 1 1 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
  background: #fff;
  transition: transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media screen and (max-width: 900px) {
  .gallery-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media screen and (max-width: 600px) {
  .gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.wa-card {
      background: #ffffff;
      border: 1px solid #eaeaea;
      padding: 20px;
      width: 100%;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .wa-card img {
      width: 60px;
      margin-bottom: 15px;
    }

    .wa-card h2 {
      margin: 10px 0;
      font-size: 20px;
      color: #333;
    }

    .wa-card p {
      color: #666;
      font-size: 14px;
      margin-bottom: 20px;
    }

    .wa-card a {
      display: inline-block;
      padding: 12px 20px;
      background-color: #25D366;
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: 600;
      transition: background 0.3s;
    }

    .wa-card a:hover {
      background-color: #1ebe57;
    }