/* Custom styles that extend Tailwind */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #c12047;
    outline-offset: 2px;
}

/* Subtle gradient on the hero text */
.hero-gradient-text {
    background: linear-gradient(135deg, #ffc4d0 0%, #ffa3b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Selection color */
::selection {
    background: #f9cfd9;
    color: #6e1532;
}

/* Nav shrink on scroll */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(59, 7, 18, 0.08);
}

/* FAQ toggle animation */
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-toggle[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* Fade-in content for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}
