/* Custom styles that complement Tailwind */

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

/* Ensure all SVG icons inherit stroke properly */
svg {
    flex-shrink: 0;
}

/* Prevent image layout shift */
img {
    max-width: 100%;
    height: auto;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .float-anim,
    .float-anim-reverse,
    .pulse-glow {
        animation: none !important;
    }
}

/* Print styles */
@media print {
    nav,
    .marquee-track,
    .geo-circle,
    .geo-square,
    .geo-triangle,
    .coral-pattern {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
