/* Custom styles for Upscale Nails & Spa */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(192, 77, 30, 0.15);
    color: #2c2420;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    max-height: 420px;
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8d9c4;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
    color: #c04d1e;
    padding-left: 0.5rem;
}

/* Service card hover */
.service-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

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

/* Gallery hover */
.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Button focus */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #c04d1e;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .gallery-item img {
        transition: none;
    }
    .gallery-item:hover img {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .btn-primary, #contact-form, #mobile-menu {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
