/* Additional custom styles for Organic Pizza Company */

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

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

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

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

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

/* Selection color */
::selection {
    background: #f59e0b;
    color: #30181e;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

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

/* Floating animation for hero cards */
.hero-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.hero-card:nth-child(2) {
    animation: float 6s ease-in-out infinite 1.5s;
}

.hero-card:nth-child(3) {
    animation: float 6s ease-in-out infinite 3s;
}

.hero-card:nth-child(4) {
    animation: float 6s ease-in-out infinite 4.5s;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .nav-scrolled,
    .mobile-menu,
    .menu-backdrop {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-card {
        break-inside: avoid;
    }
}
