:root {
    --primary-color: #007bff; /* Bootstrap primary */
    --secondary-color: #6c757d; /* Bootstrap secondary */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;

    --text-color: #333;
    --light-text-color: #666;
    --white-color: #fff;

    --bg-light: #f0f2f5; /* Lighter background */
    --bg-dark: #212529; /* Darker background */

    --font-family-base: 'Poppins', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

body {
    font-family: var(--font-family-base);
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
}

.navbar-brand {
    font-weight: var(--font-weight-bold);
    letter-spacing: 1px;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Gradient background */
    color: var(--white-color);
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2); /* Overlay for text readability */
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section .display-4 {
    font-weight: var(--font-weight-bold);
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-weight: var(--font-weight-normal);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* --- General Section Styling --- */
.fade-in-section {
    /* AOS will handle animations */
}

.container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* --- Cards --- */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* --- Vehicle Cards --- */
.vehicle-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.vehicle-card .card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .card-img-top {
    transform: scale(1.03);
}

.vehicle-card .card-title {
    font-weight: var(--font-weight-semibold);
    color: var(--dark-color);
}

.vehicle-card .card-text {
    color: var(--light-text-color);
}

/* --- Buttons --- */
.btn {
    font-weight: var(--font-weight-medium);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: var(--white-color);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--white-color);
    padding: 4rem 0;
}

.site-footer h5 {
    font-weight: var(--font-weight-semibold);
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.site-footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

.site-footer .list-unstyled a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .list-unstyled a:hover {
    color: var(--primary-color);
}

.site-footer .fab {
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.site-footer .fab:hover {
    color: var(--primary-color);
}

.site-footer hr {
    border-color: rgba(255,255,255,0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Datepicker input cursor */
input[type="text"][readonly] {
    cursor: pointer;
}

/* Flatpickr Time and Dropdown Visibility/Sizing */
.flatpickr-time {
    display: block !important; /* Ensure time picker is always visible */
    height: auto !important; /* Allow height to adjust to content */
    font-size: 14px; /* Adjust overall font size for time picker */
}

.flatpickr-time .flatpickr-am-pm,
.flatpickr-time .numInputWrapper {
    font-size: 14px; /* Specific font size for AM/PM and number inputs */
}

.flatpickr-monthDropdown-months,
.flatpickr-current-month {
    font-size: 14px; /* Adjust font size for month/year dropdowns */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0;
    }

    .hero-section .display-4 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .site-footer {
        text-align: center;
    }

    .site-footer .col-md-4 {
        margin-bottom: 2rem;
    }

    .site-footer .list-unstyled {
        padding-left: 0;
    }

    .site-footer .list-unstyled li {
        display: inline-block;
        margin-right: 1rem;
    }
}

