/* Custom styles to supplement Tailwind */

/* Base font settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero geometric accent line animation */
@keyframes slideRight {
    0% { width: 0; }
    100% { width: 33%; }
}

.geo-stripe {
    animation: slideRight 1.5s ease-out forwards;
}

.geo-stripe:nth-child(2) {
    animation-delay: 0.3s;
}

/* Reveal animation base — content is visible by default, JS adds the animated state */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(32px);
}

/* Mobile menu animations */
#mobileMenu.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobileMenu.open .menu-line:nth-child(2) {
    opacity: 0;
}
#mobileMenu.open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Service card image zoom on hover */
.service-card img {
    transition: transform 0.5s ease;
}

/* Subtle parallax for hero decorative elements */
@media (prefers-reduced-motion: no-preference) {
    .geo-circle {
        will-change: transform;
    }
}

/* Ensure all interactive elements have proper focus states */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Map filter for dark theme */
iframe[src*="google.com/maps"] {
    border-radius: 0 0 1.5rem 1.5rem;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #fff;
}
