/* Custom Styles for Sunny's Donuts */

:root {
    --emerald-850: #064e3b;
    --emerald-950: #022c22;
    --cream-50: #FDFCF8;
}

body {
    background-color: var(--cream-50);
    color: var(--emerald-950);
}

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

/* Floating Animation for Hero Cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-delayed {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 7s ease-in-out infinite;
    animation-delay: 1s;
}

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

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

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

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

/* Navbar Transition */
.nav-scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Image Aspect Ratio Fixes */
img {
    max-width: 100%;
    height: auto;
}

/* Selection Color */
::selection {
    background-color: #d1fae5;
    color: #064e3b;
}
