/* Custom styles for Beautiful Hands Janitorial Services */

/* Base overrides */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d828a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Smooth focus outlines */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f6f6f7;
}
::-webkit-scrollbar-thumb {
    background: #c4c6ca;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a5ab;
}

/* Mobile menu animations */
.menu-line {
    display: block;
}

#mobileMenu.open .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
#mobileMenu.open .menu-line:nth-child(2) {
    opacity: 0;
}
#mobileMenu.open .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 1.25rem;
}

/* Mobile link animations */
.mobile-link {
    opacity: 0;
    transform: translateY(12px);
}

#mobileMenu.open .mobile-link {
    animation: slideUp 0.4s ease forwards;
}

#mobileMenu.open .mobile-link:nth-child(3) { animation-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(4) { animation-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(5) { animation-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(6) { animation-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(7) { animation-delay: 0.25s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle image hover */
.service-card img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Print styles */
@media print {
    header, footer, #contactForm, .reveal { display: none; }
    body { color: #1e2127; background: white; }
}
