/* Custom styles for Once A Day Desserts */

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

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

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

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

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

/* Selection color */
::selection {
    background: #a7f3d0;
    color: #0f172a;
}

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

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

/* Hover effects for images */
img {
    transition: transform 0.5s ease;
}

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}

/* Asymmetric grid adjustments */
@media (max-width: 1023px) {
    .lg\:col-start-8 {
        grid-column-start: auto;
    }
    
    .lg\:col-span-5 {
        grid-column-span: auto;
    }
}

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