/* Custom Styles for The Ice Cream Shoppe */

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

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Thin Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #E8F5E9;
}

::-webkit-scrollbar-thumb {
    background: #0A192F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a2d4a;
}

/* Selection Color */
::selection {
    background: #0A192F;
    color: #E8F5E9;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(232, 245, 233, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 1px 0 rgba(10, 25, 47, 0.05);
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Button Focus States */
button:focus,
a:focus {
    outline: 2px solid #0A192F;
    outline-offset: 2px;
}
