/* Sacred Heart Healing Center — Custom Styles */

/* Base */
* { box-sizing: border-box; }

/* Scroll behavior */
html { scroll-behavior: smooth; }

/* Selection */
::selection {
    background: #c8a24e;
    color: #0a1628;
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #152d56;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1a3a6e;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

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

/* Hero pattern overlay */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(200, 162, 78, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #c8a24e 0%, #e0be76 50%, #c8a24e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover lift */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
}

/* Animation for scroll reveals */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

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