/* Custom styles for Cotone */

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

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

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

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

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

/* Navbar scroll effect */
.nav-scrolled #nav-bg {
    opacity: 1;
}

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

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

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

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
    }
    
    .animate-fade-in-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
