@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700,600,400italic");
@import url('https://fonts.googleapis.com/css2?family=Stardos+Stencil:wght@700&display=swap');

@font-face {
    font-family: openSauceOne;
    src: url('../fonts/OpenSauceOne/OpenSauceOne-Regular.ttf') format('truetype');
}

::selection {
  color: #cddc39;
}

body {
    background: white;
    font-family: "openSauceOne", sans-serif;
    font-weight: 400;
    color: #505050;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    font-size: 14px;
    transition: all 0.5s;
}
/***basics****/
a, a:hover, a:focus,i {
    text-decoration: none;
    outline: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
}
p {
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 1px;
    color: #444444;
    line-height: 24px;
}
.section-padding {
  padding-top: 100px;
  padding-bottom: 20px;
}
.section-padding1 {
  padding-top: 0;
  padding-bottom: 40px;
}

.section-padding2 {
  padding-top: 25px;
  padding-bottom: 25px;
}

p {
    font-family: "openSauceOne", sans-serif;
    margin-bottom: 0px;
    font-size: 13px;
    color: #4a4a4a;
    line-height: 24px;
}
a {
    text-decoration: none!important;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  font-family: "Open Sans", sans-serif;
}
.border-line {
  width: 40px;
  height: 1px;
  margin-top: 20px;
  display: block;
  text-align: center;
  background-color: #6cc417;
  margin-left: auto;
  margin-right: auto;
}

/* NAVBAR */
.navbar {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #fff !important;
    border-bottom: 1px #858585;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* End of NAVBAR */

/* PRODUCT SEGMENT */
/* 4 product */
.product {
    height: 320px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product__image {
    background-size: cover;
    background-position: center;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1s ease-in-out;
}

.product__image.active {
    opacity: 1;
    z-index: 1;
}

/* CARDS CONTAINER */
.product__cards {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: nowrap;
    z-index: 3;
}

/* DEFAULT CARD */
.product__cards .card {
    flex: 1;
    padding: 32px;
    background-color: rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    cursor: pointer;
    transition: flex 0.4s ease, background 0.3s ease, opacity 0.3s ease;
    color: white;
    text-align: center;
}

/* HOVER EFFECT – MEMANJANG */
.product__cards:hover .card {
    flex: 0.9;
    opacity: 0.75;
}

.product__cards .card:hover {
    flex: 2 !important;
    background-color: rgba(0, 0, 0, 0.35);
    opacity: 1;
}

/* ACTIVE CARD (JS) */
.product__cards .card.active {
    flex: 2;
    background-color: transparent;
}

/* LINKS */
.card__link {
    color: white;
    text-decoration: none;
}

.card__link:hover {
    color: blue;
}

/* RESPONSIVE */
/* MOBILE IMPROVEMENT */
@media only screen and (max-width: 540px) {
    .product {
        height: auto;
        padding: 16px;
    }

    .product__cards {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
        position: relative;
    }

    .product__cards .card {
        padding: 16px;
        flex: unset !important;
        text-align: center;
        border-radius: 8px;
        background-color: rgba(0, 0, 0, 0.32);
        backdrop-filter: blur(4px);
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .product__cards .card h5 {
        font-size: 13px;
        line-height: 1.3;
    }

    .card__link {
        font-size: 12px;
        padding: 6px 10px;
        display: inline-block;
        border: 1px solid #fff;
        border-radius: 6px;
        background: rgba(255,255,255,0.1);
    }

    /* Hover effect (sedikit saja agar tidak mengganggu) */
    .product__cards .card:hover {
        transform: scale(1.03);
        background-color: rgba(0, 0, 0, 0.45);
    }
}

/* End of PRODUCT SEGMENT */

/* OUR CLIENT */
.mobileClient { display: none; }
.desktopClient { display: block; }

@media (max-width: 768px) {
    .mobileClient { display: block !important; }
    .desktopClient { display: none !important; }
}

.client-carousel img {
    max-width: 150px;
    margin: auto;
    padding: 15px;
    transition: 0.3s;
}
.client-carousel img:hover {
    transform: scale(1.1);
}
/* End of OUR CLIENT */




/* FOOTER */
/* FOOTER UTAMA */
.footer {
  padding: 40px 0;
  background-color: #e7efc8;
  font-family: "Open Sans", sans-serif;
}

/* RESPONSIVE SPACING */
.footer .brand-img {
  max-width: 220px;
}

/* LINK STYLE */
.footer .links ul {
  list-style-type: none;
  padding-left: 0;
}

.footer .links li a {
  color: #000;
  font-weight: 500;
  transition: color 0.2s;
}

.footer .links li a:hover {
  text-decoration: none;
  color: #0f9b49;
}

/* ICON */
.footer .about-company i,
.footer .location i {
  font-size: 18px;
}

/* MAP SHADOW RESPONSIVE */
.footer iframe {
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer .vl {
    border-bottom: 1px solid grey;
    width: 80%;
    margin: 20px auto;
  }
}

@media (min-width: 992px) {
  .footer .vl {
    border-right: 1px solid grey;
    height: 180px;
  }
}

/* COPYRIGHT AREA */
.footer-bottom {
    background-color: #efe4d2;
    color: #000;
    font-weight: bold;
    font-family: "Merriweather", serif;
}

/* End of FOOTER */
