/* HomeFix Pro - Custom Styles */

/* Hero Section Styles */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    height: 80vh;
}

/* Service Card Hover Effects */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Testimonial Card Effects */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

/* Mobile Menu Styles */
.mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.open {
    max-height: 1000px;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Delay animations for staggered effect */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

/* Blog Page Styles */
.blog-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

.blog-card {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-bottom-color: #3b82f6;
}

.blog-card.featured {
    border-bottom-color: #f59e0b;
}

.blog-card.featured:hover {
    border-bottom-color: #d97706;
}

/* Find Technician Page Styles */
.technician-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/blog-air-conditioner.webp');
    background-size: cover;
    background-position: center;
}

.technician-card {
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.technician-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom-color: #3b82f6;
}

.availability-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-card {
    transition: all 0.3s ease;
}

.filter-card:hover {
    background-color: #f3f4f6;
}

/* Services Page Styles */
.service-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/services-bg.webp');
    background-size: cover;
    background-position: center;
}

.service-card {
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom-color: #3b82f6;
}

.emergency-banner {
    background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.price-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Book Now Page Styles */
.booking-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/services-bg.webp');
    background-size: cover;
    background-position: center;
}

.service-option {
    transition: all 0.3s ease;
}

.service-option:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-option.selected {
    border-color: #3b82f6;
    background-color: #eff6ff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-step {
    transition: all 0.3s ease;
}

.form-step.active {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.step-indicator {
    transition: all 0.3s ease;
}

.step-indicator.active {
    background-color: #3b82f6;
    color: white;
}

.step-indicator.completed {
    background-color: #10b981;
    color: white;
}

/* About Us Page Styles */
.about-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/about-bg.webp');
    background-size: cover;
    background-position: center;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #3b82f6;
}

.timeline-icon {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: scale(1.05);
}

/* Contact Us Page Styles */
.contact-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/contact-bg.webp');
    background-size: cover;
    background-position: center;
}

.contact-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #3b82f6;
}

.form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}

.map-container {
    height: 400px;
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

/* Staggered animation delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-600 {
    transition-delay: 0.6s;
}

/* Go to Top Button Styles */
#go-to-top {
    transition: all 0.3s ease;
    z-index: 1000;
}

#go-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Enhanced hover effects for cards */
.service-card,
.blog-card,
.technician-card,
.testimonial-card,
article.bg-white {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover,
.blog-card:hover,
.technician-card:hover,
.testimonial-card:hover,
article.bg-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: #3b82f6;
}

/* Pulse animation for call-to-action buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Smooth reveal animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.scale-in-animation {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Blog Archive Specific Styles */
.categories-section {
    border: none !important;
    outline: none !important;
}

/* Ensure no debugging borders on any elements */
* {
    box-sizing: border-box;
}

/* Remove any potential debugging styles */
.bg-white.rounded-lg.shadow-md {
    border: none !important;
    outline: none !important;
}