/* Custom styles for The Witches Place LLC */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(26, 39, 68, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Service card hover glow */
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 39, 68, 0.15);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #324b74;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .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; }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #d4a843;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #d4a843;
    color: #1a2744;
}

/* Subtle pattern overlay for sections */
section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(26, 39, 68, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}
