/* Menggunakan font Roboto sebagai default untuk body/teks biasa */
body {
    font-family: 'Roboto', sans-serif;
    /* Menyembunyikan overflow-x untuk mencegah scrollbar horizontal saat animasi */
    overflow-x: hidden;
}
/* Menggunakan font Poppins untuk semua judul */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Poppins', sans-serif;
}
/* Warna identitas produk */
.identity-color {
    color: #1E2188;
}
.bg-identity-color {
    background-color: #1E2188;
}
.border-identity-color {
    border-color: #1E2188;
}
.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
}

/* Filter untuk mengubah logo di footer menjadi putih */
.footer-logo-white {
    filter: brightness(0) invert(1);
}
/* Custom Swiper Styles */
.swiper-button-next, .swiper-button-prev {
    color: #1E2188;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: all 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #1E2188;
    color: #fff;
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}
.inspiration-slider .swiper-slide {
    width: 80%; /* Lebar slide pada mobile */
}
@media (min-width: 768px) {
    .inspiration-slider .swiper-slide {
        width: 308px; /* Lebar slide pada web */
    }
}

/* ===== Styles for About Us Page (from previous update) ===== */

/* Style untuk Tim Kami (Single Photo) */
#our-team img {
    /* Pastikan gambar tim responsif dan terlihat bagus */
    max-width: 100%;
    height: auto;
    display: block; /* Menghilangkan spasi ekstra di bawah gambar */
    margin-left: auto;
    margin-right: auto;
}

/* ===== NEW: Styles for Products Page (Perbaikan Tampilan) ===== */

/* Filter Buttons */
.filter-btn {
    background-color: #e0e0e0;
    color: #4a4a4a;
    border: 1px solid #d0d0d0;
    padding: 0.5rem 1.5rem; /* Menjamin padding */
    border-radius: 9999px; /* Menjamin rounded-full */
    font-size: 0.875rem; /* Menjamin text-sm */
    font-weight: 500; /* Menjamin font-medium */
    transition: all 0.3s ease;
    cursor: pointer; /* Menambahkan kursor pointer */
    white-space: nowrap; /* Mencegah teks patah */
}
.filter-btn:hover {
    background-color: #c0c0c0; /* Sedikit lebih gelap untuk hover */
    color: #333; /* Memastikan warna teks terlihat */
}
.filter-btn.active-filter-btn {
    background-color: #1E2188;
    color: #fff;
    border-color: #1E2188;
}
.filter-btn.active-filter-btn:hover {
    background-color: #16196b;
}

/* Product Card */
.product-card {
    background-color: #fff;
    border-radius: 0.5rem; /* rounded-md */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.product-card img {
    width: 100%;
    height: 200px; /* Fixed height for product images */
    object-fit: cover;
}

/* Pagination Buttons */
.pagination-btn {
    min-width: 40px; /* Memastikan lebar konsisten */
    height: 40px; /* Memberikan tinggi tetap untuk kerapian */
    display: flex; /* Menggunakan flexbox untuk memusatkan teks */
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 500;
    border-radius: 0.375rem; /* rounded-md */
    background-color: #e0e0e0; /* bg-gray-200 */
    color: #4a4a4a; /* text-gray-700 */
    transition: all 0.2s ease;
    cursor: pointer; /* Menambahkan kursor pointer */
}
.pagination-btn:hover:not(:disabled) {
    background-color: #c0c0c0; /* hover:bg-gray-300 */
}
.pagination-btn.active-page {
    background-color: #1E2188;
    color: #fff;
}
.pagination-btn.active-page:hover {
    background-color: #16196b;
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f0f0f0; /* Warna lebih terang saat disabled */
    color: #999;
}

/* NEW: Gaya untuk tautan navigasi aktif */
.nav-link.active {
    color: #1E2188 !important; /* Warna identitas produk */
    font-weight: 500 !important; /* Lebih tebal */

}

.whatsapp-float {
    /* --- Posisi dan Ukuran --- */
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 15px;
    right: 15px;
    z-index: 1000;

    /* --- Tampilan Visual --- */
    background: linear-gradient(135deg, #1E2188, #35389e);
    color: #FFF;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); /* Bayangan yang lebih halus */
    
    /* --- Ikon Sempurna di Tengah (Metode Baru) --- */
    /* Menghapus flexbox dan menggunakan metode text-align */
    text-align: center;
    
    /* --- Animasi --- */
    transition: all 0.3s ease;
    animation: pulse 2s infinite; /* Animasi berdenyut */
}

/* Efek saat di-hover (untuk desktop jika suatu saat ingin ditampilkan) */
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1); /* Sedikit terangkat dan membesar */
    color: #FFF;
    animation: none; /* Hentikan animasi denyut saat di-hover */
}

/* Mengatur ukuran dan posisi ikon agar pas */
.whatsapp-float i {
    font-size: 32px;
    /* PERBAIKAN: Menengahkan ikon secara vertikal dengan line-height */
    line-height: 64px; /* Nilai ini harus sama dengan height dari .whatsapp-float */
}

/* Keyframes untuk animasi berdenyut */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(32, 91, 218, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
