/* 
 * Nanas Donuts Custom Styles
 * Bold editorial aesthetic with terracotta and sand palette
 */

:root {
    --color-terra: #C05640;
    --color-sand: #F2E8D5;
    --color-cream: #FDFBF7;
    --color-bark: #3D2B2B;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-bark);
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Navbar Transitions */
.navbar-scrolled #nav-logo,
.navbar-scrolled a:not(.bg-nano-terra) {
    color: var(--color-bark);
    mix-blend-mode: normal;
}

.navbar-scrolled .bg-nano-terra {
    background-color: var(--color-bark);
}

.navbar-scrolled .bg-nano-terra:hover {
    background-color: var(--color-terra);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Focus States for Accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-terra);
    outline-offset: 4px;
    border-radius: 4px;
}

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

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-sand);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-terra);
}
