* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
  }

  main{
    margin-top: 80px;
  }
  
  .navigasi{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ed6a4d;
    z-index: 999;
    padding: 15px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
  }
  nav {
    background-color: #070870;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
  }
  
  nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
  }
  
  nav div img {
    width: 200px;
  }
  
  nav ul li a {
    text-decoration: none;
    font-family: "Segoe UI", sans-serif;
    color: #fff6f6;
    font-weight: 600;
    padding: 8px 0;
    transition: all;
    transition-duration: 300ms;
    border-bottom: 1px solid rgba(255, 68, 0, 0);
  }
  
  nav ul li a:hover {
    color: rgb(250, 216, 22);
    /*border-bottom: 1px solid rgb(128, 17, 54);*/
  }
  
  .menu-icon {
    color: #fdf9fa;
    font-size: 28px;
    display: none;
  }  

  /*Section 1--Home selamat datang*/
  #Hero {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    height: 500px;
    min-height: 87vh;
    background-color: #fff3f1;
  }

  .left {
    flex: 1;
    background-color:  #fff3f1;
    /*background-color: #ffff3c;*/
    padding: 20px;
  }

  .right {
    flex: 1;
    background-image: url('imagehome/HOME1.png');
     /* Supaya gambar tidak di-zoom */
     background-size: cover; /* atau gunakan ukuran asli */

     /* Atur posisi gambar */
     background-position: center center;
 
     /* Supaya tidak diulang */
     background-repeat: no-repeat;
 
    padding: 20px;
  }

  /* Saat layar lebih kecil dari 800px, sembunyikan div kanan */
  @media (max-width: 800px) {
    .right {
      display: none;
    }
    .left {
      flex: 1 1 100%;
    }  
  }

  .left h1{
    padding-top: 30px;
    margin-left: 40px;
    max-width: 600px;
    font-size: 50px;
    /*font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;*/
    font-family: 'Poppins', Helvetica, sans-serif; 
    color: #fdcf5a;
    text-align: left;
  }

  .left p{
    padding-top: 30px;
    margin-left: 40px;
    text-align: justify;
    width: 550px;
    line-height: 1.6;
    font-weight: bold;
  }

  .image1 {
    display: none;
  }


  /*Section 2=produk best*/
  #ProdukUnggulan{
    /*padding: 80px 100px;
    min-height: 87vh;
    background-color: #f1f17d;*/
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;   /* ⬅️ ini kuncinya */
    justify-content: center;
    padding: 60px 24px;    /* ⬅️ padding fleksibel */
    /*background-color: #070870; biru gelap*/
    background-color: #333abc;

  }

  #ProdukUnggulan p{
    color: #fff;
    margin-top: 20px;
    font-size: 20px;
  }

  .buttonshop{
    background-color: #fdcf5a;
    padding: 10px 30px;
    border-radius: 30px;
    color: #fff0f0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }


  @media (max-width: 1024px) {
    #ProdukUnggulan {
      padding: 40px 16px;
    }
  }

  .product-slider {
    width: 100%;
    max-width: 900px; /* batas aman desktop */
    height: 320px;   
    aspect-ratio: 16 / 9;   /* 🔥 KUNCI UTAMA */
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* sembunyikan scrollbar */
  .product-slider::-webkit-scrollbar {
    display: none;
  }
  
  .product {
    flex: 0 0 80%; /* ⬅️ 80% layar → sisanya keliatan */
    scroll-snap-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 300px;
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    background-color: #333abc;
    background-size: 100%; /* atau gunakan ukuran asli */

     /* Atur posisi gambar */
     background-position: center;
 
     /* Supaya tidak diulang */
     background-repeat: no-repeat;
  }
  
  /*.product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }*/
  
  #text2 {
    color: #fdfbfa;
    text-align: center;
    width: 700px;
    font-family: 'Poppins', sans-serif;
  }


  .Pkanan {
    flex: 1;
    background-color:  #bebff5;
    padding: 20px;
  } 

  .Pkiri {
    flex: 1;
     /* Supaya gambar tidak di-zoom */
     background-size: 80%; /* atau gunakan ukuran asli */

     /* Atur posisi gambar */
     background-position: center center;
 
     /* Supaya tidak diulang */
     background-repeat: no-repeat;
 
    padding: 20px;
  }

  .keterangan{
    margin-top: 30px;
    text-align: left;
    color: #fff;
  }

  /*Section 3 === Lokasi*/

  #Lokasi{
    padding: 80px 100px;
    min-height: 80vh;
    /*background-color: #eeee6f;*/
    background-color: #f9f9f9;
    text-align: center;
  }

  #box2{
    background-color: #ed6a4d;
    border-radius: 30px;
  }

  .text3{
    color: #fdf9fa;
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
  }

  .listLokasi{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
  
  .lokasiCard{
    background-color: transparent;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    /*box-shadow: 0 8px 20px rgba(0,0,0,0.06);*/
  }
  
  .lokasiCard img{
    width: 120px;
    height: 120px;
    border-radius: 60px;
    object-fit: cover;
  }

  .lokasiCard h4{
    color: #ed6a4d;
  }

  /*Section 4==konten*/

  #Konten{
    
    min-height: 90vh;
    /*background-color: #ebeb91;*/
    background-color: #ffffff;
    text-align: left;
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
  }

  .box{
    background-color: #070870;
    color: #fff;
    min-height: 90vh;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;

  }

  .rotated-text {
    font-size: 120px;
    display: inline-block;       /* Supaya transform bekerja */
    transform: rotate(-90deg);   /* -90deg = ke atas */
   
  }
  
  /*.image-section {
    padding: 60px 20px;
    background: #0f172a;
    display: flex;
    justify-content: center;
  }*/
  
  .image-container {
    padding: 70px 50px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .image-card {
    width: 316px;
    height: 395px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
  }
  
  .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  

  /*Section 5=penutup*/

  #Penutup{
    padding: 80px 100px;
    min-height: 80vh;
    background-color: #E5E5E5;
    /*background-color: #ffff3c;*/
    display: flex;
    justify-content: flex-end; /* semua ke kanan */
    align-items: center;
    gap: 20px;
  }

  .text {
    text-align: center; /* teks rata kanan */
    color: #1f1c17;
    font-size: 40px;
    font-family: 'Poppins', sans-serif;   /* Pilih font yang jelas */
    font-weight: 600;
    max-width: 800px;
  }
  
  #Penutup img {
    width: 300px;
  }

  /*icon ig dan tiktok*/
  .social-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
  }
  
  .social-fixed img {
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .social-fixed img:hover {
    transform: scale(1.1);
  }
  


  /*======Untuk Split Layar========*/
  @media only screen and (max-width: 768px) {
    nav {
      flex-wrap: wrap;
      position: fixed;
      width: 100%;
      top: 0;
    }
  
    nav ul {
      flex-direction: column;
      width: 100%;
    }
  
    nav ul li:last-of-type {
      padding-bottom: 8px;
    }
  
    nav ul.hidden {
      display: none;
    }
  
    .menu-icon {
      display: flex;
      align-items: center;
    }

    @media (max-width: 768px) {
      .slider {
        max-width: 100%;
      }
    }
  
    .image1{
      display: flex;
      width: auto;
      height: 250px;
      margin-left: 200px;
      
    }
  
    .kanan {
      display: none;
    }

    .Penjelasan-kanan{
      display: none;
    }
  
  
    @media  (max-width : 1024px) {
      .listLokasi{
        grid-template-columns: repeat(2, 1fr);
      }
      
    }
  
    @media  (max-width : 600px) {
      .listLokasi{
        grid-template-columns: 1fr;
      }
      
    }
  }

  footer{
    text-align: center;
    background-color: #e63a34;
    color: #fff;
  }