/* Custom styles for 2BLEAAUTO */

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

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #701a28;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a0f1a;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Service card hover effect */
.service-card {
    transition: all 0.3s ease;
}

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(74, 15, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Button pulse effect */
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(112, 26, 40, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(112, 26, 40, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(112, 26, 40, 0); }
}

.btn-pulse {
    animation: pulse-ring 2s infinite;
}

/* Loading state for form */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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