@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?m2p9b4');
  src:  url('../fonts/icomoon.eot?m2p9b4#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?m2p9b4') format('truetype'),
    url('../fonts/icomoon.woff?m2p9b4') format('woff'),
    url('../fonts/icomoon.svg?m2p9b4#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-rinnovo:before {
  content: "\e900";
}
.icon-assistenza:before {
  content: "\e901";
}
.icon-location:before {
  content: "\e902";
}
.icon-orologio:before {
  content: "\e903";
}
.icon-calendario:before {
  content: "\e905";
}
.icon-portafoglio:before {
  content: "\e906";
}
.icon-km:before {
  content: "\e907";
}
.icon-filtri:before {
  content: "\e904";
  color: #666;
}



:root{
    --color-yellow: #FFEFCD;
    --color-orange-0: #FEBE35;
    --color-orange-1: #FEAE01;
    --color-orange-2: #F57415;
    --color-red: #D65042;
    --color-gray-1: #656263;
    --color-gray-2: #DFDFDF;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-green: #22C794;
}

body{
   min-height: 100vh;
   font-family: "Roboto", sans-serif;
   font-weight: 300;
}

footer{
    min-height: 20vh;
    color: var(--color-white);

    a{
        color: var(--color-white);
    }
}

header{
    background-color: var(--color-orange-1);

    @media (min-width: 992px){
        background-color: var(--color-white);
    }
}

.bg-orange{
    background-color: var(--color-orange-2);
}

.bg-orange-gradient{
    background: linear-gradient(155deg,rgba(254, 174, 1, 1) 29%, rgba(254, 174, 1, 1) 72%, rgba(245, 116, 21, 1) 113%)
}


.btn-orange-gradient{
    display: inline-block;
    padding: .375rem .75rem;
    font-size: 1rem;
    color: var(--color-white);
    border-radius: .357rem;
    border: none;
    background: linear-gradient(122deg,rgba(254, 174, 1, 1) 0%, rgba(245, 116, 21, 1) 100%);
    background-size: 180% 100%;
    background-position: left center;
    transition: background-position 0.3s ease;

    &:hover{
         background-position: right center;
    }
}

.btn-pill{
    border-radius: 2.5rem;
    background-color: var(--color-orange-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center;
    transition: all .2s ease;

    .pill__icon{
        display: inline-block;
        padding: .875rem 1rem; 
        font-size: 2.5rem;

        &.icon-km{
            font-size: 1.5rem;
        }
    }

    .pill_arrow{
        background-color: var(--color-orange-0);
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
    }

    &:hover{
        transform: translateY(-3px);
        box-shadow: var(--bs-box-shadow);
    }
}

.btn-gradient-orange {
    border: none;
    border-radius: 25px;
    padding: .7rem 1rem ;
    background-image: linear-gradient(180deg,rgba(254, 174, 1, 1) 29%, rgba(254, 174, 1, 1) 47%, rgba(245, 116, 21, 1) 100%);
    color: var(--color-white);
    transform: translateY(-70%);
    transition: all .2s ease;

    &:hover{
        transform: translateY(-73%);
        box-shadow: var(--bs-box-shadow);
    }
}

.text-orange{
    color: var(--color-orange-2);
}

/*COMMON*/
.logo{
    max-width: 200px;

    @media (min-width: 992px) and (max-width:1200px){
        max-width: 80px;
    }

    @media (min-width:1200px){
        max-width: 225px;
    }
}
.navbar-toggler{
    border: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    color: var(--color-white);
    border: none;
}

.mobile-menu {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 0;
}

.mobile-menu .offcanvas-header {
  justify-content: flex-start;
  gap: 35px;
  padding: 70px 50px 90px;
}

.btn-close-custom {
  border: 0;
  background: transparent;
  font-size: 20px;
  color: #666;
  line-height: 1;
}

.mobile-menu-logo {
  max-width: 200px;
  height: auto;
}

.mobile-menu .offcanvas-body {
  padding: 0 90px;
}

.mobile-menu-list .nav-link {
  font-size: 24px;
  font-weight: 300;
  color: #000;
  padding: 0 0 30px;
  line-height: 1.1;
}

.mobile-menu-list .nav-link.active {
  font-weight: 700;
  position: relative;
  /* margin-bottom: 20px; */
}

.mobile-menu-list .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 180px;
  height: 10px;
  background: linear-gradient(90deg, #e7412c, #ff6b00);
}

#contactsMenu .nav-link{
    color: var(--color-white);

    @media (min-width: 992px){
        color: var(--color-black);
    }
}

.header-container{
    padding: 0 1rem;

    @media (min-width: 768px){
        padding: 0;
        width: 500px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.heading-underline{
    position: relative;

    &::after{
         content: "";
        position: absolute;
        left: 0;
        bottom: -7px;
        width: 5rem;
        height: 3px;
        background-color: var(--color-red);

        @media (min-width: 768px){
            left: 50%;
            transform: translateX(-50%);
        }
    }
}

.header-text{
    text-align: left;
    @media (min-width: 992px){
        text-align: center;
    }
}

.veicolo__targa{
    background-color: var(--color-yellow);
    width: 100%;
    padding: .2rem 1rem;
    margin-bottom: -29px;

    @media (min-width: 768px){
        width: 40%;
    }
}

.veicolo__img{
    display: none;

    @media (min-width:768px){
        display: block;
    }

}

.veicolo__icon{
    width: 50px;
    height: 50px;
    background-color: var(--color-orange-1);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*IL TUO VEICOLO*/

#ilTuoVeicolo .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-orange-1);
    margin-right: 5px;
    margin-left: 5px;
}

#ilTuoVeicolo .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23F57415' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8'/%3E%3C/svg%3E");
}

#ilTuoVeicolo .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23F57415' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8'/%3E%3C/svg%3E");
}

#ilTuoVeicolo .carousel-control-next {
    right: -5%;
}

#ilTuoVeicolo .carousel-control-prev {
    left: -5%;
}

#ilTuoVeicolo .carousel-indicators {
    margin-bottom: -5%;
}

/*MANUTENZIONI e DOCUMENTI*/

.custom-list-group .list-group-item a{
    text-decoration: none;
    color: var(--color-black);
    font-size: 1.2rem;
}

.custom-list-group .list-group-item {
    position: relative;
    overflow: hidden;
}

.custom-list-group .list-group-item .row{
    min-width: 60%;
}

.custom-list-group .list-group-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: left; /* da sinistra verso destra */
    transition: transform .4s ease;
    z-index: 0;
}

.custom-list-group .list-group-item:hover::before {
    transform: scaleX(1);
}

.custom-list-group .list-group-item > a {
    position: relative;
    z-index: 1;
    display: block;
}

.custom-list-group .bi-arrow-right {
    transition: transform .3s ease;
}

.custom-list-group .list-group-item:hover .bi-arrow-right {
    transform: translateX(5px);
}

.custom-pagination {
    gap: .5rem;
}

.custom-pagination .page-link {
    border: 0;
    background: transparent;
    color: #666;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    min-width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all .3s ease;
}

.custom-pagination .page-item.active .page-link {
    background: var(--color-orange-1); /* giallo */
    color: var(--color-white);
    border-radius: 50%;
}

.custom-pagination .page-link:hover {
    color: var(--color-orange-2);
    background: transparent;
}

.custom-pagination .page-item.disabled .page-link {
    background: transparent;
    color: var(--color-gray-1);
    opacity: 1;
}

/*RINNOVI*/

.pill__km{
    padding: 3px;
    border-radius: 25px;
    
    &.pill__km--orange{
        background-image: linear-gradient(122deg,rgba(254, 174, 1, 1) 0%, rgba(245, 116, 21, 1) 100%);

         .pill__km--text{
            background-color: var(--color-white);
            color: var(--color-orange-2);
            border-radius: 25px;
            padding: 5px 10px;
            font-weight: 500;
        }
    }

    &.pill__km--green{
        background-color: var(--color-green);

        .pill__km--text{
            color: var(--color-white);
            padding: 5px 10px;
        }
    }

   
}

/*Assistenza*/
.assistenza_tel--container{
    margin-bottom: -29px;
}

.assistenza_tel{
    background-color: var(--color-yellow);
    color: var(--color-black);
    text-decoration: none;
    padding: .5rem 1rem;
    margin-bottom: -29px;
}

#assistenza .form-control {
    box-shadow: none !important;
    font-size: 0.95rem;
}

#assistenza .form-control:focus {
    box-shadow: none;
    border-color: #6c757d !important;
    background: transparent;
}

#assistenza .form-label {
    font-size: 0.95rem;
    margin-bottom: .25rem;
}

#assistenza textarea.form-control {
    resize: none;
}


/*LOGIN*/
.bg-login{
    background-image: linear-gradient(to bottom, rgba(254, 174, 1, 1) 0%, rgba(254, 174, 1, .99) 36%, rgba(254, 174, 1, .6) 67%, rgba(245, 116, 21, .7) 100%), url(/img/bg-insegna.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.login__logo{
    max-width: 250px;

    @media (min-width:1200px){
       max-width: 450px;
    }
}

.login__content{
    min-height: 80vh;
}

.login__text{
    color: var(--color-white);
    text-align: center;
    max-width: 70%;

    @media (min-width:768px){
        text-align: left;
        max-width: 100%;
    }
}

.login__form{

    .input-group-text{
        background: none;
        border: none;
        border-radius: none;
    }

    .form-control{
        border: none;
    }

    .input-group{
        border-bottom: 1px solid var(--color-black);
    }
}

.login__btn{
    background-color: var(--color-white);
    border: none;
    color: var(--color-red);
    font-size: 1.5rem;
    font-weight: 300;
    padding: 10px 45px;
    border-radius: 35px;

    @media (min-width:768px){
        width: 100%;
    }

}

#login .login__footer{
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}

