/* Custom Styles for Waco Financial */

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

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

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

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Geometric Pattern Background */
.bg-pattern {
    background-image: 
        linear-gradient(45deg, rgba(16, 65, 43, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(16, 65, 43, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(16, 65, 43, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(16, 65, 43, 0.03) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #072e1c;
}

/* Focus Styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(16, 65, 43, 0.2);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Card Hover Effects */
.group:hover .group-hover\\:bg-accent {
    background-color: #FF6B35;
}

/* Gradient Text */
.text-transparent.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Remove default Tailwind focus outline for custom focus styles */
input,
textarea,
select {
    outline: none;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-display {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}
