/* Custom styles for Diamond Smiles Club */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1a38;
}
::-webkit-scrollbar-thumb {
    background: #1e3a6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e89a1a;
}

/* Selection color */
::selection {
    background: rgba(232, 154, 26, 0.3);
    color: #f0f3f9;
}

/* Mobile menu animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Navbar glass effect when scrolled */
#nav.scrolled {
    background: rgba(5, 14, 31, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 58, 110, 0.3);
}

/* Service card shimmer on hover */
.group:hover .bg-gold-500\/10 {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0%, 100% { background-color: rgba(232, 154, 26, 0.1); }
    50% { background-color: rgba(232, 154, 26, 0.2); }
}

/* Subtle pulse for the green dot */
@keyframes softPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Image hover zoom container */
.rounded-2xl.overflow-hidden {
    will-change: transform;
}

/* Ensure all text has proper contrast */
.text-navy-200 { color: #d9e0ef; }
.text-navy-300 { color: #8da4cf; }
.text-navy-400 { color: #6786bf; }
