/* Custom Styles for AC Service Plus */

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

/* Ensure all text meets contrast requirements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: rgba(78, 205, 196, 0.3);
    color: #ffffff;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(5, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animations */
.mobile-menu-open #bar1 {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-open #bar2 {
    opacity: 0;
}

.mobile-menu-open #bar3 {
    transform: translateY(-8px) rotate(-45deg);
}

/* Gold shimmer effect for CTA buttons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Pulse animation for status indicators */
@keyframes soft-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Custom focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4ECDC4;
    outline-offset: 2px;
}

/* Form select arrow */
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='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Print styles */
@media print {
    nav, #contact-form, .scroll-reveal { display: none; }
    body { background: white; color: black; }
}
