/* Index Page Styles */

/* ========================================
   HERO BANNER SECTION
   Colors come from backend via CSS variables:
   --primary-color: Main brand color (overlay background)
   --secondary-color: Accent color (buttons, title highlights)
======================================== */
.hero_banner_section {
    padding: 30px;
    /* background-color: #e8e8e8; */
}

.hero_banner_inner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Background set via inline style in Blade template using backend color */
    z-index: 1;
}

.hero_banner_inner .container {
    position: relative;
    z-index: 2;
}

/* Hero Content - Left Side */
.hero_content {
    padding-right: 40px;
}

.hero_title {
    /* font-family: 'Playfair Display', Georgia, serif; */
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    /* Uses --secondary-color from backend */
    color: #ffff;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero_description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero_btn {
    display: inline-block;
    padding: 14px 36px;
    /* Uses --secondary-color from backend */
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.hero_btn:hover {
    /* Darker shade of --secondary-color on hover */
    background-color: var(--secondary-hover-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(0.9);
}

/* Booking Card - Right Side */
.booking_card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.booking_card_title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 28px;
}

.booking_form_group {
    position: relative;
    margin-bottom: 16px;
}

.booking_select,
.booking_input {
    width: 100%;
    height: 54px;
    padding: 0 45px 0 18px;
    font-size: 14px;
    color: #333;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking_select:focus,
.booking_input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(234, 0, 30, 0.1);
}

.booking_select:hover,
.booking_input:hover {
    border-color: #ccc;
    background-color: #fff;
}

/* Fix nice-select override for booking form */
.booking_card .nice-select {
    width: 100%;
    height: 54px;
    line-height: 52px;
    padding: 0 45px 0 18px;
    font-size: 14px;
    color: #333;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    float: none;
}

.booking_card .nice-select:after {
    display: none;
}

.booking_card .nice-select:hover {
    border-color: #ccc;
    background-color: #fff;
}

.booking_card .nice-select.open,
.booking_card .nice-select:focus {
    background-color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(234, 0, 30, 0.1);
}

.booking_card .nice-select .list {
    width: 100%;
    margin-top: 5px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
}

.booking_card .nice-select .option {
    padding: 12px 18px;
    min-height: auto;
    line-height: 1.4;
}

.booking_card .nice-select .option:hover,
.booking_card .nice-select .option.focus {
    background-color: #f8f9fa;
}

.booking_card .nice-select .option.selected {
    font-weight: 600;
    color: var(--secondary-color);
}

.booking_select_icon,
.booking_input_icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    z-index: 1;
}

/* Placeholder styling */
.booking_input::placeholder {
    color: #888;
    opacity: 1;
}

.booking_select option:first-child {
    color: #888;
}

/* Input date picker styling */
.booking_input.filter-date-picker {
    cursor: pointer;
}

/* Flatpickr disabled/past days styling */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
}

.flatpickr-day.flatpickr-disabled::before,
.flatpickr-day.flatpickr-disabled::after {
    display: none;
}

/* Active/selected day */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* Today highlight */
.flatpickr-day.today {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}

.flatpickr-day.today:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
    filter: brightness(0.9);
}

.booking_submit_btn {
    width: 100%;
    height: 54px;
    padding: 0 24px;
    /* Uses --secondary-color from backend */
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking_submit_btn:hover {
    /* Darker shade of --secondary-color on hover */
    background-color: var(--secondary-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 0, 30, 0.35);
    filter: brightness(0.95);
}

.booking_submit_btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(234, 0, 30, 0.3);
}

/* Responsive Hero Banner */
@media (max-width: 991px) {
    .hero_banner_section {
        padding: 15px;
    }

    .hero_banner_inner {
        min-height: auto;
        padding: 40px 0;
        border-radius: 20px;
    }

    .hero_content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .hero_title {
        font-size: 36px;
    }

    .hero_description {
        margin-left: auto;
        margin-right: auto;
    }

    .booking_card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .hero_title {
        font-size: 28px;
    }

    .booking_card {
        padding: 25px 20px;
    }
}

/* ========================================
   LEGACY STYLES (kept for compatibility)
======================================== */
.cust_form_book {
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 50px;
    padding-inline-end: 0;
}

.form_item .nice-select,
.form_item input,
.form_item textarea {
    font-size: 12px;
}

.custom_btn.btn_width_unset {
    min-width: unset !important;
    border-radius: 50px;
}

main {
    margin-top: 0;
}

.filters-button-group button {
    padding:5px 10px ;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
}

.filters-button-group button:hover,
.filters-button-group button.active {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.filters-button-group button:hover .car-type-icon,
.filters-button-group button.active .car-type-icon {
    filter: brightness(0) invert(1);
}

.sec_ptb_150 {
    padding: 50px 0px !important;
}

.cust_form_book .custom_btn {
    position: relative;
    z-index: unset;
}

@media (max-width: 991px) {
    .cust_form_book {
        background-color: transparent;
    }

    .cust_form_book .col-lg-3,
    .cust_form_book .col-lg-2 {
        margin-bottom: 24px;
    }

    .cust_form_book .custom_btn {
        border-radius: 5px;
    }

    .cust_form_book .border-right {
        border-right: unset !important;
    }
}

.why_box {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    outline: 3px solid #f0f0f0;
    border: 3px solid #ffff;
    background-color: #f0f0f0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease-in-out 0.2s;
    margin: 0 auto;
    position: relative;
}

.why_box:hover {
    outline: 3px solid var(--secondary-color);
    border: 3px solid #fff;
    background-color: var(--secondary-color);
}

.why_box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    opacity: 0;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    background-size: contain;
}

.why_box:hover::before {
    opacity: 1;
}

.why_box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    background-size: contain;
}

.why_box:hover::after {
    opacity: 0;
}

.feature_vehicle_item {
    max-width: unset;
}

.why-us {
    background-color: #fafafa;
}

.why_info {
    margiN: 20px 0;
    text-align: center;
}

.why_info h3 {
    color: #5b5b5b;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 5px;
}

.why_info p {
    font-size: 12px;
    line-height: 16px;
    margin: 0;
}

.why-us .col-lg-4 {
    margin-bottom: 20px;
}

.heading_sec h2 {
    font-size: 34px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.how_box {
    /* position: relative;
    padding: 20px;
    border-radius: 10px;
    background: #f2f2f2ba;
    z-index: 2;
    min-height: 180px; */
    text-align: center;
    /* transition: all ease 0.2s; */
}

.how_box .img_box_rent {
    /* margin-bottom: 10px;
    background: #f2f2f2ba;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    padding: 10px;
    margin: 0 auto; */
    /* margin-top: -60px; */
    /* margin-bottom: 15px; */
  margin-bottom: 10PX;
}

.how_box .img_box_rent img {
    width: 50px;
}

.text p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4em;
    color: #555;
    margin-bottom: 0px;
}

.user_dropdown > ul > li > a {
    font-size: 12px;
}

.user_dropdown > ul > li > a img {
    width: 20px;
}

/* Advance Search Form */
.advance_search_form.mt-0 {
    margin-top: 0;
}

/* Form Item Z-Index */
.form_item.z-high {
    z-index: 999999;
}

/* Car Type Filter Icon */
.car-type-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.mb_30{
    margin-bottom: 30px !important;
}
.gap-10{
    gap: 10px !important;
}

/* No Cars Message */
.no-cars-message {
    padding: 20px;
    text-align: center;
}

.no-cars-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-cars-content svg {
    color: #ccc;
    margin-bottom: 20px;
}
.no-cars-content button svg {
    color: #fff;
    margin-bottom: 0px;
}
.no-cars-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.no-cars-text {
    font-size: 15px;
    color: #666;
    margin: 0;
}
