/* Shared site styles — SeniorJointFit */

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.hero-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.exercise-card,
.listing-card,
.value-card {
    transition: all 0.3s ease;
}

.exercise-card:hover,
.listing-card:hover,
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: #3b82f6;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.cross-link {
    color: #2563eb;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.cross-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-bar {
    transition: width 1s ease-in-out;
}

/* Fullscreen mobile menu — keep outside blurred/sticky parents */
#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #fff;
    overflow-y: auto;
    display: none;
}

#mobile-menu.is-open {
    display: block;
}

@media (min-width: 768px) {
    #mobile-menu,
    #mobile-menu.is-open {
        display: none !important;
    }
}
