/* Custom styles that extend beyond Tailwind */

/* Floating animation for geometric shapes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(3deg); }
    66% { transform: translateY(8px) rotate(-2deg); }
}

.geo-shape {
    animation: float 8s ease-in-out infinite;
}

.geo-shape:nth-child(2) { animation-delay: -2s; animation-duration: 10s; }
.geo-shape:nth-child(3) { animation-delay: -4s; animation-duration: 7s; }
.geo-shape:nth-child(4) { animation-delay: -1s; animation-duration: 9s; }
.geo-shape:nth-child(5) { animation-delay: -3s; animation-duration: 11s; }
.geo-shape:nth-child(6) { animation-delay: -5s; animation-duration: 6s; }

/* Selection color */
::selection {
    background-color: rgba(29, 184, 126, 0.3);
    color: #F0FFF8;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #1DB87E;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* 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;
    }
    
    .reveal.hidden-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .geo-shape, #contactForm, .map-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-pattern {
        background: white !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    
    a:hover {
        text-decoration: underline;
    }
}

/* Landscape phone optimization */
@media (max-height: 500px) and (orientation: landscape) {
    nav {
        height: 60px;
    }
    
    #hero {
        min-height: auto;
        padding: 80px 0;
    }
}
