/* Custom styles for Avellaneda Pharmacy & Discount */

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

/* Scroll reveal base - content is always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animation only applies when JS is enabled and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(42, 21, 30, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero parallax-like effect */
#hero {
    background-attachment: fixed;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8b4d63;
}

/* Button hover effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.3);
}

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

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

/* Decorative elements */
.divider-amber {
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

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

/* Print styles */
@media print {
    #navbar, #mobile-menu-btn, .scroll-reveal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
