/* Custom styles for Mrs. C's Village Scoop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f9f5f7;
}
::-webkit-scrollbar-thumb {
    background: #d4b8c8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c091a8;
}

/* Selection color */
::selection {
    background: #e8d9e3;
    color: #522e3c;
}

/* Navbar scroll effect */
.navbar.scrolled #nav-bg {
    opacity: 1;
}

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

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll.stagger-1 { transition-delay: 0.1s; }
.animate-on-scroll.stagger-2 { transition-delay: 0.2s; }
.animate-on-scroll.stagger-3 { transition-delay: 0.3s; }

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #a86d87;
    outline-offset: 2px;
}

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