/* Custom styles for Annusca Aesthetics */

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

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Scroll reveal base styles — always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: none;
}

/* Enhanced reveal for browsers with JS and reduced-motion preference respected */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        animation: fadeInUp 0.7s ease-out forwards;
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(90, 23, 77, 0.08);
}

.nav-scrolled .nav-logo {
    color: #500724 !important;
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d97706;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

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

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

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

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    border-bottom-color: #d97706 !important;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #fce7f3 0%, #fef3c7 100%);
}

/* Selection color */
::selection {
    background: #9d174d;
    color: #fff;
}
