/* Custom Styles for R&S AUTO Service LLC */

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

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

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

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

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(255,255,255,0.1);
    bottom: 20%;
    right: 15%;
    animation: float 10s ease-in-out infinite;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 2px, transparent 2px);
    background-size: 15px 15px;
    top: 60%;
    right: 25%;
}

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

@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

/* Service Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-circle-2 {
        width: 100px;
        height: 100px;
    }
    
    .shape-square-1 {
        width: 75px;
        height: 75px;
    }
    
    .shape-triangle-1 {
        border-left: 37px solid transparent;
        border-right: 37px solid transparent;
        border-bottom: 65px solid rgba(255,255,255,0.1);
    }
}
