@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #f4f9fd;
    --bg-secondary: #edf4f9;
    --accent-blue: #0066cc;
    --accent-blue-hover: #0052a3;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
}

* {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #f4f9fd 0%, #eef5fa 50%, #e6eff7 100%);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Glassmorphism / Modern Card */
.modern-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover {
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.08);
    transform: translateY(-4px);
}

/* Tech Ring Spin */
@keyframes spin-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-ccw {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.animate-spin-cw {
    animation: spin-cw 25s linear infinite;
}

.animate-spin-ccw {
    animation: spin-ccw 15s linear infinite;
}

/* Timeline Custom Dot */
.timeline-dot {
    background-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
}

/* Hide scrollbar utility */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   DARK MODE FUTURISTIK DONGKER
   ========================================================================== */
.dark body {
    background: #030e21;
    color: #94a3b8;
}

.dark header {
    background-color: rgba(3, 14, 33, 0.9) !important;
    border-color: #0d1e3d !important;
}

.dark header nav a, .dark header button {
    color: #cbd5e1 !important;
}
.dark header nav a:hover {
    color: var(--accent-blue) !important;
}

.dark #home {
    background: linear-gradient(180deg, #030e21 0%, #071630 50%, #030e21 100%) !important;
}

.dark .bg-white {
    background-color: #071630 !important;
}

.dark .bg-white\/70,
.dark .bg-white\/80,
.dark .bg-white\/90 {
    background-color: rgba(7, 22, 48, 0.7) !important;
}

.dark .modern-card {
    background-color: #071630 !important;
    border-color: #0d1e3d !important;
}

.dark .modern-card:hover {
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.2);
}

.dark .bg-slate-50 {
    background-color: #051126 !important;
}

.dark .text-darkText {
    color: #ffffff !important;
}

.dark .text-slate-600, 
.dark .text-slate-700,
.dark .text-slate-500 {
    color: #94a3b8 !important;
}

.dark .text-slate-800 {
    color: #cbd5e1 !important;
}

.dark .border-slate-100, 
.dark .border-slate-200 {
    border-color: #0d1e3d !important;
}

.dark .shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2) !important;
}

.dark .border-slate-300 {
    border-color: #0d1e3d !important;
}

/* Specific elements adjustments */
.dark #mobile-drawer .bg-white {
    background-color: #030e21 !important;
}
.dark #mobile-drawer span, .dark #mobile-drawer a {
    color: #cbd5e1 !important;
}

.dark #project-modal-content {
    background-color: #071630 !important;
}
.dark #project-modal-content h3 {
    color: #ffffff !important;
}
.dark #project-modal-content span {
    color: #94a3b8 !important;
}

.dark #blog-modal-content {
    background-color: #071630 !important;
}
.dark #blog-modal-content h2 {
    color: #ffffff !important;
}
.dark #blog-modal-content p, .dark #blog-modal-content li {
    color: #94a3b8 !important;
}

.dark input, .dark textarea {
    background-color: #051126 !important;
    border-color: #0d1e3d !important;
    color: #ffffff !important;
}
