/* =========================================
1. GLOBAL & TYPOGRAPHY
   ========================================= */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #111;
    background-color: #fff;
    overflow-x: hidden; /* Mencegah scroll horizontal tidak sengaja */
    -webkit-font-smoothing: antialiased; /* Font lebih tajam di Mac */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Utilitas Kustom */
.tracking-wide {
    letter-spacing: 2px;
}

.fs-7 {
    font-size: 0.85rem;
}

/* =========================================
2. NAVBAR (Dark & Modern)
   ========================================= */
.navbar-logo-custom {
    max-height: 35px;
    width: auto;
    
    /* PENTING:
    - HAPUS baris filter di bawah jika logo Anda aslinya sudah PUTIH.
       - PAKAI baris ini jika logo Anda HITAM agar otomatis jadi putih. */
    filter: invert(1) brightness(200%); 
}

.navbar-nav .nav-link {
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
}

/* Efek Garis Bawah Bergerak (Hover) */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Efek Zoom Ikon TikTok & WA */
.hover-scale {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.2);
    color: #ddd !important;
}

/* =========================================
3. HERO SECTION
   ========================================= */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsif: besar di PC, pas di HP */
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 480px;
    line-height: 1.6;
}

.hero-image {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Bayangan lembut agar gambar 'pop' */
}

/* Tombol CTA (Call to Action) */
.btn-cta {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px); /* Naik sedikit saat di-hover */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =========================================
4. PRODUCT CARD
   ========================================= */
.product-card {
    background: #fff;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px); /* Efek melayang */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.product-card img {
    /* transition: opacity 0.3s ease; */
    border-bottom: 1px solid #f8f8f8;
}

/* =========================================
5. TESTIMONIALS (Lookbook Style)
   ========================================= */
.review-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* Wrapper Foto Agar Selalu Kotak (1:1) */
.review-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Rasio 1:1 */
    background-color: #f8f9fa;
}

.review-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge 'Verified Buyer' */
.verified-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #198754;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}

/* =========================================
6. FOOTER
   ========================================= */
/* Link Sosial Media (Bulat) */
.social-icon-link {
    width: 45px;
    height: 45px;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efek mantul */
}

.social-icon-link:hover {
    background-color: #fff;
    color: #000 !important;
    transform: translateY(-3px) scale(1.1);
    border-color: #fff !important;
}

/* Garis Pemisah Tipis */
hr.opacity-25 {
    opacity: 0.15 !important;
}

/* =========================================
7. CUSTOM BUTTON "SEE ALL"
   ========================================= */
.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* Jarak antara teks dan panah */
    padding: 16px 40px; /* Tombol dibuat besar agar mencolok */
    border: 2px solid #000; /* Border tebal tegas */
    color: #000;
    text-decoration: none;
    border-radius: 50px; /* Membuatnya lonjong (Pill shape) */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

/* Animasi saat Hover */
.btn-see-all:hover {
    background-color: #000; /* Latar berubah hitam */
    color: #fff; /* Teks berubah putih */
    transform: translateY(-3px); /* Tombol naik sedikit */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Bayangan muncul */
}

/* Animasi Panah */
.icon-arrow {
    transition: transform 0.3s ease;
}

.btn-see-all:hover .icon-arrow {
    transform: translateX(5px); /* Panah bergeser ke kanan saat hover */
}

/* Biar responsif di HP, ukuran font disesuaikan */
@media (max-width: 576px) {
    .btn-see-all {
        padding: 12px 30px;
        font-size: 0.9rem;
        width: 100%; /* Di HP tombol jadi lebar penuh agar mudah ditekan */
        justify-content: center;
    }
}

/* =========================================
8. HORIZONTAL SCROLL TESTIMONIALS
   ========================================= */

/* Wrapper agar bisa di-scroll ke samping */
.scrolling-wrapper {
    -webkit-overflow-scrolling: touch; /* Biar smooth di iPhone */
    padding-bottom: 20px; /* Ruang untuk bayangan */
    
    /* Hilangkan Scrollbar tapi tetap bisa scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

/* Hilangkan Scrollbar Chrome/Safari/Edge */
.scrolling-wrapper::-webkit-scrollbar { 
    display: none; 
}

/* Trik UX: Di HP, tampilkan sebagian kartu berikutnya agar user tahu bisa digeser */
@media (max-width: 768px) {
    .scrolling-wrapper .col-10 {
        flex: 0 0 85%; /* Lebar kartu 85% layar HP */
        max-width: 85%;
    }
}

/* Update cursor agar terlihat bisa digeser */
.scrolling-wrapper {
    cursor: grab; /* Ikon tangan terbuka */
    cursor: -webkit-grab;
}

.scrolling-wrapper.active {
    cursor: grabbing; /* Ikon tangan menggenggam saat diklik */
    cursor: -webkit-grabbing;
}

/* =========================================
PROTEKSI GAMBAR (ANTI-MALING)
   ========================================= */
img {
    /* KHUSUS IPHONE/IOS: Mematikan menu pop-up saat gambar ditahan lama */
    -webkit-touch-callout: none; 
    
    /* Mencegah gambar bisa di-drag ke tab baru atau desktop */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;

    /* Mencegah gambar bisa di-select/blok biru */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    
    /* PENTING: Jangan pakai 'pointer-events: none' sembarangan, 
       karena nanti Thumbnail produk tidak bisa diklik! */
}