/* Custom styles that complement Tailwind */

/* Floating animation for geometric shapes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(3deg); }
    66% { transform: translateY(8px) rotate(-2deg); }
}

/* Subtle pulse for decorative elements */
@keyframes pulse-soft {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

/* Selection color */
::selection {
    background: rgba(197, 35, 72, 0.2);
    color: #6e1430;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff5f7;
}
::-webkit-scrollbar-thumb {
    background: #c52348;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a11635;
}

/* Image hover zoom */
.img-overlay img {
    transition: transform 0.6s ease;
}
.img-overlay:hover img {
    transform: scale(1.05);
}

/* Counter number transition */
.counter {
    transition: all 0.3s ease;
}

/* Nav scroll state */
.nav-glass.scrolled {
    box-shadow: 0 4px 30px rgba(110, 20, 48, 0.1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
