/* Custom styles for Cafe Venie's */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #c92548;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a51635;
}

/* Selection color */
::selection {
    background: #c92548;
    color: white;
}

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(255, 248, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(165, 22, 53, 0.1);
}

/* Fade-in animations for below-fold sections */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-section {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .fade-in-section.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Image hover zoom container */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure all interactive elements are keyboard accessible */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c92548;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
#mobile-menu.open {
    max-height: 500px;
}

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