/* Custom styles for Lilly's Panaderia */

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

/* Custom selection color */
::selection {
    background-color: #8FD4B0;
    color: #061A26;
}

/* Navbar transition states */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(13, 27, 42, 0.08);
}

.navbar-scrolled .nav-text {
    color: #0D1B2A !important;
}

.navbar-scrolled .nav-link {
    color: #345C6C !important;
}

.navbar-scrolled .mobile-nav-link {
    color: #345C6C !important;
}

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s 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; }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #8FD4B0;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Subtle hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.12);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #8FD4B0, #5FBF8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(13, 27, 42, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}
