/* Custom styles for Action Carpet Cleaning Inc */

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #115e59;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Selection color */
::selection {
    background: #99f6e4;
    color: #042f2e;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card image zoom on hover */
.service-card:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.service-card .h-52 img {
    transition: transform 0.5s ease;
}

/* Button ripple effect */
.btn-primary, .btn-outline {
    position: relative;
    overflow: hidden;
}

.btn-primary::after, .btn-outline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after, .btn-outline:active::after {
    width: 200px;
    height: 200px;
}

/* Decorative pattern for hero */
.hero-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Process step hover */
#process .rounded-full:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Contact form input focus glow */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
