/* Custom styles supplementing Tailwind CSS */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Selection color */
::selection {
    background-color: #064e3b;
    color: #fdfcf8;
}

/* Subtle gradient on hero background */
#hero {
    background: linear-gradient(180deg, #fdfcf8 0%, #f0fdf4 100%);
}

/* Card shadow on hover */
.service-card {
    box-shadow: 0 1px 3px rgba(6, 78, 59, 0.06);
}

.service-card:hover {
    box-shadow: 0 12px 32px rgba(6, 78, 59, 0.12);
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #059669;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Image lazy load fade-in */
img[loading="lazy"] {
    transition: opacity 0.5s ease;
}

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