/* Custom styles for Hair Style by Ashley */

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

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Button hover effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Selection color */
::selection {
    background-color: #99f6e4;
    color: #134e4a;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery hover effects */
.gallery-item {
    transition: transform 0.5s ease;
}

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

/* Print styles */
@media print {
    nav, #contact-form, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}
