/* Custom styles that complement Tailwind */

/* Smooth scroll padding for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: #5eead4;
    color: #0f766e;
}

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

/* Subtle gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom image shimmer loading */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Print styles */
@media print {
    .phone-float,
    .hamburger,
    .mobile-menu {
        display: none !important;
    }
    nav {
        position: static !important;
        background: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion */
@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 {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
    }
    .btn-outline {
        border-width: 3px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    .testimonial-card:hover {
        border-color: #e2e8f0;
        box-shadow: none;
    }
}

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