
/*Page Details Car */

#section-11 .name-image-car {
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url('../img/car-2.jpg');
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 65px;
    background-size: cover;



}

#section-11 .name-type-car {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#section-11 .name-of-car {
    font-family: Outfit;
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
    line-height: 50px;
    text-align: center;

}

#section-11 .type-car {
    font-family: Outfit;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color-rent-car);
    text-align: center;
}

/*--------------------------------------------------------------
# Section 12
--------------------------------------------------------------*/
#section-12 .details-of-car {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

#section-12 .left-details-of-car {
    width: 60%;
}

#section-12 .right-details-of-car {
    width: 30%;
    width: 30%;
    position: sticky;
    top: 5rem;
}

#section-12 .general-information-car {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#section-12 .title-general-information,
#section-12 .title-list-image,
#section-12 .title-car-features,
#section-12 .title-list-conditions {
    font-family: Outfit;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color-rent-car);
    text-align: left;
    margin-bottom: 20px;
}

#section-12 .description-general-information {
    font-family: Outfit;
    font-size: 16px;
    font-weight: 400;
    color: #555555;
    line-height: 28px;
    text-align: left;
}

#section-12 .cercle-item {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

}

#section-12 .cercle-item i {
    font-size: 30px;
    color: var(--secondary-color-rent-car);
}

#section-12 .check-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

#section-12 .check-item p {
    font-family: Outfit;
    font-size: 16px;
    font-weight: 400;
    color: #555555;
    line-height: 28px;
    text-align: left;
}

#section-12 .img-details-car {

    width: 100%;
    max-width: 100%;
    border-radius: var(--border-radius-30);
    object-fit: cover;
    aspect-ratio: 1;
}

#section-12 .container-image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-top: 25px;
}

#section-12 .list-image {
    margin-top: 20px;
}

#section-12 .img-cars-specs {
    width: 20px;
    height: 20px;

}

#section-12 .icon-cars-specs {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

}

#section-12 .top-details-car {
    background: var(--primary-color-rent-car);
    padding: 20px;
    border-top-left-radius: var(--border-radius-30);
    border-top-right-radius: var(--border-radius-30);
}

#section-12 .top-details-car h3 {
    font-family: Outfit;
    font-size: 15px;
    font-weight: 300;
    color: var(--secondary-color-rent-car);
    line-height: 28px;
    text-align: center;
}

#section-12 .top-details-car span {
    font-size: 32px;
    font-weight: 700;
}

#section-12 .car-details-specs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

#section-12 .car-specs {
    display: flex;
    gap: 20px;
    align-items: center;
}

#section-12 .middle-details-car {
    border-bottom-left-radius: var(--border-radius-30);
    border-bottom-right-radius: var(--border-radius-30);
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 20px;
}

#section-12 .title-cars-specs,
#section-12 .description-cars-specs {
    font-family: Outfit;
    font-size: 15px;
    font-weight: 300;
    color: var(--secondary-color-rent-car);
    line-height: 28px;
    text-align: left;
}

#section-12 .middle-details-car {
    background: #F2F2F2;
}

#section-12 .btn-contact-to-rent {
    background: var(--primary-color-rent-car);
    border: none;
    font-family: Outfit;
    font-size: 15px;
    font-weight: 300;
    color: var(--secondary-color-rent-car);
    line-height: 28px;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

#section-12 .list-features {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

#section-12 .item-features {
    display: flex;
    gap: 5px;
    align-items: center;
}

#section-12 .item-features i {
    font-size: 30px;
    color: var(--primary-color-rent-car);
}

#section-12 .item-features p {
    font-family: Outfit;
    font-size: 15px;
    font-weight: 300;
    color: var(--secondary-color-rent-car);
    line-height: 28px;
    text-align: left;

}

#section-12 .features {
    margin-top: 20px;
}



/*Accordion*/


#section-12 .accordion {
    display: flex;
    flex-direction: column;
    gap: 25px;

}


#section-12 .accordion-header .icon {
    transition: transform 0.3s ease;
}


#section-12 .accordion-content.open {
    max-height: 200px;
    padding: 15px;

}

#section-12 .question {
    font-family: Outfit;
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary-color-rent-car);
    line-height: 100%;
    letter-spacing: 0%;

}

#section-12 .response-question {
    font-family: Outfit;
    font-size: 16px;
    font-weight: 300;
    color: var(--secondary-color-rent-car);
    line-height: 30px;

    letter-spacing: 0%;

}

#section-12 .accordion-item {
    border-radius: 12px;
    border: 1px solid var(--border-accordion);
    overflow: hidden;
    background: var(--gray-dark);
}

#section-12 .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    background: var(--primary-color-rent-car);

    cursor: pointer;
    font-size: 18px;
}

#section-12 .icon-box {
    width: 32px;
    height: 32px;
    border: 1px solid var(--secondary-color-rent-car);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary-color-rent-car);
    transition: all 0.3s ease;
}

#section-12 .accordion-header.active .icon-box {
    background: var(--white);
    color: var(--active-accordion);
    transform: rotate(180deg) scale(1.1);
}

#section-12 .accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    background: #F2F2F2;
    color: #F2F2F2;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

#section-12 .list-conditions {
    margin-top: 20px;
}

#section-12 .mobile-details-of-car {
    display: none;
}

@media(max-width :1100px) {
    #section-12 .details-of-car {
        flex-direction: column;
    }

    #section-12 .mobile-details-of-car {
        display: inherit;
        margin-top: 20px;
    }

    #section-12 .left-details-of-car {
        width: 100%;
    }

    #section-12 .right-details-of-car {
        display: none;
    }

    #section-12 .container-image-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

