/* Custom styles for Lutz Plumbing & Heating */

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

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

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

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

::-webkit-scrollbar-track {
    background: #0a0f0d;
}

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

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(10, 15, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Button hover effects */
button:hover,
a:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease-out;
}

button:active,
a:active {
    transform: translateY(0);
}

/* Image hover effects */
img {
    transition: transform 0.3s ease-out;
}

/* Service card hover */
.group:hover .group-hover\:bg-lutz-emerald\/20 {
    background-color: rgba(16, 185, 129, 0.2);
}

/* Gold accent hover */
.text-lutz-gold:hover {
    color: #f3e5ab !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem !important;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
