/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

/* Ensure above-the-fold content is always visible */
body {
    background-color: #fffcf8;
}

/* Soft scroll offset for anchor links */
section[id] {
    scroll-margin-top: 80px;
}

/* Subtle hover transitions for cards */
.group:hover .group-hover\:-translate-y-2 {
    transform: translateY(-0.5rem);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fdf2f5;
}

::-webkit-scrollbar-thumb {
    background: #d94067;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a11536;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle pulse for CTA buttons */
@keyframes gentle-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(120, 31, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(120, 31, 55, 0);
    }
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #d94067;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background-color: #fce7ec;
}
