/* Custom styles for After Effects Styling Salon */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reveal animations for scroll (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #ff7f6e;
}

/* Selection color */
::selection {
    background: #ff7f6e;
    color: #ffffff;
}

/* Focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ff7f6e;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal.hidden {
        opacity: 1;
        transform: translateY(0);
    }
    
    img,
    .group:hover img {
        transition: none;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .reveal {
        display: none !important;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
    }
    
    .floating-card {
        display: none;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 4.5rem;
    }
}
