/* Additional custom styles beyond Tailwind */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: rgba(13, 148, 136, 0.2);
    color: #0f766e;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-teal-900 {
        background: #134e4a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary,
    .bg-teal-600 {
        border: 2px solid ButtonText;
    }
}

/* Reduced motion - ensure content is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .animate-float {
        animation: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .card-hover:hover {
        transform: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }
    
    .img-hover:hover {
        transform: none;
    }
}

/* Large screen adjustments */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .hero-grid {
        gap: 1.5rem;
    }
    
    .font-serif.text-5xl {
        font-size: 2.5rem;
    }
}
