/* Custom styles and animations */

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

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

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

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

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

/* Navigation link underline animation */
.nav-link {
    position: relative;
}

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

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

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

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

/* Hero fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Collection card hover effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Button press effect */
button, a {
    transition: all 0.2s ease;
}

button:active, a:active {
    transform: scale(0.98);
}

/* Input focus ring animation */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.2);
}

/* Floating shapes parallax */
@media (prefers-reduced-motion: no-preference) {
    .animate-float,
    .animate-float-delayed {
        animation-play-state: running;
    }
}

/* Print styles */
@media print {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
}
