/* Custom styles for Serene Nails And Brows */

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

/* Body base */
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display font */
.font-display {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Line decoration */
.line-decoration {
    width: 60px;
    height: 1px;
    background: #72b88e;
}

/* Reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Service card hover */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon {
    transition: transform 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #72b88e;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
#mobile-menu {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Mobile links */
.mobile-link {
    transition: color 0.3s ease;
}

/* Image hover zoom */
aspect-square img,
.aspect-square img,
.aspect-\[4\/5\] img {
    transition: transform 0.5s ease;
}

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

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

::-webkit-scrollbar-track {
    background: #09102e;
}

::-webkit-scrollbar-thumb {
    background: #2d50b2;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a9b6a;
}

/* Selection color */
::selection {
    background: #72b88e;
    color: #09102e;
}
