/* Custom Styles for Martie Roark Manicurist */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden for JS enhancement, but visible if JS fails via prefers-reduced-motion or default state */
}

@media (prefers-reduced-motion: no-preference) {
    .animate-fade-in-up {
        animation: fadeInUp 0.8s ease-out forwards;
    }
}

/* Ensure content is visible by default for accessibility/no-JS */
@supports not (animation: fadeInUp 0.8s ease-out forwards) {
    .animate-fade-in-up {
        opacity: 1;
        transform: none;
    }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

.animate-spin-slow {
    animation: spinSlow 12s linear infinite;
}

/* Typography Adjustments */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

p, span, a, button, input, textarea, select {
    font-family: 'Montserrat', sans-serif;
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 2px rgba(46, 77, 60, 0.2);
}

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

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

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

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