/* Custom styles for Baker's Service Center */

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

/* Custom font loading */
@font-face {
    font-family: 'Chomsky';
    src: url('https://fonts.googleapis.com/css2?family=Chomsky&display=swap');
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Service card hover effect */
.group:hover .bg-white {
    transform: scale(1.1);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Hero image gradient overlay */
.hero-gradient {
    background: linear-gradient(to bottom, rgba(128, 0, 32, 0.1), rgba(128, 0, 32, 0.3));
}

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

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

::-webkit-scrollbar-thumb {
    background: #800020;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #580016;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print styles */
@media print {
    nav, button, form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
