/* Custom styles for Savanna Lorraine Beauty */

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

/* Service card hover effect */
.service-card {
    transform: translateY(0);
}

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

/* Gallery item hover */
.gallery-item {
    cursor: pointer;
}

/* Mobile navigation active state */
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #3EC5B0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3EC5B0;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .service-card:hover,
    .gallery-item img:hover,
    a:hover {
        transform: none;
    }

    .service-card {
        transition: none;
    }

    .gallery-item img {
        transition: none;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #0F2B4C;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0C2340;
}

/* Selection color */
::selection {
    background: #3EC5B0;
    color: #0F2B4C;
}
