/* Custom styles that complement Tailwind */

/* Ensure no layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #047857;
    color: #fefdf8;
}

/* Geometric shape animations */
@media (prefers-reduced-motion: no-preference) {
    .geo-circle,
    .geo-square {
        animation: float 6s ease-in-out infinite;
    }
    
    .geo-square {
        animation: rotate 10s linear infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
    }
    
    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .geo-circle,
    .geo-square {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    .geo-circle,
    .geo-square,
    .pattern-dots {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
