/* Custom styles for Felicia Smalls Group website */

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

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

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

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

/* Navigation transitions */
.nav-text {
    transition: color 0.3s ease;
}

/* Hero gradient animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

#hero {
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

/* Service card hover effects */
.group:hover .group-hover\\:bg-gold-500 {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Testimonial card hover */
.hover\\:shadow-xl {
    transition: box-shadow 0.3s ease;
}

/* Image hover zoom */
.group:hover img {
    filter: brightness(1.05);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(196, 154, 62, 0.2);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

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

/* Button ripple effect */
button::after,
a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after,
a:active::after {
    width: 300px;
    height: 300px;
}

/* Decorative line animation */
.w-12.h-0\\.5.bg-gold-500 {
    transition: width 0.3s ease;
}

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

/* Print styles */
@media print {
    nav,
    button,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
