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

@keyframes float-delay {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(45deg); }
}

@keyframes ring {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

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

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

.animate-ring {
    animation: ring 1s ease-in-out;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delay,
    .animate-ring {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

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

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

/* Selection Color */
::selection {
    background: #D65022;
    color: white;
}

/* Focus Styles */
*:focus-visible {
    outline: 3px solid #D65022;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    nav,
    #back-to-top,
    .animate-float,
    .animate-float-delay {
        display: none !important;
    }
    
    body {
        color: #000;
        background: white;
    }
}
