/* Custom styles for Alfant Marc DDS MMSC PA */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0a0f;
}
::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(8, 6, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.08);
}

/* Testimonial card hover */
.testimonial-card:hover {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.06);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #fcd34d, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pulse animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Fade-in animation for scroll reveals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
}
.stagger-children > *:nth-child(1) { animation: fadeInUp 0.6s ease 0.1s forwards; }
.stagger-children > *:nth-child(2) { animation: fadeInUp 0.6s ease 0.2s forwards; }
.stagger-children > *:nth-child(3) { animation: fadeInUp 0.6s ease 0.3s forwards; }
.stagger-children > *:nth-child(4) { animation: fadeInUp 0.6s ease 0.4s forwards; }
.stagger-children > *:nth-child(5) { animation: fadeInUp 0.6s ease 0.5s forwards; }
.stagger-children > *:nth-child(6) { animation: fadeInUp 0.6s ease 0.6s forwards; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in-up,
    .stagger-children > * {
        opacity: 1;
        animation: none;
    }
    .float-animation {
        animation: none;
    }
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}
