/* NAVBAR GRADIENT */
.navbar-custom {
   background: linear-gradient(126deg, #1a386d, #5472c8, #d75c9c);
  /* background: url(/assets/images/background/bg-scaled-01.jpg) center/cover no-repeat; */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* TEXT */
.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    color: #fff;
    font-weight: 500;
}

.navbar-custom .nav-link:hover {
    color: #ffd1ec;
}

/* STICKY */
.sticky-top {
    z-index: 999;
}

/* HOVER DROPDOWN */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
.dropdown-toggle::after {
    display: none !important;
}
/* ICON MENU */
.nav-link i {
    margin-right: 6px;
}


/* MEGA MENU STYLE */
.mega-menu {
    width: 80%;
    left: 0;
    right: 0;
    padding: 15px;
    border: none;
}
.mega-menu a {
    color: #333;
    text-decoration: none;
}

.mega-menu a:hover {
    color: #f472b6;
}
/* DROPDOWN HOVER */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* BIAR HALUS */
.dropdown-menu {
    transition: 0.2s;
}

/* ITEM */
.dropdown-item i {
    width: 20px;
}
/* PAKSA DROPDOWN KE KIRI */
.navbar .dropdown-menu {
    left: 0 !important;
    right: auto !important;
}
/* HERO */
.hero {
    background: url(/assets/images/background/bg-scaled-01.jpg) center/cover no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
}
/* ITEM PROFESI */
.profesi-item {
    display: block;
    padding: 6px 0;
    color: #333;
    transition: 0.2s;
}

.profesi-item:hover {
    color: #f472b6;
    transform: translateX(5px);
}

/* MOBILE */
@media (max-width: 768px) {
    .mega-menu {
        width: 100%;
    }
}

/* WHATSAPP BUTTON */
#waButton {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 999;
    transition: all 0.3s ease;
}

/* ICON */
#waButton svg {
    width: 20px;
    height: 20px;
}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 999;

    width: 50px;
    height: 50px;
    line-height: 50px;

    background: linear-gradient(135deg, #007bff, #0056d2);
    color: #fff;

    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    cursor: pointer;

    display: none;
    transition: all 0.3s ease;

    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
}

/* HOVER EFFECT */
#backToTop:hover {
    background: linear-gradient(135deg, #0056d2, #003f9e);
    transform: translateY(-5px) scale(1.05);
}


/* HOVER */
#waButton:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}

/* ANIMASI PULSE */
#waButton::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* MOBILE */
@media(max-width: 768px){
    #waButton span {
        display: none;
    }
    #waButton {
        padding: 14px;
        border-radius: 50%;
    }
}

/* <!-- Hero Slider --> */

.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /*transition: all 1s ease-in-out; */
  transform: scale(0,5);  
  transition: transform 6s ease-in-out, opacity 3s ease-in-out;
  will-change: transform;
}

.slide.active {
  opacity: 1;
  z-index: 1;
   width: 100%;
  height: 100%;
animation: zoomPremium 10s ease-in-out forwards;
}

@keyframes zoomPremium {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index:1;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.3),  /* sebelumnya 0.6 → turunin */
    rgba(0,0,0,0.1)
  );
}

.content {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 500px;
z-index: 2;   /* PENTING */
}

.subtitle {
  font-size: 18px;
  letter-spacing: 3px;
  color: #ffcc00;
  animation: fadeDown 1s;
}

.title {
  font-size: 40px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 5px 20px rgba(0,0,0,0.7);
}

.desc {
  font-size: 18px;
  color: #f1f1f1;
  margin: 15px 0 25px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.btn-slider {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(45deg, #ff4d4d, #ff9900);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 3;
}

.btn-slider:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 55px;
  height: 55px;
  border-radius: 50%;

  display: flex;              /* WAJIB */
  align-items: center;        /* center vertical */
  justify-content: center;    /* center horizontal */

  border: none;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.nav i {
  line-height: 1;
}

.nav:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 20px; }
.next { right: 20px; }

/* home_service*/
.container-home_service{
    padding: 15px 10px;
    background: linear-gradient(135deg, rgb(183 242 250), /* biru langit */ rgb(251 230 239) /* pink muda */);
    
}
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* home Service */


.home-service-nav{
  text-align:center;
}

.home-service-nav .btn{
  border-radius:30px;
  padding:8px 18px;
  font-size:14px;
  font-weight:500;
  transition:0.3s;
}

.home-service-nav .btn:hover{
  transform:translateY(-2px);
}

.home-service-nav .btn.active{
  background:#0d6efd;
  color:#fff;
}
.card-pekerja{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  transition:0.3s;
}

.card-pekerja:hover{
  transform:translateY(-5px);
}

.img-box{
  position:relative;
  overflow:hidden;
}

.img-box img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition:0.4s;
}

.img-box:hover img{
  transform:scale(1.1);
}

/* label nama */
.img-box .label{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:rgba(0,0,0,0.6);
  color:#fff;
  font-size:13px;
  padding:5px;
  text-align:center;
}

.content{
  padding:10px;
}

.gaji{
  color:#ff6600;
  font-weight:bold;
  text-align:right;
}

.bintang{
  margin:5px 0;
}

.content p{
  font-size:13px;
  height:40px;
  overflow:hidden;
}
.wishlist{
  position:absolute;
  top:10px;
  right:10px;
  background:#fff;
  padding:6px;
  border-radius:50%;
  cursor:pointer;
}

.wishlist.active{
  color:red;
}

/* RESPONSIVE */
@media(max-width:768px){
  .img-box img{
    height:150px;
  }
}

/* footer */
.footer-cms {
  background: linear-gradient(126deg, #1a386d, #5472c8, #d75c9c);
  color: #e2e8f0;
  font-size: 14px;
}

.footer-cms h4 {
  color: #fff;
  margin-bottom: 15px;
  position: relative;
}

.footer-cms h4::after {
  content: "";
  width: 100%;
  height: 2px;
  background: #fdeeff;
  position: absolute;
  left: 0;
  bottom: -5px;
  border-radius: 10px;
}

.footer-cms a {
  color: #cbd5f5;
  text-decoration: none;
  transition: 0.3s;
}

.footer-cms a:hover {
  color: #22c55e;
  transform: translateX(3px);
}

.footer-cms .icon {
  color: #22c55e;
  margin-right: 8px;
}

.footer-cms .social a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  background: #334155;
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s;
}

.footer-cms .social a:hover {
  background: #22c55e;
  transform: scale(1.1);
}

.footer-cms .maps iframe {
  border-radius: 10px;
  width: 100%;
  height: 180px;
}

.footer-cms .copyright-section {
  border-top: 1px solid #334155;
  margin-top: 20px;
  padding-top: 15px;
  text-align: center;
  color: #94a3b8;
}
.footer-cms p {
  text-align: left;
  margin-bottom: 10px; /* biar lebih rapi jaraknya */
}

/* Home Content */
.content-section {
 background: linear-gradient(135deg, rgb(183 242 250), /* biru langit */ rgb(251 230 239) /* pink muda */);
}

.content-card {
  background: url(/assets/images/background/bg-scaled-01.jpg) center/cover no-repeat;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card-img {
  overflow: hidden;
  height: 180px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

/* Hover Zoom */
.content-card:hover img {
  transform: scale(1.1);
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-body h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 14px;
  color: #64748b;
}
.content-card h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
}

.content-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
    line-height: 22px;
}

.btn-primary {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

/* Icon Style */
.icon {
  font-size: 42px;
  color: #ebce00;
}

/* Button */
.btn-primary {
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
}

/* home_galeri */

/* SECTION */
.home_galeri {
  background: #f8fafc;
}

/* GRID UTAMA */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* desktop */
  gap: 12px;
}

/* ITEM / CARD */
.galeri-album {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

/* IMAGE */
.galeri-album img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /* efek lebih hidup */
  filter: brightness(1.08) contrast(1.1) saturate(1.05);

  /* zoom default */
  transform: scale(1.05);

  transition: all 0.5s ease;
}

/* HOVER IMAGE */
.galeri-album:hover img {
  transform: scale(1.15);
  filter: brightness(1.15) contrast(1.15) saturate(1.1);
}

/* OVERLAY */
.galeri-album .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
  opacity: 0;
  transition: 0.4s ease;
}

.galeri-album:hover .overlay {
  opacity: 1; /* FIX (sebelumnya 3 ❌) */
}

/* BADGE TANGGAL */
.badge-tanggal {
  position: absolute;
  top: 8px;
  right: 8px;

  background: rgba(0,0,0,0.6);
  color: #fff;

  font-size: 11px;
  padding: 4px 8px;

  border-radius: 6px;
  backdrop-filter: blur(6px);
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

/* TABLET */
@media (max-width: 992px) {
  .galeri-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeri-album {
    height: 120px;
  }
}
/* modal on home_galeri */

/* Background modal full */
.modal-galeri {
  background: radial-gradient(circle at top left, #0ea5e9, transparent),
              radial-gradient(circle at bottom right, #ec4899, transparent);
}
.modal-galeri .modal-content {
  background: linear-gradient(135deg, #0f172a, #1e1b4b, #831843);
  border: none;
  border-radius: 16px;
  overflow: hidden;
   animation: zoomIn 0.4s ease;
}

/* Blur effect (premium feel) */
.modal-galeri .modal-body {
  backdrop-filter: blur(8px);
  padding: 40px 20px;
}

/* Image */
#galeriPreview {
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  transition: 0.3s;
}

/* tombol navigasi */
.nav-galeri {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 50px;
  height: 50px;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 28px;

  backdrop-filter: blur(6px);
  transition: 0.3s;
}

/* posisi */
.nav-galeri.prev {
  left: 20px;
}

.nav-galeri.next {
  right: 20px;
}

/* hover */
.nav-galeri:hover {
  background: linear-gradient(135deg, #0ea5e9, #ec4899);
  transform: translateY(-50%) scale(1.1);
}

/* efek glow halus */
.modal-galeri .modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
}
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* responsive */
@media (max-width: 768px) {
  .nav-galeri {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* tombol close */
.close-galeri {
  position: absolute;
  top: 15px;
  right: 15px;

  width: 40px;
  height: 40px;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.1);
  color: #fff;

  font-size: 22px;
  line-height: 1;

  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: 0.3s;
}

/* hover efek */
.close-galeri:hover {
  background: linear-gradient(135deg, #0ea5e9, #ec4899);
  transform: scale(1.1);
}