/* Custom styles beyond Tailwind */

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

/* Selection color */
::selection {
    background: #ff6228;
    color: #ffffff;
}

/* Body background gradient */
body {
    background-color: #0d0d14;
}

/* Ensure hero section doesn't get cut off */
section {
    position: relative;
}

/* Improve image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Subtle hover lift for cards */
.group:hover {
    transform: translateY(-2px);
}

.group {
    transition: transform 0.3s ease;
}

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

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ff6228;
    transition: width 0.3s ease;
}

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee {
        animation: none;
    }
    .hero-img-wrap {
        animation: none;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}
