/* Custom styles that complement the inline styles and Tailwind */

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

/* Geometric accent lines */
.section-accent {
    position: relative;
}
.section-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0fbf92, #5fe8c5, #0fbf92);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Geometric background pattern for sections */
.geo-dots {
    background-image: radial-gradient(circle, rgba(15,191,146,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Hover lift for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #5fe8c5, #0fbf92);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar active state */
.nav-active {
    color: #5fe8c5 !important;
}

/* Selection color */
::selection {
    background: rgba(15, 191, 146, 0.3);
    color: #f0fdf9;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid #0fbf92;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .float-1, .float-2, .float-3 {
        animation: none;
    }
    .animate-marquee {
        animation: none;
    }
}

/* Wide screen adjustments */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Print styles */
@media print {
    nav, .animate-marquee, button, form {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
