/* import fontstyle */
@import url(/css/clash-display.css);

/* membuat template style yang tinggal dipanggil */
/* VARIABLES */
:root {
  --c-dark: #212529;
  --c-brand: #005380;
  --c-brand-light: #868d95;
  --c-brand-rgb: 78, 87, 212;
  --c-body: #8e8d8a;
  --font-base: "ClashDisplay", sans-serif;
  --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
  --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
  font-family: var(--font-base);
  line-height: 1.7;
  color: var(--c-body);
}

h1,h2,h3,h4,h5,h6, 
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  color: var(--c-dark);
}

a {
  text-decoration: none;
  color: var(--c-brand);
  transition: var(--transition);
}

a:hover {
  color: var(--c-brand-light);
}

img {
  width: 400px;
  height: 300px;
}

.section-padding {
  padding-top: 140px;
}

.theme-shadow {
  box-shadow: var(--box-shadow);
}

/* IMAGE ZOOM */
.image-zoom {
  position: relative;
  overflow: hidden;
}

.image-zoom-warper {

  position: relative;
  overflow: hidden;
}

.image-zoom-warper img {
  transition: var(--transition);
}

.image-zoom:hover .image-zoom-warper img {
  transform: scale(1.1);
}

/* NAVBAR */
.navbar {
  box-shadow: var(--box-shadow);
  background-color: grey;
  padding: 0px;
}

.navbar-nav .nav-link {
  font-weight: bold;
  color: var(--c-brand);
  font-size: 14px;
  padding: 10px 16px;
}

.navbar-nav .nav-link.active {
  color: #ffbd59;
}

.navbar img{
  height: 90px;
  width:  90px;
}


/* BUTTON */
.btn {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px 24px;
}

.btn-brand {
  background-color: var(--c-brand);
  border-color: var(--c-brand);
  color: white;
}

.btn-brand:hover {
  color: black;
  background-color: #ffbd59;

}

/* HERO */
#hero {
  background: linear-gradient(rgba(128, 128, 128, 0.708), rgba(128, 128, 128, 0.7)), url(../assets/img/header/header.webp);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 0;
}

#hero h1 {
  font-size: 5rem;
}
#hero h5 {
  font-size: 2rem;
}

/* SECTION TITLE */
.section-title {
  margin-bottom: 60px;
}

.section-title .line {
  width: 60px;
  height: 4px;
  background-color: var(--c-brand);
  margin: 16px auto 24px auto;
}

.section-title p {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ICONBOX */
.iconbox {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-brand-rgb), 0.1);
  color: var(--c-brand);
  font-size: 34px;
  flex: none;
}

/* SERVICE */
.service {
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding: 2rem;
  
}

.service::after {
  content: "";
  width: 40px;
  height: 40px;
  background: rgba(var(--c-brand-rgb), 0.2);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: var(--transition);
}

.service:hover::after {
  width: 100%;
  height: 100%;
  background: var(--c-brand);
  z-index: -1;
}

.service:hover h5,
.service:hover p {
  color: white;
}

.service:hover .iconbox {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* handeld cases */
.card-handled {
  border: none;                       /* buang border kaku */
  border-radius: 1rem;                /* sudut membulat */
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;                       /* biar semua card sama tinggi */
}

.img-area {
  position: relative;
  overflow: hidden;
  border-radius: .75rem;
}

.img-area img {
  transition: transform 0.6s ease;
}

.img-area:hover img {
  transform: scale(1.08);
}

/* Optional overlay gradient */
.img-area::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  z-index: 1;
  border-radius: .75rem;
}

/* Badge di atas card */
.case-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--c-brand, #007bff);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.card-handled:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.card-handled .img-area img {
  border-radius: .75rem;
  object-fit: cover;
  height: 210px;
  width: 100%;
}

.card-handled h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1rem;
}

.handled-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.handled-list li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: .8rem;
  text-align: left;
  color: var(--c-body);
  line-height: 1.55;
}

.handled-list li::before {           /* icon centang */
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-brand);
  font-weight: 700;
}



/* PRODUCT */
.product-item .iconbox {
  background-color: var(--c-brand);
  color: white;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.product-item:hover .iconbox {
  opacity: 1;
  top: 50%;
}

.product .container-panjang img {
  height: 500px;
  width: 380px;
}

/* client */
.clients {
  justify-content: center;
  text-align: center;
}

.client-logo-wrapper {
  width: 100%;
  height: 200px; /* Sesuaikan tinggi sesuai kebutuhan */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.client-logo-wrapper img {
  max-width: 300px;
  max-height: 200px;
  object-fit: contain; /* Memastikan gambar tidak terpotong dan proporsional */
}

/* TEAM */
.team .card {
	box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
}

.team .card-body h1{
	font-size: 25px;
}

.team img {
  width: 50%;
  height: 25%;
}

/* CONTACT */
#contact {
  position: relative;
  z-index: 2;
}

#contact::after {
  content: "";
  width: 100%;
  height: 70%;
  background: linear-gradient(rgba(128, 128, 128, 0.708), rgba(128, 128, 128, 0.7)), url(../assets/img/header/header.webp);
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

#contact .form-control {
  border-radius: 0;
}

#contact .form-control:focus {
  box-shadow: none;
  border-color: var(--c-brand);
}

/* FOOTER */
footer {
  padding-top: 120px;
}

.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-bottom .author {
  font-size: 0.8rem;
}


footer li,
footer p,
footer a {
  color: rgba(255,255,255,0.7);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer .line {
  width: 40px;
  height: 4px;
  background-color: var(--c-brand-light);
  margin-top: 12px;
  margin-bottom: 24px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.1);
  border-radius: 100px;
}

.social-icons a:hover {
  background-color: var(--c-brand);
  color: white;
}

#foothome {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 24px;
}

/* FLOATING BUTTON WA */
.floating-btn {
  position: fixed;
  bottom: 20px; /* Jarak dari bawah layar */
  right: 20px; /* Jarak dari kanan layar */
  background-color: #25d366; /* Warna hijau khas WhatsApp */
  width: 60px; /* Lebar tombol */
  height: 60px; /* Tinggi tombol */
  border-radius: 50%; /* Membuat tombol berbentuk lingkaran */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.floating-btn i {
  font-size: 28px;
  color: white;
}

.floating-btn:hover {
  color: white;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.dropdown-menu {
  left: 0; /* Menempatkan dropdown di sebelah kanan */
  left: auto; /* Menghindari overlap */
  transform: translateY(-10px); /* Menempatkan dropdown sedikit di atas tombol */
  background-color: #1ebe57;
  color: white;
  padding: 1rem;
}

.dropdown-menu a:hover {
  color: white;
}

.dropdown-menu.show {
  margin-bottom: 10px; /* Menambahkan margin bawah untuk memberikan jarak dari tombol */
}

/* REMIXICON BULLET STYLING */
li.remix-bullet {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

li.remix-bullet::before {
  content: "\ea6e"; /* ri-check-line */
  font-family: "remixicon";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  color: var(--c-brand);
}

/* AOS OVERRIDE ANIMATIONS */
[data-aos] {
  transition-duration: 800ms !important;
  transition-timing-function: ease-out !important;
}

/* MEDIA QUERIES UNTUK MOBILE */
@media (max-width: 768px) {
  #about .h1, #vm .h1 {
    margin-top: 2rem;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero h5 {
    font-size: 1rem;
  }

  .section-title h1 {
    font-size: 1.75rem;
  }

  #about,
  #vm,
  #services,
  #areas,
  #cases,
  #contact {
  scroll-margin-top: 300px;
}


  .btn {
    font-size: 0.85rem;
    padding: 8px 20px;
  }

  .navbar-nav .nav-link {
    padding: 8px 12px;
    font-size: 16px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
  }

  .floating-btn i {
    font-size: 22px;
  }

  .service {
    padding: 1.5rem 1rem;
    text-align: center;
  }

  .card-handled {
    padding: 1rem;
  }

  .card-handled h3 {
    font-size: 1.1rem;
  }

  .handled-list li,
  li.remix-bullet {
    font-size: 0.85rem;
  }

  footer .row > div {
    margin-bottom: 20px;
  }

  .footer-top,
  .footer-bottom {
    padding-left: 10px;
    padding-right: 10px;
  }

  .aboutus-img,
  .areas-img,
  .img-area img {
    max-width: 100%;
    height: auto;
  }
}