/* Custom styles for Alliance Roofing */

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

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

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

::-webkit-scrollbar-thumb {
    background: #d45532;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #d45532;
    color: white;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 85, 50, 0.1);
}

/* Animation for mobile menu */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover effect */
.group:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

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

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
}
