/* Custom styles for Furosa Roofing website */

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

/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Reviews slider styling */
.reviews-track {
    transition: transform 0.5s ease-in-out;
}

.review-dots span {
    transition: background-color 0.3s ease;
}

.review-dots span.active {
    background-color: #7C8259;
}

/* Gallery item hover effect */
.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Sticky header adjustments */
body {
    padding-top: 0;
}

/* Add shadow to header when scrolled */
header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* On scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu styling */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Custom focus styles */
input:focus, 
textarea:focus, 
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 130, 89, 0.3);
}

/* Primary color hover states */
.hover\:bg-primary-dark:hover {
    background-color: #6b7250;
}
