/* Interactive Hover Effects with Brand-Specific Animations */

/* Button Hover Effects */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8f65, #ff6b35);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

/* Navigation Link Hover with Flame Effect */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--primary-orange);
    transform: translateY(-1px);
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.1));
    transition: left 0.6s ease;
    z-index: 1;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
    background: #cc4a1a; /* Darker orange background */
    border-radius: 12px;
    padding: 1rem;
}

.service-card .service-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
    border-radius: 12px;
    padding: 1rem;
}

/* Blog Card Hover Effects */
.blog-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card:hover .blog-card-image::after {
    opacity: 1;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 143, 101, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Theme Toggle Hover Effects */
.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-orange);
}

.theme-toggle:hover i {
    color: var(--primary-orange);
}

/* Form Input Hover Effects */
input:hover,
textarea:hover,
select:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
    outline: none;
}

/* Logo Hover Effect */
.nav-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
    transition: all 0.3s ease;
}

/* CTA Section Hover Effects */
.cta-section:hover .catalyst-animation .flame {
    animation-duration: 0.8s;
}

/* Flame Animation Enhancement on Hover */
.hero:hover .flame {
    animation-duration: 1s;
    transform: scale(1.05);
}

.hero:hover .spark {
    animation-duration: 1.5s;
}

/* Feature Box Hover Effects */
.feature-box {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.feature-box:hover::before {
    left: 100%;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

/* Link Hover Effects */
a:not(.btn):not(.nav-link) {
    position: relative;
    transition: color 0.3s ease;
}

a:not(.btn):not(.nav-link)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

a:not(.btn):not(.nav-link):hover::after {
    width: 100%;
}

/* Mobile Navigation Hamburger Hover */
.nav-toggle:hover .bar {
    background-color: var(--primary-orange);
}

.nav-toggle .bar {
    transition: background-color 0.3s ease;
}

/* Statistics Counter Hover Effect */
.stat-number {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: var(--primary-orange);
}

/* Team Member Card Hover */
.team-member {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.15);
}

.team-member:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Social Media Icons Hover */
.social-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: translateY(-3px) rotate(5deg);
    color: var(--primary-orange);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Testimonial Card Hover */
.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.12);
}

/* Dark Mode Hover Adjustments */
[data-theme="dark"] .service-card:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.25);
}

[data-theme="dark"] .service-card:hover .service-icon {
    background: #cc4a1a; /* Same darker orange for dark mode */
    color: var(--white);
}

[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .feature-box:hover {
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

/* Pulse Animation for Important Elements */
@keyframes pulse-orange {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 107, 53, 0.1);
    }
}

.pulse-on-hover:hover {
    animation: pulse-orange 2s infinite;
}

/* Smooth transitions for all interactive elements */
* {
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}