﻿.header-buttons-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap; /* responsiveness on small screens */
}

/* Left side heading */
.header-left {
    flex: 1;
    min-width: 200px;
}

/* Right side buttons as tabs */
.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Style for each button as per your image */
.category-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

    /* Active button style (orange) */
    .category-btn.active {
        background-color: #ff7f50;
        color: #fff;
    }

    /* Inactive buttons style (light gray) */
    .category-btn:not(.active) {
        background-color: #e0e0e0;
        color: #333;
    }

/* Adjust on small screens */
@media(max-width: 768px) {
    .header-buttons-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-tabs {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Card styles */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card-custom {
    width: calc(25% - 15px);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    background-color: #fff;
}

/* Add zoom effect on hover for images */
.card-img-top {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* smooth transition for zoom */
}

    .card-img-top:hover {
        transform: scale(1.05); /* zoom in slightly */
    }

/* Tags style */
.tag-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff7f50;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Card body */
.card-body {
    padding: 12px;
}

.card-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.card-location {
    color: #777;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Ratings and reviews */
.rating {
    display: flex;
    align-items: center;
    font-size: 14px;
}

    .rating span {
        margin-right: 6px;
    }

/* Price */
.price {
    font-size: 16px;
    font-weight: bold;
    margin-top: 8px;
}

/* Slider styles */
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
}

.slide-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: none;
}

    .slide-img.active {
        display: block;
    }

/* Slider arrow buttons - hidden by default, visible on hover */
.image-slider .slider-prev,
.image-slider .slider-next {
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
}

/* Positioning for previous and next buttons */
.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* Show arrows when hover over slider */
.image-slider:hover .slider-prev,
.image-slider:hover .slider-next {
    opacity: 1;
}

/* Responsive card width */
@media(max-width: 1024px) {
    .card-custom {
        width: calc(33.333% - 13px);
    }
}

@media(max-width: 768px) {
    .card-custom {
        width: calc(50% - 10px);
    }
}

@media(max-width: 480px) {
    .card-custom {
        width: 100%;
    }
}

h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* "More" link style in header */
.unique-more-link {
    font-size: 0.9em;
    color: #ff6f00;
    text-decoration: none;
    font-weight: 600;
}

/* Container for all cards with flex layout */
.unique-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Individual card style with animation */
.unique-vehicle-card {
    width: calc(25% - 15px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 15px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s forwards;
}

/* Animate from bottom to top */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay for each card for a staggered effect */
.unique-vehicle-card:nth-child(1) {
    animation-delay: 0.2s;
}

.unique-vehicle-card:nth-child(2) {
    animation-delay: 0.4s;
}

.unique-vehicle-card:nth-child(3) {
    animation-delay: 0.6s;
}

.unique-vehicle-card:nth-child(4) {
    animation-delay: 0.8s;
}

/* Image carousel styles */
.unique-inner-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.unique-inner-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.unique-inner-slide {
    min-width: 100%;
    box-sizing: border-box;
}

    .unique-inner-slide img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 8px;
    }

/* Navigation buttons inside each card, hidden by default */
.unique-inner-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Show on hover of the card */
.unique-vehicle-card:hover .unique-inner-nav-btn {
    opacity: 1;
    pointer-events: auto;
}

.unique-inner-prev {
    left: 10px;
}

.unique-inner-next {
    right: 10px;
}

/* Info section styles */
.unique-info {
    margin-top: 10px;
}

.unique-vehicle-name {
    font-weight: 600;
    font-size: 1em;
    color: #333;
}

/* Icons and info styling */
.unique-details {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 0.9em;
    color: #555;
}

.unique-detail-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

/* Icon styles */
.unique-icon {
    margin-right: 5px;
    font-size: 1em;
    color: #007bff;
}

.menu-overlay {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px; /* spacing below the paragraph */
    z-index: 10;
}

/* Dropdown styles for location */
.location-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 120%;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 20;
    display: none;
    margin-top: 60px;
    padding: 8px;
}

.dropdown-search {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 8px;
    background-color: #f5f5f5;
    border-radius: 6px;
}

    .dropdown-search i {
        margin-right: 8px;
        color: #555;
    }

    .dropdown-search input {
        flex: 1;
        padding: 6px 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
    }

.location-item {
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .location-item:hover {
        background-color: #f0f0f0;
    }

.location-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.location-subtitle {
    font-size: 12px;
    color: #666;
}

/* Tabs styles */
.menu-overlay {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    z-index: 10;
}

.tabs-controls {
    display: flex;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.tabs__button {
    padding: 14px 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transition: background 0.3s;
}

    .tabs__button.active {
        background-color: rgba(51, 153, 255, 0.8);
        color: #fff;
    }

    .tabs__button i {
        margin-right: 8px;
        font-size: 18px;
    }

/* Content styles */
.tabs__content {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

    .tabs__content.active {
        display: block;
    }

/* Main search form styles */
.mainSearch {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

/* Search field container */
.search-field {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .search-field h4 {
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 600;
        color: #333;
    }

    .search-field input {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
    }

/* Search button style */
.search-btn {
    padding: 14px 20px;
    background-color: #ff7f50;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

    .search-btn:hover {
        background-color: #ff6333;
    }

/* Guests dropdown styles */
.guest-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 250px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 30;
}

    .guest-dropdown h5 {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 600;
    }

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .guest-item label {
        font-weight: 600;
        font-size: 14px;
    }

/* Counter buttons in dropdown */
.guest-counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .guest-counter button {
        width: 30px;
        height: 30px;
        border: none;
        background-color: #ff7f50;
        color: #fff;
        border-radius: 4px;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

        .guest-counter button:hover {
            background-color: #ff6333;
        }

/* Responsive adjustments */
@media(max-width: 768px) {
    .mainSearch {
        flex-direction: column;
    }

    .guest-dropdown {
        width: 90%;
        max-width: 300px;
    }
}



.driver-new-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px 20px 30px;
    border: 1px solid #f1f1f1;
    transition: .35s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

    .driver-new-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,.12);
    }

/* Profile Ring With Gradient */
.driver-photo-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d6d, #ff7a9b);
    padding: 4px;
    position: relative;
}

    .driver-photo-wrap img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

/* Score badge */
.driver-score-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 40px;
    height: 40px;
    background: #ff4d6d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(255,77,109,.35);
}

/* Name */
.driver-name {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    color: #333;
}

/* Car Type */
.driver-car {
    font-size: 14px;
    color: #666;
    margin: 4px 0 10px;
}

/* Rating stars */
.driver-rating i {
    font-size: 16px;
    margin-right: 2px;
}

/* City */
.driver-city {
    font-size: 14px;
    color: #666;
    margin: 10px 0 16px;
}

/* Button */
.driver-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    background: #2d2d2d;
    border: none;
    transition: .25s ease;
}

    .driver-btn:hover {
        background: #000;
        transform: translateY(-2px);
    }
#DriversListing {
    margin-top: 40px; /* adjust as needed */
}



