/* Custom Styles for Merchant Plumbing */

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

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

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
}

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

.geometric-float-delayed {
    animation: float-delayed 7s ease-in-out infinite;
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Navbar Scroll Effect */
.nav-scrolled #nav-bg {
    opacity: 1;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-float,
    .geometric-float-delayed {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .service-card:hover {
        transform: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0F766E;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Print Styles */
@media print {
    .geometric-float,
    .geometric-float-delayed {
        animation: none;
    }
    
    header,
    footer {
        display: none;
    }
}
