/* Custom styles that complement Tailwind */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #ccfbf1;
    color: #134e4a;
}

/* Body scroll padding for fixed nav */
body {
    padding-top: 0;
}

/* Ensure hero image doesn't overflow on small screens */
.hero-grid > div:first-child {
    min-height: 50vh;
}

/* Subtle parallax-like effect for floating card */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Only animate if user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .absolute.bottom-8.left-8.z-20 {
        animation: float 4s ease-in-out infinite;
    }
}

/* Image loading placeholder */
img {
    background-color: #e2e8f0;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #mobile-overlay { display: none !important; }
    body { color: #000; background: #fff; }
    .reveal { opacity: 1 !important; transform: none !important; }
}
