/* Main Styles for CarGander */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Header & Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Search Form */
.search-form {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Vehicle Cards */
.vehicle-card {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vehicle-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.vehicle-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
}

.vehicle-features {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Vehicle Detail Page */
.vehicle-detail-img {
    max-height: 500px;
    object-fit: cover;
}

.vehicle-detail-price {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
}

.vehicle-specs {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.vehicle-specs h3 {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* User Dashboard */
.dashboard-card {
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

/* Forms */
.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Subscription Plans */
.plan-card {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.plan-features {
    list-style-type: none;
    padding-left: 0;
}

.plan-features li {
    padding: 5px 0;
    border-bottom: 1px solid #f1f1f1;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    margin-top: 50px;
}

footer a {
    color: white;
}

footer a:hover {
    color: #f8f9fa;
    text-decoration: none;
}

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