/* Custom styles that extend beyond Tailwind */

/* Ensure smooth rendering on all devices */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background: #99f6e4;
    color: #042f2e;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
}

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

/* Ensure navbar doesn't overlap content */
#hero {
    padding-top: 0;
}

/* Map container responsive */
iframe {
    border-radius: 0 0 1.5rem 1.5rem;
}

/* Subtle entrance for hero elements (no JS required) */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero > .relative z-10 > div {
    animation: fadeSlideUp 0.8s ease-out both;
}

#hero > .relative z-10 > div > div:nth-child(2) {
    animation-delay: 0.15s;
}

#hero > .relative z-10 > div > div:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero > .relative {
    animation: fadeSlideUp 0.8s ease-out both;
}

#hero > .relative > div:nth-child(1) {
    animation-delay: 0.1s;
}

#hero > .relative > div:nth-child(2) {
    animation-delay: 0.2s;
}

/* Print styles */
@media print {
    nav, #mobile-menu, .reveal { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}
