/* @tailwind base; */
/* @tailwind components; */
/* @tailwind utilities; */

/* Body Section Styles */
body {
    background-color: #f4f6f9;
    color: #212529;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}



/* Header Section Styles */
.header-section {
    background: linear-gradient(135deg, #6c757d, #495057);
    padding: 1rem 0;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

/* Company Name Styles */
.header-section .company-name h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Navigation Styles */
.header-section .navigation .nav {
    list-style: none; /* Remove default list styles */
    margin: 0;
    padding: 0;
    display: flex; /* Flexbox to align items horizontally */
}

/* Navigation Links */
.header-section nav a {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.header-section .navigation .nav-item {
    margin-left: 20px;
}

.header-section nav a:hover {
    color: #007bff;
    transform: scale(1.05);
}

.header-section .navigation .nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    color: #f8f9fa !important;
    transition: color 0.3s ease;
}

.header-section .navigation .nav-link:hover {
    color: #adb5bd;
    transform: translateY(-2px);
}

/* For active navigation link */
.header-section nav a.active {
    color: #007bff;
}



/* Search Bar Section Styles */
.search-bar-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.search-bar-section .form-control {
    max-width: 40%; /* Maximum width for better responsiveness */
    border-radius: 20px;
    font-size: 1rem;
}

.search-bar-section .btn {
    border-radius: 20px;
    padding: 0.5rem 1rem;
}



/* Card Styles for Car List */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    margin-bottom: 20px;
}

.card:hover {
    transform: scale(1.05);
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Card Body */
.card-body {
    background-color: #ffffff;
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    color: #666;
}

/* Search Button Styles */
.search-button {
    background-color: #007bff;
    border-color: #007bff;
}

.search-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #0056b3;
}



/* Footer Section Styles */
footer {
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
    padding: 1.5rem 0;
    color: #6c757d;
    text-align: center;
    border-top: 1px solid #ddd;
    border-radius: 0.5rem;
}

footer p {
    margin: 0;
    font-size: 1rem;
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-section {
        padding: 10px;
    }

    .footer-section {
        padding: 10px;
    }

    .card {
        margin-bottom: 15px;
    }

    .card-body {
        padding: 15px;
    }

    .navigation {
        margin-top: 10px;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }
}


@media (max-width: 768px) {
    /* Search Bar */
    .search-bar-section .form-control,
    .search-bar-section .btn {
        font-size: 1rem;
        padding: 1rem;
    }

    /* Header section */
    .header-section .container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center the items */
    }

    .header-section .navigation {
        margin-top: 10px;
    }

    .header-section .navigation .nav {
        flex-direction: column; /* Stack nav items vertically */
        align-items: center; /* Center nav items */
    }

    .header-section .navigation .nav-item {
        margin-left: 0;
        margin-bottom: 10px;
    }

    /* Highlight active thumbnail */
    .thumbnail {
        transition: border 0.3s;
    }
    .thumbnail.active-thumbnail {
        border: 3px solid #007bff; /* Bootstrap primary color */
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    }

}
