/* Custom styles that complement Tailwind — all progressive, no content gating */

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

/* Selection color */
::selection {
    background: #F3BDA6;
    color: #5C3A2E;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FBF0E8;
}
::-webkit-scrollbar-thumb {
    background: #E2AA7E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4956A;
}

/* Subtle page load animation for hero only (above fold, no content gating) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-bg .reveal {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-bg .reveal:nth-child(2) { animation-delay: 0.15s; }
.hero-bg .reveal:nth-child(3) { animation-delay: 0.3s; }
.hero-bg .reveal:nth-child(4) { animation-delay: 0.45s; }
.hero-bg .reveal:nth-child(5) { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .hero-bg .reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Pulse animation for CTA in hero */
@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(212,80,44,0.3); }
    50% { box-shadow: 0 4px 30px rgba(212,80,44,0.5); }
}

.cta-btn {
    animation: gentlePulse 3s ease-in-out infinite;
}

.cta-btn:hover {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .cta-btn {
        animation: none;
    }
}
