/* Custom styles — overrides and enhancements beyond Tailwind */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background-color: #d8b4fe;
    color: #3b0764;
}

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

/* Geometric shape animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .geo-circle,
    .geo-rect,
    .geo-triangle {
        animation: float 6s ease-in-out infinite;
    }

    .geo-circle:nth-child(2) {
        animation-delay: -1s;
        animation-duration: 7s;
    }

    .geo-circle:nth-child(3) {
        animation-delay: -3s;
        animation-duration: 8s;
    }

    .geo-rect {
        animation-delay: -2s;
        animation-duration: 9s;
    }

    .geo-triangle {
        animation-delay: -4s;
        animation-duration: 10s;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-12px) rotate(3deg); }
    }
}

/* Subtle gradient text utility */
.text-gradient-amber {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card shimmer on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

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