/* Custom styles for Paul's Carpet Care */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1a365d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #23487a;
}

/* Selection color */
::selection {
    background: #2dd4bf;
    color: #0a1628;
}

/* Mobile menu animation */
#mobileMenu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}
#mobileMenu.active {
    opacity: 1;
    pointer-events: all;
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation delays */
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }
.fade-in-delay-5 { animation-delay: 0.5s; }

/* Nav scroll effect */
.header-scrolled {
    background: rgba(10, 22, 40, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Service card hover glow */
.group:hover .group-hover\\:bg-mint-500 {
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.3);
}

/* Form focus ring */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}
