/* Custom styles that complement Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: rgba(255, 107, 107, 0.3);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
    background: #3d3d5c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF6B6B;
}

/* Geometric accent animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.geometric-bg {
    animation: float 8s ease-in-out infinite;
}

.geometric-bg:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.geometric-bg:nth-child(3) {
    animation-delay: -5s;
    animation-duration: 12s;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .geometric-bg {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

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

/* Form select styling */
select option {
    background-color: #2d2d44;
    color: #fff;
}
