/* Custom styles for La Niña de Lina */

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

/* Sidebar navigation */
.sidebar {
    width: 16rem;
    transition: transform 0.3s ease;
}

/* Active nav link */
.nav-link.active {
    background: rgba(20, 184, 166, 0.2);
    color: #5eead4;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile menu button */
.mobile-menu-btn {
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #0d9488;
}

/* Mobile menu */
#mobileMenu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

#mobileMenu.open {
    transform: translateX(0);
}

/* Section animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product card hover effect */
.group:hover img {
    transform: scale(1.1);
}

/* Input focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
}
