/* style.css */

body {
    margin: 0;
    min-height: 100vh;
    padding-top: 200px;

    font-family: Arial, sans-serif;
    /* background-color: #f5f5f5; */
    color: #333;
    background-image:url('../assets/image/backgroundbody.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background: purple !important; */
}
/* body::before {
  content: '';
  display: block;
  height: 50px;
  background: red;
} */

.header-flex {
  display: flex;
  justify-content: center; /* Tengah horizontal */
  align-items: center;     /* Tengah vertikal */
  gap: 20px;
  flex-wrap: wrap;
}

.header-img {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: white;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    justify-content: center;
}


header {
    background-color: rgb(196, 158, 120);
    color: white;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background-color: #555; atau warna header kamu */
    z-index: 999;
    /* padding: 20px; */
}

.logo {
    margin: 0;
    font-size: 10px;
    font-weight: bold;
}

nav {
    margin-top: 10px;
}

/* .bi{
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
    padding-top: 15px;

} */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}

.menu {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}

.menu li a:hover {
    background-color: #888;
}



.hero .slider {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


.slider img {
    width: 100%;
    display: none;
    object-fit: cover;
    height: 300px;
}

.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  scroll-margin-top: 100px;
  background-color:  rgba(255, 255, 255, 0.9);
}

.section h2, .section h1 {
  text-align: center;
  margin-bottom: 20px;
}

.card-container{
  display: flex;
  flex-wrap: wrap; /* biar responsif dan turun ke bawah kalau sempit */
  gap: 20px; /* jarak antar card */
  justify-content: center; /* tengahin */
  margin-top: 20px;
}




.client-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    }

    .client-track {
    display: flex;
    animation: scrollClient 30s linear infinite;
    }

    .client-track img {
    height: 100px;
    margin: 0 30px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
    }

    .client-track img:hover {
    filter: none;
    }

    @keyframes scrollClient {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
    }

.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
}

.wa-float:hover {
    background-color: #1ebe5d;
}


footer {
    text-align: center;
    background-color: rgb(196, 158, 120);
    color: white;
    padding: 20px;
    font-size: 14px;
    width: 100%;
}


.kontak-logo {
    /* justify-content: center; */
    width: 100%;
    text-align: center;
    display: inline-block;
    /* background-color: #1ebe5d; */
    padding: 10px;
    margin: 0 10px;

}

.kontak-logo a{
        text-decoration: none;
        margin: 0 10px;
}





.map iframe {
    border-radius: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        background-color: #888;
        padding: 10px;
        margin-top: 10px;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .slider {
        height: 200px;
    }

    .slider img {
        height: 200px;
    }

    .client-track {
        width: auto;
        animation: slideClient 20s linear infinite;
    }

    .client-track img {
        height: 80px;
        width: auto;
    }

    .client-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    }

    .client-track {
    display: flex;
    animation: scrollClient 30s linear infinite;
    }

    .client-track img {
    height: 100px;
    margin: 0 30px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
    }

    .client-track img:hover {
    filter: none;
    }
    
    @keyframes scrollClient {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
    }

}
