/* Custom styles for Meek's Pastry Shop */

/* Smooth focus outlines */
a:focus-visible, button:focus-visible {
    outline: 2px solid #7B2D3B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #fce4e8;
    color: #5c1f2c;
}

/* Navbar transition */
.nav-scrolled {
    background-color: rgba(255, 252, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

.nav-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Custom button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
    background-color: #fde8da;
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(123, 45, 59, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Card image zoom on hover */
.card-hover .overflow-hidden img {
    transition: transform 0.5s ease;
}
.card-hover:hover .overflow-hidden img {
    transform: scale(1.05);
}

/* Floating animation adjustments for different sizes */
.animate-float {
    animation-duration: 4s;
}
.animate-float-slow {
    animation-duration: 5s;
}
.animate-float-reverse {
    animation-duration: 3.5s;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
    padding: 0.75rem 0;
}

/* Scroll padding for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

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