/* Custom styles for Dickinson Donut */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5edd8;
}
::-webkit-scrollbar-thumb {
    background: #9cc188;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #72a157;
}

/* Selection color */
::selection {
    background: #9cc188;
    color: #121d0e;
}

/* Hero image animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}
.floating-card-2 {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .floating-card-1,
    .floating-card-2 {
        animation: none;
    }
    img {
        transition: none;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #72a157;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Subtle pattern for cream sections */
.bg-cream-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(62, 102, 48, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}
