/* Custom Styles for Shear Envy */

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

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

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

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

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

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

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

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

/* Gallery Image Hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

/* Floating Animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation */
.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Scroll Reveal Animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

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

/* Form Input Focus */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Image Loading */
img {
    background-color: #d1fae5;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}
