/* Custom styles that complement Tailwind */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefcfb;
}
::-webkit-scrollbar-thumb {
    background: #f9c3cc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f497a3;
}

/* Selection color */
::selection {
    background: #fce4e8;
    color: #821c2c;
}

/* Subtle gradient animation for hero blobs */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.blob {
    animation: float 8s ease-in-out infinite;
}

.blob:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.blob:nth-child(3) {
    animation-delay: -5s;
    animation-duration: 12s;
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #d44256;
    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;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
