*{
    font-family: Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 4rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

/*Variabel*/

:root{
    --main-color:  #e0c39f;
    --second-color: #e0c39f;
    --text-color: #1b1b1b;
    --bg-color: #fff;

    
    --box-shadow: 2px 2px 10px 4px rgb(14 55 54/15%)
}

section{
    padding: 50px 100px;

}
img{
    width: 85%;
}

body{
    color: var(--text-color) ;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 100px;
    transition: 0.5s linear;

}

header.shadow{
    background: var(--main-color);
    box-shadow: var(--box-shadow);
}

.logo img{
    width: 60px;
}

#menu-icon {
    font-size: 2rem;
    color: #ff7e67;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeIn 0.8s ease-out forwards;
}
.navbar {
    list-style: none;
    display: flex;
    justify-content: flex-start; /* Mengatur elemen ke kiri */
    gap: 15px; /* Memberi jarak antar item navbar */
    margin-left: 23px; /* Memberikan jarak tambahan ke kiri */
    list-style: none;
    opacity: 0; /* Elemen tidak terlihat saat halaman pertama kali dibuka */
    transform: translateY(-20px); /* Elemen bergeser ke atas */
    animation: fadeIn 1s ease-out forwards; /* Animasi muncul */
    flex-direction: row;
    justify-content: center;
}
.navbar li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease; /* Transisi hover */
}

.navbar li a:hover {
    color: #f8f3f2; /* Warna berubah saat di-hover */
}
.navbar li {
    list-style: none; /* Hilangkan bullet dari elemen list */
}

.navbar a {
    text-decoration: none; /* Hilangkan garis bawah */
    padding: 8px 17px;
    color: var(--bg-color);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar a:hover{
    background: var(--text-color);
    border-radius: 0.2rem;
    transition: 0.2s all linear;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.header-icon a,
.header-icon i {
    display: none;
}


.header-icon .bx{
    color: var(--bg-color);
}

.header-icon .bx:hover{
    color: var(--text-color);
}

/* Menu Icon */
.menu-icon {
    display: none; /* Default hidden for larger screens */
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    transition: 0.3s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span:nth-child(3) {
    bottom: 0;
}

/* Menu Icon Active (Animation on click) */
.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
}
#menu-icon:hover {
    transform: scale(1); /* Sedikit memperbesar ikon */
    color: #fef8f7;
    transition: transform 0.3s ease, color 0.3s ease;
}


/* Responsive: Display Menu Icon */
@media (max-width: 991px) {
    .menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: -570px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--second-color);
        padding: 20px;
        gap: 1.4rem;
        text-align: center;
        transition: 0.3s;
        
    }

    .navbar.active {
        top: 100%;
    }
}
/* General Styles */
/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
  }
  
  header {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center;    /* Centers content vertically */
    flex-direction: column; /* Arranges items vertically */
    padding: 15px 20px;
    background: rgb(#e0c39f);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  
  .logo h1 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  
  .navbar li a {
    text-decoration: none;
    font-size: 1rem;
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background 0.3s;
  }
  
  .navbar li a:hover {
    background: #ddd;
  }
  
  /* Mobile Menu */
  #menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start; /* Aligns items to the left for mobile */
    }
  
    .navbar {
      display: none; /* Hide menu by default on mobile */
      flex-direction: column;
      position: absolute;
      top: 60px;
      left: 50%;
      transform: translateX(-50%); /* Centers the navbar horizontally */
      background: #f4f4f4;
      width: auto;
      text-align: center;
      transition: 0.3s ease-in-out;
    }
  
    .navbar.active {
      display: flex; /* Show menu when active */
    }
  
    #menu-icon {
      display: block; /* Show menu icon */
    }
  }
    @media (max-width: 768px) {
    .navbar {
      display: none; /* Hide menu on small screens */
      flex-direction: column;
      position: absolute;
      top: 60px;
      left: 0;
      background: #f4f4f4;
      width: 100%;
      text-align: center;
      transition: 0.3s ease-in-out;
    }
  
    .navbar.active {
      display: flex; /* Show menu when active */
    }
  
    #menu-icon {
      display: block; /* Show menu icon */
    }
  }
  
.search-box{
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translate(-50%);
    background: var(--bg-color);
    width: 100%;
}

.search-box.active{
    top: 110%;
    box-shadow:var(--box-shadow);
    transition: 0.2s all linear;
}

.search-box input{
    padding: 20px;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--text-color);
}

.search-box input::placeholder{
    font-size: 1rem;
    font-weight: 500;
}

.home {
    width: 100%;
    min-height: 100vh;
    background: url('foto/bg.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 2rem;
    overflow: hidden; /* Pastikan elemen tidak keluar */
}
.home-text h1,
.home-text p,
.home-text .btn {
    opacity: 0; /* Awalnya tidak terlihat */
    transform: translateY(30px); /* Bergeser ke bawah */
    animation: fadeInUp 1s ease-out forwards;
}
.home-text h1{
    font-size: 3.4rem;
    color: #c15410;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center; 
    animation-delay: 0.2s; /* Muncul lebih dulu */
}

.home-text p{
    font-size: 0.93rem;
    color: var(--bg-color);
    margin: 0.5rem 0 1.4rem;
    text-align: center; 
    animation-delay: 0.4s; /* Muncul setelah h1 */
    
}
.home-text .btn {
    animation-delay: 0.6s; /* Tombol muncul terakhir */
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.btn{
    display: inline-block;
    padding: 10px 40px;
    background: #ff7e67;
    color: #fff;
    border: none;
    border-radius: 0.3rem;
    background-position: var(--main-color);
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
     
}


.btn:hover{
    background: #ff5743;
}
.about{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
    align-items: center;
    gap: 1.5rem;
}

.about-img img{
    border-radius: 0;
}


.about-text h2{
    font-size: 1.8rem;
    text-transform: uppercase;
}

.about-text p{
    font-size: 0.938rem;
    margin: 0.5rem 0 1.1rem;
}

.heading{
    text-align: center;
}

.heading h2{
    font-size: 1.8rem;
    text-transform: uppercase;
}

.products-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
    gap: 1.5rem;
    opacity: 0; /* Mulai dengan tidak terlihat */
    transform: translateY(20px); /* Mulai dengan sedikit bergeser */
    animation: fadeInProducts 1.5s ease-out forwards;
    margin-top: 2rem;
}

.products-container .box{
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.products-container .box:hover {
    transform: scale(1.05); /* Sedikit memperbesar */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.products-container  img{
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    background: #f1f1f1;
    border-radius: 0.5rem;
    transition: transform 0.5s ease;
}
.products-container .box:hover img {
    transform: scale(1.1); /* Zoom in gambar */
}
.products-container .box h3{
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0.5rem 0 0.5rem;
    text-align: center; 
    color: #333;
    transition: color 0.3s ease;
}
.products-container .content {
    text-align: center;
    margin-bottom: 15px;
}
/* Gaya tombol link */
.products-container .price-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff7e67;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover efek untuk link */
.products-container .price-link:hover {
    background-color: #ff5743;
    transform: translateY(-5px); /* Geser sedikit ke atas */
}

/* Animasi fade-in */
@keyframes fadeInProducts {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-container .box .content{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.products-container .box .content a{
    padding: 0 1rem;
    color: var(--bg-color);
    background:#e9bd8b;
    border-radius: 4px;
    font-weight: 500;
}

.products-container .box .content a{
    padding: 0 1rem;
    color: var(--text-color);
    border: 2px solid var(--main-color);
    border-radius: 4px;
    text-transform: uppercase;
}

.products-container .box .content a:hover{
    background: #e9bd8b;
    color: var(--bg-color);
    transition: 0.2s all linear;
}

.customers-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
    gap: 1.5rem;
    margin-top: 2rem;
}

.customers-container .box{
    padding: 20px;
    box-shadow: var(--box-shadow);
    border-radius: 0.5rem;
    text-align: center;
}

.stars .bx{
    color: var(--main-color);
}

.customers-container .box p{
    font-size: 0.938rem;
}

.customers-container .box h2{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0 0.5rem;
}

.customers-container .box img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.customers-container .box:hover{
    background: var(--second-color);
    transition: 0.2s all linear;
}

.contact {
    text-align: left; 
    padding: 5px;
  }
  .heading {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .row {
    display: flex;
    align-items: center;
  }
  form {
    flex: 1;
  }
  .box {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  textarea {
    resize: vertical;
    height: 150px;
  }
  .btn {
    padding: 10px 15px;
    font-size: 16px;
    background-color:#e9bd8b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    
  }
  .image {
    flex: 2;
    text-align: center;
  }
  .image img {
    max-width: 100%;
    height: auto;
  }

.wrapper{
    width: 420px;
    background:#fcf5ed;
    color: black;
}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box{
    width: 100%;
    height: 50px;
    margin: 30px 0;
}
.footer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, auto));
    gap: 1.5rem;
}

.footer-box h2{
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-box p{
    font-size: 0.938rem;
    margin-bottom: 10px;
}

.social{
display: flex;
align-items: center;
column-gap: 0.5rem;
}

.social a .bx{
    font-size: 24px;
    color: var(--text-color);
    padding: 10px;
    background: var(--second-color);
    border-radius: 0.2rem;
}

.social a .bx:hover{
    background: var(--main-color);
    color: var(--bg-color);
}

.footer-box h3{
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-box li a{
    color: var(--text-color);
}

.footer-box li a:hover{
    color: var(--main-color);
}

.contact{
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.contact span{
    display: flex;
    align-items: center;
}

.contact i{
    font-size: 20px;
    margin-right: 1rem;
}

.copyright{
    padding: 20px;
    text-align: center;
    background: var(--second-color);
}

@media(max-width : 1958px){
    header{
        padding: 16px 60 px;
    }
    section{
        padding: 50px 60px;
    }
    .home-text h1{
        font-size: 2.4rem;
    }
}

@media(max-width : 991px){
    header{
        padding: 16px 4%;
    }
    section{
        padding: 50px 4%;
    }
    .home-text h1{
        font-size: 2rem;
    }
}

@media(max-width : 768px){
    header {
        padding: 12px 4%;
    }
    #menu-icon{
        display: initial;
    }
    .navbar {
        position: absolute;
        top: -570px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(--second-color);
        row-gap: 1.4rem;
        padding: 20px;
        transition: 0.3s;
        text-align: center;
        
    }
    .navbar a{
        color: var(--text-color);
    }
    .navbar a:hover{
        color: var(--bg-color);
    }
    .navbar.active{
        top: 100%;
    } 
    .about{
        align-items: center;
        }
    }

    @media(max-width : 360px) {
        header{
            padding: 11px 4%;
        }
        .logo img {
            width: 45px;
        }
        .home-text{
            padding-top: 15px;
            }
        .home-text h1{
            font-size: 1.4rem;
        }
        .home-text p{
            font-size: 0.8rem;
            font-weight: 300;
        }
        .about-img{
        order: 2; 
        }
        .about-text{
            text-align: center;
        }
        .about-text h2{
         font-size: 1.2rem;   
        }
        .heading h2{
            font-size: 1.2rem;
        }
        }
    
