/*
Theme Name: Indodigital Main Theme
Author: Indodigital Team
Description: Official Dark & Gold Theme for Indodigital SaaS Platform.
Version: 1.0
Text Domain: indodigital
*/

/* Core Colors */
:root {
    --gold: #d4af37;
    --gold-hover: #f1c40f;
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --lynk-green: #2ECC91;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: 'Lato', sans-serif; /* Diubah dari 'Inter' ke 'Lato' */
    margin: 0;
    line-height: 1.6;
}






@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(3, minmax(0, 2fr));
    }
}





* Reset Header untuk Halaman Dashboard */
.main-header {
   
    position: sticky !important;    /* Tidak melayang di atas konten */
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Pastikan konten dashboard tidak tertutup header yang fixed */
.dashboard-admin-wrapper {
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: #f4f7f6; /* Warna background dashboard yang lebih bersih */
    color: #333; /* Teks gelap agar mudah dibaca di admin */
}

/* PRODUK*/
.vts-modal { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(15, 23, 42, 0.6); 
    /* Gunakan z-index 10001 agar SweetAlert (biasanya 1060+) tetap bisa tampil di depan */
    z-index: 10001; 
    backdrop-filter: blur(5px); 
    overflow-y: auto; 
}
.vts-modal-content { 
    background: #fff; 
    width: 95%;  
    margin: 10px auto; 
    border-radius: 24px; 
    padding: 10px; 
    position: relative; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.2); 
}
.vts-gallery-section {
    width: 100%;
    background: #fff;
}

.vts-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.vts-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

/* Grid Layout identik dengan gambar */
.vts-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolom */
    gap: 0; /* Tanpa jarak antar gambar seperti di foto */
    width: 100%;
}

.vts-item {
    position: relative;
    height: 500px; /* Sesuaikan tinggi yang diinginkan */
    overflow: hidden;
}

.vts-img-container {
    width: 100%;
    height: 100%;
}

.vts-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay & Content */
.vts-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Gelap tipis di awal */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.4s ease;
}

.vts-inner-content {
    text-align: center;
    width: 80%;
    transition: transform 0.4s ease;
}

/* Logo Center */
.vts-center-logo {
    max-width: 150px;
    height: auto;
    filter: brightness(0) invert(1); /* Membuat logo jadi putih */
    margin-bottom: 15px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.vts-logo-placeholder {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
}

/* Hover Info (Hidden by Default) */
.vts-hover-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.vts-divider {
    width: 40px;
    height: 2px;
    background: #fff;
    margin: 15px auto;
}

.vts-item-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.vts-item-price {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.vts-btn-wa {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: #25d366;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* HOVER STATES */
.vts-item:hover .vts-bg-img {
    transform: scale(1.1);
}

.vts-item:hover .vts-overlay {
    background: rgba(0, 0, 0, 0.6); /* Lebih gelap saat hover */
}

.vts-item:hover .vts-hover-info {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .vts-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .vts-gallery-grid { grid-template-columns: 1fr; }
    .vts-item { height: 400px; }
}


/* PRODUK*/



/* TOAST NOTIFICATION STYLES */
#toast-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
.toast { 
    background: #1a1a1a; color: #fff; padding: 15px 25px; border-radius: 8px; 
    border-left: 4px solid #d4af37; margin-top: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex; align-items: center; gap: 12px; animation: slideIn 0.3s ease forwards;
}
.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }

@keyframes slideIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
/* Header Layout */
.nav-flex { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.header-right { display: flex; align-items: center; gap: 30px; }

/* Auth Buttons Styling */
.auth-buttons { display: flex; align-items: center; gap: 20px; }

.link-login {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}
.auth-box { 
    max-width: 450px; 
    margin: 0 auto; 
    background: #151515; 
    border-radius: 20px; 
    overflow: visible; /* Ubah dari hidden ke visible */
    box-shadow: 0 20px 60px rgba(0,0,0,0.7); 
}

.tab-content { 
    padding: 30px 40px 50px; /* Tambah padding bawah agar tombol punya ruang */
}

.btn-gold-full { 
    pointer-events: auto !important; /* Paksa tombol agar bisa menerima klik */
    cursor: pointer !important;
    display: block;
    width: 100%;
}
.link-login:hover { color: #d4af37; }

.btn-gold-header {
    background: #d4af37;
    color: #000;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.btn-gold-header:hover { background: #f1c40f; transform: translateY(-2px); }

.btn-dashboard {
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 7px 15px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}

.btn-logout {
   color: #000000;
    font-size: 13px;
    text-decoration: none;
    opacity: 0.8;
    font-weight: 800;
}
.btn-logout:hover { opacity: 1; text-decoration: underline; }
.btn-delete {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-delete:hover {
    background: #ef4444;
    color: #fff;
}
a { color: var(--gold); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--gold-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header Styling */
header {
   
    padding: 20px 0;
 
    position: sticky;
    top: 0;
    z-index: 1000;
      
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: var(--gold); text-transform: uppercase; }

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
}

.hero h1 { font-size: 48px; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }

.btn-primary {
    background: var(--gold);
    color: #000;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}