/* Custom styles that complement Tailwind */

/* Ensure smooth rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #059669;
    color: white;
}

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

/* Print styles */
@media print {
    #navbar, #hamburger, .blob, .reveal {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .service-card, .img-zoom {
        transition: none !important;
    }
    .blob {
        animation: none !important;
    }
    html {
        scroll-behavior: auto !important;
    }
}

/* Mobile responsiveness tweaks */
@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* Tablet breakpoints */
@media (min-width: 768px) and (max-width: 1023px) {
    .service-card {
        padding: 1.5rem;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #059669;
    }
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: auto;
        padding: 8rem 0;
    }
}
