/* Custom Styles for Divine Desserts */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6fc4bd;
}

/* Selection Color */
::selection {
    background: #a8dcd8;
    color: #102a43;
}

/* Animation Delays for Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reduced Motion */
@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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Navbar Scroll State */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
}

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #6fc4bd;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    nav,
    .animate-float,
    .animate-float-delayed {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
