/* style.css - Central Custom CSS Styles for Kamala Kafle Portfolio */

/* Root Custom Properties */
:root {
    --neon-cyan: #00f2fe;
    --neon-pink: #ffb4aa;
    --primary-glow: rgba(255, 180, 170, 0.15);
    --secondary-glow: rgba(104, 211, 252, 0.15);
    --cyber-bg: #121414;
    --surface-glass: rgba(31, 32, 32, 0.6);
    --border-glass: rgba(255, 255, 255, 0.05);
}

/* Global Reset & Base Theme */
body {
    background-color: var(--cyber-bg);
    color: #e3e2e2;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Ambient Blobs */
body::before, body::after {
    content: "";
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -10;
    pointer-events: none;
    opacity: 0.2;
    transition: all 1s ease-in-out;
}

body::before {
    top: 10%;
    right: 5%;
    background: var(--neon-pink);
    animation: float-slow 15s infinite alternate;
}

body::after {
    bottom: 10%;
    left: 5%;
    background: #68d3fc;
    animation: float-slow 20s infinite alternate-reverse;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0d0e0f;
}

::-webkit-scrollbar-thumb {
    background: #ffb4aa;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffc2b8;
}

/* Custom Page Loading / Scroll Progress Bar */
.scroll-progress {
    height: 2.5px;
    background: linear-gradient(90deg, #ffb4aa, #68d3fc);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: width 0.1s ease-out;
    width: 0%;
    box-shadow: 0 0 10px rgba(255, 180, 170, 0.5);
}

/* Glassmorphic Navigation Bar */
.glass-nav {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(18, 20, 20, 0.8) !important;
}

/* Typography & Layout Helpers */
.hanging-indent {
    margin-left: -2rem;
}

@media (max-width: 768px) {
    .hanging-indent {
        margin-left: 0;
    }
}

/* Premium Custom Interactive Cards */
.hover-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.hover-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(255, 255, 255, 0.03), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hover-card:hover::before {
    opacity: 1;
}

.hover-card:hover {
    border-color: #ffb4aa !important;
    background-color: #0A0A0A !important;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 40px rgba(255, 180, 170, 0.07), 0 0 0 1px rgba(255, 180, 170, 0.1);
}

/* Active Scale Feedback on Clicks */
.active-press {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Floating Animation */
@keyframes float-slow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 40px) scale(1.1); }
    100% { transform: translate(-20px, -10px) scale(0.95); }
}

/* Icons styling adjustments */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Custom list layout highlights */
ul.list-disc li::marker {
    color: #ffb4aa;
}

/* Profile Picture Interactive Shake */
.profile-shake {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-shake:hover {
    animation: subtle-shake 0.5s ease-in-out infinite;
}

@keyframes subtle-shake {
    0%, 100% { transform: rotate(0deg) scale(1); }
    20% { transform: rotate(-1.5deg) scale(1.02); }
    40% { transform: rotate(1.2deg) scale(1.02); }
    60% { transform: rotate(-1.2deg) scale(1.02); }
    80% { transform: rotate(1.5deg) scale(1.02); }
}

