/**
 * Main Application Styles
 * Custom CSS for the car service website
 */

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

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

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

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background-color: rgba(200, 169, 107, 0.3);
    color: #F7F5F0;
}

/* Flash messages */
.flash-message {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #C8A96B, #A8894F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold glow effect */
.gold-glow {
    box-shadow: 0 0 20px rgba(200, 169, 107, 0.3);
}

.gold-glow-lg {
    box-shadow: 0 0 40px rgba(200, 169, 107, 0.4);
}

/* Hero section */
.hero-gradient {
    background: linear-gradient(135deg, #0B0B0B 0%, #151515 50%, #1D1D1D 100%);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.btn-shine:hover::after {
    opacity: 1;
    left: 100%;
}

/* Divider */
.gold-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #C8A96B, transparent);
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(200, 169, 107, 0.2);
    border-top-color: #C8A96B;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

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

/* Swiper customization */
.swiper-pagination-bullet-active {
    background-color: #C8A96B !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #C8A96B !important;
}

/* Form inputs */
input:focus,
select:focus,
textarea:focus {
    border-color: #C8A96B !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 169, 107, 0.2);
}

/* Placeholder styling */
::placeholder {
    color: #6B7280;
    opacity: 1;
}

/* Stepper */
.step-active {
    background-color: #C8A96B;
    color: #0B0B0B;
}

.step-complete {
    background-color: #2E8B57;
    color: white;
}

.step-pending {
    background-color: #2A2A2A;
    color: #8F8F8F;
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
