/* Custom styles for Rick's Super Wash */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(15, 16, 19, 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);
}

/* Hero shape animations */
.hero-shape-1, .hero-shape-2, .hero-shape-3, .hero-shape-4, .hero-shape-5 {
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    animation-delay: -2s;
    animation-duration: 8s;
}

.hero-shape-3 {
    animation-delay: -1s;
    animation-duration: 4s;
}

.hero-shape-4 {
    animation-delay: -3s;
    animation-duration: 5s;
}

.hero-shape-5 {
    animation-delay: -4s;
    animation-duration: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 90, 40, 0.03), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2024;
}

::-webkit-scrollbar-thumb {
    background: #46484e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff5a28;
}

/* Selection color */
::selection {
    background: rgba(255, 90, 40, 0.3);
    color: #ffffff;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Button focus states */
a:focus-visible, button:focus-visible {
    outline: 2px solid #ff5a28;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Image hover zoom */
.service-card img,
section img {
    transition: transform 0.5s ease;
}

/* Geometric decorative elements */
.geo-square {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 90, 40, 0.2);
    transform: rotate(45deg);
}

.geo-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 90, 40, 0.1);
    border-radius: 50%;
}

/* Pulse animation for CTA */
.cta-pulse {
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 90, 40, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 90, 40, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-shape-1, .hero-shape-2 {
        display: none;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .hero-shape-1 {
        width: 64px;
        height: 64px;
    }
}
