/* Base & utilities */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-up-delay {
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Mobile menu */
#mobileMenu:not(.hidden) {
    display: block;
}

.mobile-link {
    display: block;
}

/* Header scroll state */
#header.scrolled {
    background: rgba(253, 240, 244, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(139, 26, 74, 0.08);
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(139, 26, 74, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #f09aad;
    border-radius: 4px;
}

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

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

/* Print */
@media print {
    #header, #mobileMenu, .scroll-reveal { display: none !important; }
    body { background: white; }
}
