/* Custom Styles for Creviart Modern Design */

/* Hero Parallax Scroll Wrapper */
.parallax-wrapper { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; will-change: transform; }

/* Efek Ken Burns Slow Zoom Banner & Background Fit */
.swiper-slide .zoom-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #111; 
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1); transition: transform 12s ease-in-out;
}

/* FIX BACKGROUND 768-1024 (TABLET) */
@media (max-width: 767px) {
    .swiper-slide .zoom-bg { background-size: auto 100%; } 
}
@media (min-width: 768px) and (max-width: 1024px) {
    .swiper-slide .zoom-bg { background-size: cover; } 
}
@media (min-width: 1025px) {
    .swiper-slide .zoom-bg { background-size: 100% auto; } 
}
.swiper-slide-active .zoom-bg { transform: scale(1.15); }

/* Animasi Konten Slide Banner */
.slide-content h1, .slide-content h3 { opacity: 0; transform: translateY(30px); transition: all 1s ease; }
.swiper-slide-active .slide-content h1 { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.swiper-slide-active .slide-content h3 { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* Custom fit untuk background quote & counter */
.bg-fit-custom {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
@media (max-width: 767px) {
    .bg-fit-custom { background-size: auto 100%; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .bg-fit-custom { background-size: cover; }
}
@media (min-width: 1025px) {
    .bg-fit-custom { background-size: 100% auto; }
}

/* Overlay Hitam Hero Banner */
.hero-overlay { background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.08)); }

/* Floating Anim */
.float-hover:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

/* Nav Menu Animasi & Bold */
.nav-link { position: relative; transition: color 0.3s ease; }
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background-color: #1ABC9C; transition: width 0.3s ease-in-out;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: #1ABC9C !important; }
.nav-link::before { display: block; content: attr(data-text); font-weight: bold; height: 0; overflow: hidden; visibility: hidden; }

.hover-bg-green:hover { background-color: #1ABC9C !important; border-color: #1ABC9C !important; color: white !important;}
.text-hover-green:hover { color: #1ABC9C !important; }

/* Swiper Pagination */
.swiper-pagination-bullet { background-color: rgba(255,255,255,0.7) !important; width: 12px; height: 12px; }
.swiper-pagination-bullet-active { background-color: #1ABC9C !important; transform: scale(1.2); }
.testimonialSwiper .swiper-pagination-bullet-active { background-color: #1ABC9C !important; }

/* Hamburger Animation */
#mobile-menu-btn span { transition: all 0.3s ease-in-out; transform-origin: center; }
#mobile-menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
#mobile-menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Kustomisasi Fancybox */
.fancybox__slide { padding: 12px !important; }
.fancybox__content { 
    border-radius: 10px; 
    overflow: hidden; 
    transform: scale(1.2) !important; 
    transform-origin: center center;
    transition: transform 0.3s ease;
}

/* Sembunyikan default google translate widget seluruhnya */
.skiptranslate iframe, .goog-te-banner-frame.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0px !important; position: static !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }