/* Custom Styles for Duke's Plumbing & Heating */

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

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

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

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

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

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Utility for fade-in on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(237, 100, 166, 0.2);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Mobile Menu Transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

/* Service Card Hover */
.group:hover .group-hover\:bg-coral-500 {
    background-color: #ED64A6;
}

.group:hover .group-hover\:text-white {
    color: #ffffff;
}

/* Hero Image Gradient Overlay */
.hero-gradient {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
}

/* Custom Blob Shapes */
.blob {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}
