/* Custom styles that extend beyond Tailwind */

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

/* Selection color */
::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f1f5f9;
}

/* Subtle grain texture overlay for hero */
.hero-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Ensure nav sits above hero overlay */
#navbar {
    z-index: 50;
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: 'Inter', system-ui, sans-serif;
}

/* Parallax-like subtle movement for hero image */
@media (prefers-reduced-motion: no-preference) {
    .hero-image-col img {
        transition: transform 0.3s ease-out;
    }
}

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

/* Print styles */
@media print {
    nav, .mobile-menu, .menu-overlay, #contactForm, .success-msg { display: none !important; }
    body { background: white; color: black; }
    .hero-grid { min-height: auto; }
}
