/* CarTrade Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    padding: 4rem 0;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

footer {
    margin-top: auto;
}

.table-responsive {
    border-radius: 0.375rem;
    overflow: hidden;
}

.badge {
    font-weight: 500;
}

.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.form-control, .form-select {
    border-radius: 0.375rem;
}

.alert {
    border-radius: 0.375rem;
}

.carousel-item img {
    border-radius: 0.375rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Custom card styles */
.card-img-top {
    object-fit: cover;
    height: 200px;
}

/* Match score badge */
.badge.bg-info {
    background-color: var(--info-color) !important;
}

/* Vehicle gallery */
.carousel-inner img {
    max-height: 500px;
    object-fit: contain;
}

