/* Elite Diesel and Auto — Custom Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #B91C1C;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: rgba(185, 28, 28, 0.2);
    color: #5a0e0e;
}

/* Geometric shape animations */
@media (prefers-reduced-motion: no-preference) {
    .geo-circle,
    .geo-square {
        animation: float 6s ease-in-out infinite;
    }

    .geo-circle:nth-child(odd) {
        animation-delay: -3s;
        animation-duration: 8s;
    }

    .geo-square {
        animation-duration: 7s;
        animation-delay: -2s;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(45deg); }
        50% { transform: translateY(-15px) rotate(45deg); }
    }

    .geo-circle {
        animation-name: floatCircle;
    }

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

/* Service card image placeholder */
.service-card-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    .geo-circle,
    .geo-square,
    .geo-line {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .bg-burgundy-950,
    .bg-burgundy-700 {
        background: #fff !important;
        color: #000 !important;
    }
}
