/* Custom Styles for Andy D. Nails */

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

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

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

::-webkit-scrollbar-thumb {
    background: #2e5e36;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d3d23;
}

/* Service Card Hover Effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Mobile Menu Transitions */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Form Focus States */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(46, 94, 54, 0.1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .gallery-item img,
    .mobile-link {
        transition: none;
        animation: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .gallery-item img:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .gallery-item {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
