/* aset/css/style-landing.css */

html, body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'poppins', sans-serif;
  cursor: url('../images/astro-cursor.png'), auto;
}

.bg-kuning-siko{
  background-color: #fbc62c;
}
.bg-biru-siko{
  background-color: #006397;
}

#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.text-biru { color: #006397; }
.text-kuning { color: #fbc62c; }

.glightbox-clean .gprev,
.glightbox-clean .gnext {
  display: none !important;
}
.swiper-cube-shadow {
  opacity: 0.1 !important;
}

/* Product Display */
producthook {
  flex: 1 0 auto;
  margin: 15px auto 15px auto;
  border-radius: 0;
}
producthook.side-a { background-color: #006397; }
producthook.side-b { background-color: #fbc62c; }

/* Header Styles */
header.navbar {
  transition: all 0.5s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  border-bottom: 1px solid transparent;
}

/* Animated Header at Top */
.header-animated {
  position: relative;
  animation: changeColor 15s ease infinite;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes changeColor {
  0%   { background-color: rgba(30, 5, 5, 0.9); border-bottom-color: rgba(255, 50, 50, 0.3); }
  25%  { background-color: rgba(5, 5, 30, 0.9); border-bottom-color: rgba(50, 50, 255, 0.3); }
  50%  { background-color: rgba(20, 5, 30, 0.9); border-bottom-color: rgba(150, 50, 255, 0.3); }
  75%  { background-color: rgba(5, 20, 5, 0.9); border-bottom-color: rgba(50, 200, 50, 0.3); }
  100% { background-color: rgba(30, 5, 5, 0.9); border-bottom-color: rgba(255, 50, 50, 0.3); }
}

/* Header saat di-scroll */
.header-scrolled {
  animation: none !important;
  background-color: rgba(15, 15, 15, 0.65) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar-dark .nav-link, .navbar-dark .navbar-brand { position: relative; z-index: 2; }
.nav-link { color: #f0f0f0 !important; transition: color 0.3s ease; font-size: 0.85rem; padding: 0.5rem 1rem !important; }
.nav-link:hover { color: #ffc107 !important; transform: scale(1.1); }
.nav-link-bottom { color: #e4e4e4 !important; transition: color 0.3s ease; font-size: 0.85rem; }
.nav-link-bottom:hover { color: #ffc107 !important; transform: scale(1.1) !important; }
.nav-separator { color: rgba(255, 255, 255, 0.4); padding: 0.8rem 0 0 0; font-size: 0.9rem; user-select: none; color: #ffc107; }
.navbar-brand { font-weight: bold; transition: all 0.3s ease; }
.order-btn { background-color: rgba(245, 173, 12, 0.3); border-radius: 25px; padding: 0.65rem 1.2rem !important; transition: all 0.3s ease; }
.order-btn:hover { background: rgba(255, 255, 255, 0.1) !important; }
.slider-bg { width: 100%; top: 125px; left: 0px; position: absolute; height: 350px; background-color: #b5b5b5; opacity: 0.2; z-index: 80; }
.slider-container { width: 100%; max-width: 1200px; margin: 100px auto 0 auto; overflow: hidden; position: relative; border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.45); z-index: 90; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; cursor: grab; }
.slider-track img { width: 100%; flex-shrink: 0; user-select: none; }
.slider-indicators { position: absolute; bottom: 24px; width: 100%; display: flex; justify-content: center; gap: 8px; }
.dot { width: 10px; height: 10px; background-color: rgba(255, 255, 255, 0.6); border-radius: 50%; transition: background-color 0.3s; }
.dot.active { background-color: #fff; }
.footer-absolute { position: relative; bottom: 0px; left: 0; width: 100%; background-color: #333; color: white; padding: 20px 0; font-family: Arial, sans-serif; box-shadow: 0 -3px 8px rgba(0,0,0,0.5); z-index: 15; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; }
.footer-menu, .footer-social, .footer-map { flex: 1 1 300px; }
.footer-menu ul { list-style: none; padding: 0; }
.footer-menu ul li { margin-bottom: 8px; }
.footer-menu ul li a { color: #bbb; text-decoration: none; transition: color 0.3s; }
.footer-menu ul li a:hover { color: #0d6efd; }
.footer-social a { color: #bbb; margin-right: 15px; font-size: 24px; transition: color 0.3s; display: inline-block; }
.footer-social a:hover { color: #0d6efd; }
.footer-map iframe { width: 100%; height: 150px; border: none; border-radius: 8px; }
/* INI ADALAH ATURAN CSS YANG PALING PENTING UNTUK MOBILE */
@media(max-width: 768px) {
    .footer-container {
        flex-direction: column;
        justify-content: flex-start;
        gap: 25px;
    }
    .footer-menu, .footer-social, .footer-map {
        flex-grow: 0;
        flex-basis: auto;
    }
}
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; display: flex; align-items: center; background-color: #20913E; color: white; border-radius: 50px; padding: 6px 20px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); text-decoration: none; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; z-index: 1000; }
.whatsapp-float.show { transform: translateY(0); opacity: 1; }
.whatsapp-float:hover { background-color: #128C7E; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.whatsapp-text { font-family: 'Segoe UI', Roboto, sans-serif; font-weight: 600; font-size: 12px; white-space: nowrap; }
.kartun-wa-float { position: fixed; bottom: 20px; right: 16px; width: 160px; height: 160px; z-index: 999; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; pointer-events: none; }
.kartun-wa-float.show { transform: translateY(0); opacity: 1; }
.prime-color-bg-section { background-color: rgba(251, 198, 44, 1); color: #FFFFFF; }
.product-card { transition: transform 0.3s, box-shadow 0.3s; border-radius: 12px; overflow: hidden; }
.product-card:hover { transform: scale(1.03); box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
.product-image { height: 140px; object-fit: cover; }
.btn-beli { transition: background-color 0.3s; }
.btn-beli:hover { background-color: #0d6efd; color: white; }
.footer { flex-shrink: 0; background: #111; }
/* -- Perbaikan Foto Testimoni Bulat Sempurna -- */
.testimonial-img-container {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Membuat wadah menjadi lingkaran */
    overflow: hidden;    /* Menyembunyikan bagian gambar yang keluar dari lingkaran */
    margin-bottom: 1rem; /* Memberi jarak ke teks di bawahnya */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testimonial-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar mengisi lingkaran tanpa distorsi (cropping) */
    object-position: center; /* Fokus pada tengah gambar */
}
/* -- Preloader -- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002c40; /* Warna biru gelap agar serasi dengan tema */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo img {
    max-width: 200px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Animasi opacity naik-turun */
@keyframes pulse {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}
/* -- Partner Logo Marquee -- */
.partner-section {
    background-color: #fbc62c; /* Warna kuning Siko */
    padding: 40px 0;
    overflow: hidden;
}
.partner-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    animation-play-state: running;
}
.partner-marquee:hover {
    animation-play-state: paused;
}
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
}
.partner-logo img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}
.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* === TAMBAHKAN KODE BARU DI BAWAH INI === */
.partner-link {
    display: flex;
    flex-direction: column; /* Membuat gambar dan nama tersusun vertikal */
    align-items: center;
    text-decoration: none;
    gap: 8px; /* Jarak antara logo dan nama */
}
.partner-name {
    font-size: 0.85em;
    color: #333; /* Warna teks gelap agar kontras di atas kuning */
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap; /* Mencegah nama terpotong jadi 2 baris */
}
.partner-link:hover .partner-name {
    color: var(--primary-color); /* Ubah warna teks saat di-hover */
}
/* === AKHIR KODE BARU === */

@keyframes marquee {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

/* -- Our Team Section -- */
.team-section {
    padding: 60px 0;
    background-color: #fff; /* Memberi latar belakang putih agar lebih rapi */
}

.team-swiper-container {
    width: 100%;
}

.team-swiper-slide {
    width: 280px; /* Lebar setiap kartu tim */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.team-swiper-slide .team-img {
    width: 100%;
    height: 300px; /* Tinggi gambar dibuat tetap */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.team-swiper-slide .team-info {
    padding: 20px;
    text-align: center;
}

.team-swiper-slide .team-info h5 {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: var(--primary-color);
}

.service-card-with-image {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 0;
    border-radius: 10px;
}
.service-card-with-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}
.service-card-with-image .card-img-top {
    height: 200px;
    object-fit: cover;
}