@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap');

:root {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    --font-22: 22px;
    --semi-bold: 600;
    --black: #000;
    --white: #fff;
    --primary-color: #E73652;
    --secondary-color: #2A3137;
    --line-break-gray: #dddddd;
    --line-break-white: #FFFFFF;
    --footer-color: #131D27;
    --color-range: #D9D9D9;

    /* Font body */
    --body-font-family: 'Albert Sans', sans-serif;

    /* Font heading */
    --heading-font-family: 'Outfit', sans-serif;
}

.gap-20 {
    gap: 20px;
}

.gap-50 {
    gap: 50px;
}

.gap-52 {
    gap: 52px;
}

.gap-70 {
    gap: 70px;
}

.mb-20 {
    margin-bottom: 20px;
}

.fs-48 {
    font-size: 48px;
}

body {
    font-family: var(--body-font-family);
    color: var(--secondary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-family: var(--heading-font-family);
}

input {
    width: 500px;
    height: 50px;
    flex: none;
    order: 0;
    flex-grow: 0;
    padding-left: 20px;
    border: 0;
    border-radius: 3px;
}

.my-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    height: 50px;
    border-radius: 3px;
    border: 0;
    transition: all 0.3s ease;
    color: var(--white);
    text-transform: uppercase;
    font-weight: var(--semi-bold);
    letter-spacing: 8%;
    font-size: 12px;
}

.btn-primary {
    background: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
}

.ext-link {
    position: relative;
}

.ext-link::after {
    content: url('../img/arrow-top-right.png');
    margin-left: 5px;
    position: absolute;
    top: 0;
}


/* CSS per container custom */
.container-romeo {
    max-width: 1820px;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

/* HEADER */
header {
    margin: 25px 0;
}

.menu-ul {
    gap: 60px;
    list-style: none;
    margin: 0;
}

.menu-ul li a {
    text-decoration: none;
    color: var(--black);
    font-size: var(--font-22);
    font-weight: var(--semi-bold);
}

#nav-icon3 {
    width: 24px;
    height: 16px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--black);
    border-radius: 10px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}


#nav-icon3 span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
    top: 8px;
}

#nav-icon3 span:nth-child(4) {
    top: 16px;
}

#nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}


/* Front Page - HOMEPAGE */
main {
    margin-bottom: 80px;
}

/* Slider */
.swiper-slide {
    position: relative;
}

.overlay-img {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* pointer-events: none; */
    background: linear-gradient(to left, transparent 0%, var(--secondary-color) 100%);
}

.slider-content-static {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
}

.slider-content-static form {
    display: flex;
    gap: 5px;
    margin: 20px 0 55px 0;
}

.swiper-pagination-homeslider {
    display: flex;
    gap: 10px;
}

.swiper-pagination-homeslider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #9aa0a6;
    opacity: 1;
    border-radius: 50%;
    transition: all .3s ease;
}

.swiper-pagination-homeslider .swiper-pagination-bullet-active {
    background: #ff3b5c;
}

.swiper-pagination {
    margin-bottom: 70px;
}

.swiper-pagination-bullet:only-child {
    display: block !important;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    left: auto;
}

/* Loghi Auto e Rental */
.car-logo-item,
.rental-logo-item {
    width: 90px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rental-logo-item {
    width: 120px;
}

.car-logo-item img,
.rental-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

.car-logo,
.rental-logo {
    margin: 60px 0;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: var(--line-break-gray);
}

footer.divider {
    background-color: var(--line-break-white);
}

/* Slider vehicle */
main .section-vehicle:not(:last-child) {
    margin-bottom: 65px;
}

.section-promo .vehicle-badge {
    background: var(--secondary-color);
}

.vehicle-list.is-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.vehicle-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.vehicle-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.vehicle-nav {
    display: flex;
    gap: 6px;
}

.vehicle-prev,
.vehicle-next {
    width: 32px;
    height: 32px;
    border: 1px solid #d6d6d6;
    background: #fff;
    border-radius: 3px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.vehicle-prev img,
.vehicle-next img {
    height: 18px;
}

.vehicle-swiper {
    padding: 8px 0;
}

.vehicle-card {
    border: 1px solid var(--line-break-gray);
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-media {
    position: relative;
}

.vehicle-media img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    display: block;
}

.vehicle-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 8%;
    padding: 10px 20px;
    text-transform: uppercase;
    z-index: 2;
    border-radius: 3px;
}

.vehicle-body {
    padding: 20px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    flex: 1;
    border-top: 3px solid var(--primary-color);
}

.vehicle-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.vehicle-meta {
    margin-top: 5px;
    font-size: 16px;
    color: var(--secondary-color);
}

.vehicle-foot {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.vehicle-price-now {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
}

.vehicle-price-old {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: .65;
    text-decoration: line-through;
}

#vehicle-slider .swiper-slide {
    height: auto;
    display: flex;
}

span.ext-link {
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
}


/* Banner */
.budget-banner {
    background: var(--secondary-color);
    color: var(--white);
    padding: 100px 0;
}

.budget-banner h3 {
    margin: 0;
}

.budget-banner__subtitle {
    font-weight: var(--semi-bold);
    font-size: 24px;
    margin-bottom: 35px;
}

.budget-banner__count-text {
    margin-bottom: 30px;
}

.budget-range__track {
    position: relative;
    height: 4px;
    background: var(--color-range);
    border-radius: 999px;
}

.budget-range__fill {
    position: absolute;
    left: 14%;
    right: 18%;
    top: 0;
    bottom: 0;
    background: var(--primary-color);
    border-radius: 999px;
}

.budget-range__thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
}

.budget-range__thumb--min {
    left: 14%;
}

.budget-range__thumb--max {
    left: 82%;
}

.budget-range__values {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: .9;
}


/* Sedi */
.sedi {
    margin-top: 65px;
}

.sede-item {
    border-radius: 3px;
    border: 1px solid var(--line-break-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sede-title {
    text-wrap: balance;
    padding: 30px;
}

/* FOOTER */
footer {
    background-color: var(--footer-color);
    color: var(--white);
    padding: 95px 0;
}