/* Custom styles that complement Tailwind */

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Custom focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 3px solid #5eead4;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure images don't overflow their containers */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom selection color */
::selection {
    background-color: #5eead4;
    color: #0a192f;
}

/* Hide scrollbar for mobile menu but keep functionality */
#mobile-menu::-webkit-scrollbar {
    width: 0;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .float-anim,
    .float-anim-delay {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav, .reveal, .float-anim, .float-anim-delay {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
