/* Custom styles for Caraway Executive Accounting */

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

/* Service card hover effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial card hover effect */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(223, 92, 50, 0.15);
}

/* Mobile navigation animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobile-nav.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-nav.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-nav.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-nav.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-nav.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* Header scroll effect */
.header-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Button focus styles */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

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

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

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

/* Animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes floatReverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-5deg); }
}

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

.geometric-float-reverse {
    animation: floatReverse 7s ease-in-out infinite;
}

/* Hero text gradient */
.hero-gradient {
    background: linear-gradient(135deg, #702515 0%, #df5c32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
