/* Custom styles for Echo Portfolio */

/* Skill progress bars */
.skill-progress {
    width: 0%;
    transition: width 1s ease;
}

/* Details/summary styling */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary::after {
    content: "−";
    transform: rotate(0deg);
}

details summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: normal;
    transition: transform 0.2s ease-out;
}

.open\:rotate-45[open] summary::after {
    transform: rotate(45deg);
}

details[open] summary::after {
    transform: rotate(45deg);
}

/* Navbar glass morphism effect */
.glass-nav {
    background: rgba(74, 62, 56, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(91, 79, 72, 0.5);
}

/* Animated nav indicator */
.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #E07A5F, #3D87A6, #E07A5F);
    background-size: 200% 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hover underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E07A5F, #3D87A6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Pulse animation for status */
@keyframes softPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.pulse-dot {
    animation: softPulse 1.5s ease-in-out infinite;
}

/* Mobile menu link styles */
.nav-link-mobile {
    position: relative;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}