/* Custom styles for Kuizinn Lakay Plus */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base transitions */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(165, 29, 60, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav.scrolled .menu-line {
    background: #f5f5f5;
}

/* Menu cards */
.menu-card {
    transform: translateY(0);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(165, 29, 60, 0.15);
}

/* Experience cards */
.exp-card {
    transform: translateY(0);
}

.exp-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 1;
}

/* Scroll reveal (progressive enhancement - only applies when JS runs) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Selection color */
::selection {
    background: rgba(165, 29, 60, 0.4);
    color: #fff;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #a51d3c;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1a1a2e 0%, #111118 100%);
}

/* Subtle pattern overlay for sections */
section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.015) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

section {
    position: relative;
}
