/* Custom styles beyond Tailwind */

html {
    scroll-behavior: smooth;
}

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

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #f05a1a;
    outline-offset: 2px;
}

/* Subtle pattern for hero */
.gradient-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(240, 90, 26, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(45, 74, 111, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Card image hover */
.card-hover img {
    transition: transform 0.4s ease;
}
.card-hover:hover img {
    transform: scale(1.03);
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar scroll state */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
