/* Google Fonts: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background Ambient Glow */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    border-radius: 50%;
}

.dark .bg-glow {
    background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, rgba(11,17,32,0) 70%);
}

/* Hamburger Menu Animation */
.hamburger-line {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.hamburger-line:nth-child(1) {
    transform: translateY(8px);
}

.hamburger-line:nth-child(3) {
    transform: translateY(-8px);
}

#mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(0);
}

#mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(0);
}

/* Mobile Menu Slide Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#mobile-menu.visible {
    max-height: 500px;
    opacity: 1;
}

/* Progress Bar Animation (Skills) */
.skill-bar {
    background-color: #e2e8f0;
    border-radius: 9999px;
    height: 6px;
    overflow: hidden;
}

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

.skill-progress {
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    height: 100%;
    border-radius: 9999px;
    transition: width 1.2s ease-out;
    width: 0;
}

.skill-progress.animate {
    width: var(--proficiency);
}

/* Timeline Styles (Experience) */
.timeline-item {
    position: relative;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.25rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #2563EB;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #2563EB;
}

.dark .timeline-item::before {
    border-color: #0B1120;
}

.timeline-divider {
    position: absolute;
    left: -0.125rem;
    top: 1.5rem;
    bottom: -3rem;
    width: 0.25rem;
    background-color: #e0e7ff;
}

.dark .timeline-divider {
    background-color: #334155;
}
