/* Custom Styles for BJR Maintenance */

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

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

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

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

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Animations */
#mobileMenuBtn.active #menuLine1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobileMenuBtn.active #menuLine2 {
    opacity: 0;
}

#mobileMenuBtn.active #menuLine3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Service Card Hover Effect */
.group:hover .group-hover\:rotate-12 {
    transform: rotate(12deg);
}

/* Button Ripple Effect */
button, a {
    position: relative;
    overflow: hidden;
}

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

/* Responsive Typography */
@media (max-width: 640px) {
    .font-heading {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

/* Print Styles */
@media print {
    nav,
    #contactForm,
    .animate-bounce {
        display: none !important;
    }
}
