/* ===== Custom Styles for Metric Car Wash ===== */

/* Geometric background shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(198, 93, 62, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 168, 108, 0.12) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
}

.geo-circle-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(198, 93, 62, 0.15) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    border-radius: 50%;
}

.geo-circle-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -80px;
    left: -80px;
    border-radius: 50%;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(201, 168, 108, 0.1);
    top: 20%;
    left: 8%;
    border-radius: 24px;
    transform: rotate(45deg);
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    bottom: 10%;
    right: 15%;
    border-radius: 16px;
    transform: rotate(20deg);
}

.geo-rect-1 {
    width: 60px;
    height: 160px;
    background: rgba(198, 93, 62, 0.06);
    top: 40%;
    right: 5%;
    border-radius: 30px;
}

.geo-diamond-1 {
    width: 100px;
    height: 100px;
    background: rgba(201, 168, 108, 0.08);
    top: 15%;
    left: 5%;
    border-radius: 20px;
    transform: rotate(45deg);
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(198, 93, 62, 0.15) 1px, transparent 1px);
    background-size: 16px 16px;
    top: 60%;
    left: 3%;
    border-radius: 50%;
}

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Mobile menu animation */
.menu-line {
    transition: all 0.3s ease;
}

#mobileMenuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobileMenuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobileMenuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Service card hover */
.service-card {
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Selection color */
::selection {
    background: rgba(198, 93, 62, 0.2);
    color: #1A1512;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .geo-shape {
        animation: none;
    }
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Select dropdown styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C65D3E' 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 12px center;
    padding-right: 40px;
}
