/* Custom Styles for Dr. Lee Dental */

/* Gold Gradient Animation */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
    background-size: 200% 200%;
    animation: shimmer 5s ease infinite;
}

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

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

::-webkit-scrollbar-track {
    background: #1a0d12;
}

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

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

/* Floating Animation for Hero Cards */
@keyframes float {
    0% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(3deg); }
}

@keyframes float-reverse {
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(15px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

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

.floating-card-2 {
    animation: float-reverse 7s ease-in-out infinite;
}

.floating-card-3 {
    animation: float 5s ease-in-out infinite;
}

/* Hover Effects */
.group:hover .group-hover\:rotate-0 {
    transform: rotate(0deg);
}

/* Form Focus States */
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Mobile Menu Transitions */
.mobile-link {
    transition: color 0.3s ease;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(26, 13, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
