/* Custom styles and overrides */

:root {
    --terracotta-500: #e65528;
    --terracotta-600: #d1401a;
    --sand-100: #faf5e9;
    --sand-200: #f4e8cc;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Float animations */
@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;
}

/* Scroll reveal animations - progressive enhancement */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar styles */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Card hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

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

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

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

/* Selection color */
::selection {
    background: #f9c4b2;
    color: #3d1209;
}
