/* Custom styles for Ginnies Bakery */

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

/* Animation for hero */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Subtle line animations */
@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

.line-expand {
    animation: lineExpand 0.8s ease-out forwards;
}

/* Mobile menu transition */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #6A0D0D;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6A0D0D;
}
