/* Additional custom styles beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

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

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

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

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Prevent horizontal scroll on mobile */
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Print styles */
@media print {
    .navbar, .mobile-menu, .mobile-menu-overlay, .marquee-track {
        display: none !important;
    }
    
    .hero-gradient {
        background: #065f46 !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
    
    .service-card, .testimonial-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
    }
    
    a[href^="tel:"]::after,
    a[href^="mailto:"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #6b7280;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        min-height: 100vh;
    }
    
    .img-editorial {
        border-radius: 0 !important;
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .hero-gradient h1 {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }
}
