/* Custom styles for Circle Of Care Home Care */

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

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

::-webkit-scrollbar-track {
    background: #0f2922;
}

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

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

/* Gold gradient animation */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

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

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

.floating-card:nth-child(2) {
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    animation-delay: -4s;
}

/* Glow effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(197, 160, 89, 0.6);
    }
}

.glow-effect {
    animation: glow 3s ease-in-out infinite;
}

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

.group:hover .group-hover\:-translate-y-2 {
    transform: translateY(-0.5rem);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.3);
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Ensure text readability */
.text-stone-warm {
    color: #E8E6E1;
}

.text-stone-warm\/80 {
    color: rgba(232, 230, 225, 0.8);
}

.text-stone-warm\/90 {
    color: rgba(232, 230, 225, 0.9);
}

.text-stone-warm\/60 {
    color: rgba(232, 230, 225, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
    
    .hero-content {
        text-align: center;
    }
}

/* 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;
    }
}
