/* * =========================================================
 * TEMA KUSTOM BERKELAS - JURAGAN GHS
 * Desain bergaya Premium SaaS (Software as a Service)
 * =========================================================
 */

/* 1. Import Font Super Modern dari Google */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* 2. Import Kerangka Dasar Bootstrap 5 Langsung dari Server (Wajib) */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');

/* 3. Merombak Total Variabel Warna & Gaya Bawaan Bootstrap */
:root {
    --bs-font-sans-serif: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Warna Utama: Indigo/Ungu Kebiruan Premium */
    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
    
    /* Warna Latar Belakang & Teks */
    --bs-body-bg: #f8fafc;
    --bs-body-color: #334155;
    
    /* Radius Lengkungan yang Lebar */
    --bs-border-radius: 1rem;
    --bs-border-radius-lg: 1.5rem;
    --bs-border-radius-sm: 0.75rem;
}

/* =========================================================
 * PENYESUAIAN KOMPONEN (OVERRIDES)
 * ========================================================= */

/* Pengaturan Dasar Body */
body {
    font-family: var(--bs-font-sans-serif) !important;
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Semua Judul (H1-H6) Dibuat Lebih Tajam */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
}

/* --------------------------------------
 * KARTU / KOTAK (CARDS) - Bawaan Webkus
 * -------------------------------------- */
.card {
    border: 1px solid rgba(255,255,255,0.8) !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.06), inset 0 2px 5px rgba(255,255,255,0.5) !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
    overflow: hidden;
}

/* Efek Terangkat Saat Disentuh (Hover) */
.card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.12), inset 0 2px 5px rgba(255,255,255,0.5) !important;
}

/* --------------------------------------
 * TOMBOL (BUTTONS)
 * -------------------------------------- */
.btn {
    border-radius: 14px !important;
    font-weight: 700 !important;
    padding: 0.7rem 1.8rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    letter-spacing: 0.5px;
}

/* Tombol Utama (Beli/Checkout) */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35) !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.5) !important;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
}

/* --------------------------------------
 * KOLOM PENCARIAN & INPUT FORM
 * -------------------------------------- */
.form-control, .form-select {
    border-radius: 14px !important;
    border: 2px solid #e2e8f0 !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    background-color: #f8fafc !important;
    color: #334155 !important;
    transition: all 0.25s ease !important;
}

/* Efek Nyala Saat Kolom Diisi */
.form-control:focus, .form-select:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* --------------------------------------
 * HEADER / NAVBAR
 * -------------------------------------- */
.navbar, header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}

/* --------------------------------------
 * BADGE / LABEL HARGA
 * -------------------------------------- */
.badge {
    padding: 0.5em 0.8em !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}
.bg-primary {
    background-color: #4f46e5 !important;
}

/* Perbaikan khusus untuk foto profil bulat di Webkus */
img.rounded-circle {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    border: 4px solid #ffffff !important;
}
