/* =================================================================
    IMPORTS
================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =================================================================
    VARIABLES
================================================================== */
:root {
    --primary: #4f46e5;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
}

/* =================================================================
    GENERAL STYLES
================================================================== */
body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* =================================================================
    UTILITY CLASSES
================================================================== */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =================================================================
    COMPONENT STYLES
================================================================== */
.navbar-active {
    color: var(--primary) !important;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.timeline-item:not(:last-child) {
    padding-bottom: 2rem;
}

.timeline-item::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 20px;
    height: 100%;
    width: 2px;
    background: #e2e8f0;
}

.skill-bar {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* =================================================================
    DARK MODE STYLES
================================================================== */
body.dark {
    background-color: var(--dark);
    color: var(--light);
}

body.dark .bg-white {
    background-color: #1e293b;
}

body.dark .bg-gray-50 {
    background-color: #0f172a;
}

body.dark .text-slate-800 {
    color: var(--light);
}

body.dark .text-gray-600 {
    color: #94a3b8;
}

body.dark .text-gray-700 {
    color: #cbd5e1;
}

body.dark .text-gray-500 {
    color: #94a3b8;
}

body.dark nav {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
}

body.dark .timeline-item::after {
    background: #334155;
}

body.dark .skill-bar {
    background: #334155;
}

body.dark .border-gray-200 {
    border-color: #334155;
}

body.dark .hover\:bg-gray-200:hover {
    background-color: #334155;
}

body.dark .project-card {
    background-color: #0f172a;
    border: 1px solid #334155;
}

/* =================================================================
    MUSIC PLAYER STYLES
================================================================== */

.music-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

#music-player-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    width: 90%;
    max-width: 300px;
    height: 90%;
    max-height: 250px;
}

.body-no-scroll {
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}
