/* Custom styles for Best Choice Wholesale Soaps */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #10B981;
}

/* Navigation active state */
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #5EEAD4;
    transition: width 0.3s ease;
    margin-top: 2px;
}

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

/* Mobile nav link */
.mobile-nav-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.mobile-nav-link:hover {
    padding-left: 1rem;
    color: #5EEAD4;
}

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

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

/* Stagger animation delays */
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
.fade-in-delay-5 { animation-delay: 0.5s; }

/* Pulse animation for hero badge */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #5EEAD4;
    animation: pulse-ring 1.5s ease-out infinite;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2);
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Card hover lift */
.group:hover {
    transform: translateY(-4px);
}

/* Gradient text fallback */
.text-transparent {
    background-clip: text;
    -webkit-background-clip: text;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
}

/* Intersection observer animations */
.observe {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.observe-delay-1 { transition-delay: 0.1s; }
.observe-delay-2 { transition-delay: 0.2s; }
.observe-delay-3 { transition-delay: 0.3s; }
.observe-delay-4 { transition-delay: 0.4s; }

/* Print styles */
@media print {
    nav, #mobile-menu-btn, button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
