/* Custom styles for Shorty's Detailing */

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

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.3) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.15);
    top: 40%;
    left: 15%;
    animation: float 6s ease-in-out infinite;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(45, 212, 191, 0.1);
    border: 2px solid rgba(45, 212, 191, 0.2);
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: rotate 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(45, 212, 191, 0.08);
    top: 60%;
    right: 10%;
    animation: float 12s ease-in-out infinite;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid rgba(45, 212, 191, 0.15);
    bottom: 30%;
    right: 15%;
    animation: rotate 15s linear infinite reverse;
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Service card hover effects */
.service-card {
    perspective: 1000px;
}

.service-card .group:hover {
    transform: translateY(-4px);
}

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

::-webkit-scrollbar-track {
    background: #0d1d2e;
}

::-webkit-scrollbar-thumb {
    background: #2d4666;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3d5a80;
}

/* Selection color */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #fff;
}

/* Navbar scrolled state */
.navbar-scrolled {
    background: rgba(7, 16, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape {
        animation: none;
    }
    
    .shape-square-1,
    .shape-ring-1 {
        animation: none;
    }
    
    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
