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

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

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

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 252, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Smooth scroll offset for anchored links */
html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

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

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

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

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

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Ensure all images have smooth loading */
img {
    loading: lazy;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e85d26;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #f8d0b8;
    color: #732712;
}
