/* General Body and Typography */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    color: #1a1a1a !important;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent, #f57c00) !important;
    border-bottom: 2px solid var(--accent, #f57c00);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x1080') no-repeat center center;
    background-size: cover;
    height: 90vh;
    padding-top: 100px;
    /* Adjust for navbar */
    position: relative;
    color: #fff;
}

.hero-section h1 {
    font-size: 3.5rem;
}

.search-form-card {
    position: absolute;
    bottom: -60px;
    /* Position it to overlap with the section below */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 10;
}

.search-form-card .form-control {
    border: 1px solid #ddd;
    box-shadow: none;
}

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

.card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

/* How It Works Section */
.icon-box {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.icon-box:hover .icon-circle {
    background-color: var(--accent, #f57c00);
}

.icon-box:hover .icon-circle i {
    color: #fff !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent, #f57c00);
    border-color: var(--accent, #f57c00);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover, #e65100);
    border-color: var(--accent-hover, #e65100);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    color: var(--accent, #f57c00);
    border-color: var(--accent, #f57c00);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--accent, #f57c00);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer a {
    color: #adb5bd;
}

footer a:hover {
    color: #fff;
}

/* Custom Utilities (optional) */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}
