/* Custom styles for King's Kid Care */

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

/* Header scroll effect */
#header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
    background: rgba(7, 14, 7, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1);
}

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

/* Card hover effects */
.group:hover .group-hover\:bg-gold-500\/20 {
    background-color: rgba(212, 160, 23, 0.2);
}

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

::-webkit-scrollbar-track {
    background: #070e07;
}

::-webkit-scrollbar-thumb {
    background: #1f441f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d5c2d;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.3);
}

/* Animation for floating cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

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

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

/* Reduced motion preference */
@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;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}
