/* Custom styles for Botanica Cubana Oshun */

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

/* Navbar transition */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Scroll reveal animations - only for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Product card hover effect */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Custom selection color */
::selection {
    background: #305023;
    color: #fdfcf8;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #52833a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Map container */
iframe {
    filter: saturate(0.8) contrast(1.05);
}

/* Subtle gradient on product cards */
.bg-cream-50 {
    background-color: #fdfcf8;
}

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

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

/* Remove default input styles for form inputs if added later */
input, textarea {
    border-radius: 0.5rem;
    border: 1px solid #e3ecd3;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: inherit;
    font-size: 0.9375rem;
    color: #1f3317;
    background: #fdfcf8;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #52833a;
    box-shadow: 0 0 0 3px rgba(82, 131, 58, 0.15);
}

input::placeholder, textarea::placeholder {
    color: #9dc182;
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu-btn,
    .animate-bounce {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
