@font-face {
    font-family: 'PT Sans';
    src: 
    local('PT Sans'),
    url('assets/fonts/PT_Sans/PTSans-Regular.ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'PT Sans';
    src: 
    local('PT Sans'),
    url('assets/fonts/PT_Sans/PTSans-Bold.ttf');
    font-weight: bold;
}

:root {
    --color-marine: #36a898;
}

* {
	font-family: 'PT Sans', Arial, sans-serif;
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 360px;
}

.background {
    width: auto;
    min-height: 100vh;
	margin: 0 auto;
	background-color: #121212;
	background-image: url(assets/images/background.jpg);
	background-position: top center;
	background-repeat: repeat;
	background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1088px;
    margin: 0 auto;
    background-color: white;
}

.header {
    position: relative;
    height: 564px;
    max-width: 100%;
    background-color: #003150;
    padding: 65px;
    background-image: url(assets/images/header_v3_20250724.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.header__logo {
    width: 555px;
}

.header__description {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 40px;
    text-align: right;
}

.header__uppercase {
    color: white;
    font-size: 35px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 35px;
}
 
.header__uppercase-petite {
    color: white;
    font-size: 17px;
    text-transform: uppercase;
}

.section-carousel {
    width: 100%;
    height: 780px; 
    background-image: url(assets/images/tire-backgrnd.png);
    background-size: 80%;
    background-position: 545px 395px;
    background-repeat: no-repeat;
}

.carousel__container {
    position: relative;
    overflow: hidden;
}

.carousel__button_wrapper {
    position: absolute;
    top: 0;
    display: flex;
    height: 780px;
    align-items: center;
    width: 35px;
    padding: 0;
    z-index: 1000;
}

.carousel__button_wrapper.prev {
    left: 20px;
}

.carousel__button_wrapper.next {
    right: 20px;
}

.carousel__button-prev,
.carousel__button-next {
    width: 35px;
    height: 65px;
    background-color: transparent;
    background-size: 35px 65px;
    background-repeat: no-repeat;
    border: none;
    padding: 0;
    cursor: pointer;
}

.carousel__button-prev {

    background-image: url('assets/images/chevron-left.svg');
}

.carousel__button-next {
    background-image: url('assets/images/chevron-right.svg');
}

.carousel__button-prev:disabled,
.carousel__button-next:disabled {
    display: none;
}

.slider {
    display: flex;
    flex-wrap: nowrap;
    transition: ease-in-out .3s;
}

.slide {
    display: flex;
    max-width: 1088px;
}

.slide__wrapper {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 440px 480px;
    column-gap: 40px;
    row-gap: 20px;
    padding: 55px 65px;
}

.slide__picture_mob,
.slide__picture_mob-scnd {
    display: none;
}

.slide__picture img {
    margin-left: -38px;
    margin-top: 15px;
}

.slide__description {
    width: 480px;
}

.slide__description_header {
    font-size: 100px;
    font-weight: bold;
    margin: 0;
}

.slide__description_list {
    margin: 0;
    margin-top: -5px;
    padding-left: 23px;
}

.slide__description_list li {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 20px;
}

.slide__description-petite {
    font-size: 14px;
    text-align: justify;
    width: 480px;
}

.slide__description-petite p {
    margin: 0;
    margin-bottom: 16px;
}

p.slide__description_petite {
    margin-bottom: 24px;
}

.slide__button {
    display: block;
    text-decoration: none;
    text-align: center;
    width: 308px;
    height: 60px;
    color: white;
    border: none;
    border-radius: 8px;
    background-color: var(--color-marine);
    font-size: 24px;
    line-height: 60px;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 20px;
}

.slide__models {
    font-size: 33px;
    line-height: 40px;
}

.slide__models p {
    margin: 0;
}

.marine {
    color: var(--color-marine);
}

.carousel__dots {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: -40px;
    z-index: 1000;
    cursor: pointer;
}

.slider__dot {
    display: flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #121212; 
    flex-shrink: 0;
    padding: 0;
    margin: 11px;
}

.slider__dot.active {
    background-color: #121212;
}

.slider__dot:hover {
    box-shadow: 0 0 3px 3px rgba(0,0,0,.3)
}

.section__header {
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    background-color: #005387;
    margin-bottom: 40px;
    padding: auto 65px;
}

.section__logo {
    position: absolute;
    left: 0;
    top: 0;
}

.section__logo-inner {
    background-color: #005387;
    position: relative;
    padding: 20px;
}

.section__logo-inner::after {
    display: inline-block;
    position: absolute;
    margin-left: 20px;
    bottom: 0;
    content: "";
    background-color: var(--color-marine);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #005387 0 50%, transparent 50% 100%);
}

.section__heading {
    margin: 0;
    color: white;
    text-transform: uppercase;
    font-size: 27px;
    font-weight: bold;
}

.videos__container {
    display: grid;
    max-width: 360px;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 0 65px;
    margin-bottom: 75px;
}

.videos__card h3 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 7px;
}

.video__wrapper {
    position: relative;
    margin: 0 auto;
    height: 172px;
    width: 300px;
    background-color: aquamarine;
    border: 4px solid #cecbcb;
}

.video__wrapper::after {
    display: inline-block;
    content: "";
    position: absolute;
    width: 40px;
    height: 20px;
    border-top: 4px solid #cecbcb;
    background-color: white;
    transform: rotate(-45deg);
    bottom: -8px;
    right: -15px;
}

.video__container {
    width: 292px;
    height: 164px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.video__container .control {
    width: 90px;
    height: 90px;
    cursor: pointer;
    background-image: url('assets/images/control.png');
    background-position: center center;
    background-repeat: no-repeat;
}

.video__container_fr2 {
    background-image: url('assets/images/FR.png');        
}

.video__container_dr2 {
    background-image: url('assets/images/DR.png');        
}

.video__container_tr3 {
    background-image: url('assets/images/TR.png');        
}

.videos__description {
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
}

.videos__link {
    padding:  10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 14px;
    text-decoration: none;
    color: black;
}


.videos__link.disabled {
    color: #999;
    cursor:default;
}

.videos__link_arrow {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: black;
    background-image: url('assets/images/chevron-right_white.svg');
    background-position: center center;
    background-repeat: no-repeat;
}

.service__wrapper {
    display: flex;
    gap: 30px;
    padding: 65px;
    justify-content: space-between;
}

.service__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    text-decoration: none;
    color: black;
    max-width: 280px;
}

.service__card.service_montage .service__petite{
    max-width: 190px;
}

.service__card.service_upsale .service__petite{
    max-width: 220px;
}

.service__card.service_warranty .service__petite{
    max-width: 245px;
}

.service__description {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    /* padding-left: 20px; */
}

.service__heading {
    text-transform: uppercase;
    color: #005387;
    font-size: 21px;
    line-height: 21px;
    margin: 0;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 2px;
}

.service__petite {
    font-size: 14px;
    line-height: 16px;
    margin: 0;
    text-align: center;
}

.footer {
    width: 100%;
}

.footer__logo_container {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.footer__logo_wrapper {
    position: relative;
    width: 200px;
    background-color: #005387;
    padding-top: 20px;
    margin-bottom: -10px;
}

.footer__logo_wrapper::before {
    position: absolute;
    display: block;
    content: "";
    width: 75px;
    height: 60px;
    top: 0;
    left: -75px;
    background: linear-gradient(-45deg, #005387 0 50%, transparent 50% 100%);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 20px;
    gap: 30px;
    background-color: #005387;
    color: white;
    padding-bottom: 65px;
}

.footer__email-container {
    text-align: right;
}

.footer__email_desc,
.footer__hotline_desc {
    margin: 0;
}

.footer__copyright,
.footer__email_desc {
    font-size: 12px;
}

.footer__hotline_desc {
    font-size: 14px;
    text-transform: uppercase;
}

.footer__email,
.footer__hotline {
    color: white;
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    position: relative;
    background-color: #fefefe;
    text-align: center;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: fit-content;
    max-width: 100%;
    border-radius: 10px;
  }

  .modal__video {
    width: 100%;
  }
  
  .close {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    line-height: 15px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  @media screen and (max-width: 699px) {
    .modal-content {
        width: 360px;
        max-width: 100%;
        height: 250px;
        padding: 25px;
    }
  }

@media screen and (max-width: 1087px) {


    .background {
        width: 100%;
        min-width: 360px;
    }

    .container {
        width: 100%;
    }

    .header {
        height: 536px;
        background-image: url('assets/images/header-mob_v3_20250724.jpg');
        padding: 20px;
    }

    .header__description {
        padding: 20px;
    }

    .section-carousel {
        height: unset;
        background-position: bottom -434px right -291px;
        background-size: 700px;
    }

    .slider {
        max-width: 360px;
        margin: 0 auto;
    }

    .slide__wrapper {
        padding: 20px;
        column-gap: 20px;
        row-gap: 10px;
        grid-template-columns: 320px;
        grid-template-areas: 
        'a'
        'b'
        'c'
        'd'
        'e'
        'f';
        margin-bottom: 20px;
    }

    .slide {
        visibility: hidden;
    }

    .slide-active {
        visibility: visible;
    }

    .slide__picture {
        display: none;
    }

    .slide__picture_mob {
        display: grid;
        grid-area: b;
    }

    .slide__description {
        display: contents;
    }

    .slide__description_header {
        display: grid;
        grid-area: a;
        font-size: 50px;
        justify-content: center;
    }

    .slide__description_list {
        display: grid;
        grid-area: d;

        padding-left: 18px;
    }
    .slide__description_list li {
        font-size: 14px;
    }

    .slide__button {
        margin-left: -18px;
    }


    .slide__models {
        display: grid;
        grid-area: c;
        font-size: 25px;
        line-height: 28px;
    }

    .slide__description-petite {
        display: grid;
        width: unset;
        grid-area: e;
        font-size: 11px;
        text-align: justify;
        padding-left: 18px;
    }

    .slide__picture_mob-scnd {
        display: grid;
        grid-area: f;
        margin-top: -20px;
    }

    .image__dr2_mob {
        width: 340px;
        margin-left: -15px;
    }

    .carousel__dots {
        padding: 0 20px;
    }

    .carousel__button_wrapper.prev,
    .carousel__button_wrapper.next {
        height: 100px;
    }

    .carousel__button_wrapper.prev {
        left: 10px;
    }

    .carousel__button_wrapper.next {
        right: 10px;
    }

    .carousel__button-prev,
    .carousel__button-next {
        width: 25px;
        height: 45px;
        background-size: 25px 45px;
    }

    .section__logo {
        display: none;
    }

    .section__header {
        justify-content: center;
    }

    .section__heading::before {
        display: block;
        content: '';
        width: 20px;
        height: 20px;
        transform: rotate(45deg);
        background-color: white;
        position: absolute;
        bottom: -10px;
        left: -10px;
    }

    .section__heading {
        font-size: 20px;
    }

    .videos__container {
        grid-template-columns: 320px;
        padding: 20px;
        max-width: 360px;
        margin: 0 auto;
    }

    .videos__card {
        display: grid;
        grid-template-columns: 110px 180px;
        gap: 10px;
        grid-template-areas: 
        'a b'
        'c c'
        'd d';
    }

    .videos__card h3 {
        display: grid;
        grid-area: a;
        font-size: 35px;
        line-height: 25px;
        margin: 0;
        justify-content: center;
        align-items: end;
    }

    .video__wrapper {
        display: grid;
        grid-area: c;
    }

    .videos__description {
        display: grid;
        grid-area: b;
        font-size: 12px;
        padding: 0;
        align-items: end;
        
    }

    .videos__description p {
        margin-top: 0;
        margin-bottom: -4px;
    }

    .videos__link {
        display: grid;
        grid-area: d;
        position: relative;
        padding: 3px;
        padding-left: 25px;

    }

    .videos__link_arrow {
        display: inline-block;
        position: absolute;
    }

    .service__wrapper {
        display: grid;
        max-width: 360px;
        margin: 0 auto;
        padding: 20px;
        grid-template-columns: 320px;
        grid-template-areas: 
        'a'
        'b'
        'c';
    }

    .service__card {
        display: grid;
        grid-template-columns: 75px 190px;
        gap: 20px;
        align-items: start;
    }

    .service_montage {
        grid-area: c;
    }

    .service_upsale {
        grid-area: a;
    }

    .service_warranty {
        grid-area: b;
    }

    .service__card.service_upsale .service__petite {
        max-width: 160px;
    }

    /* .service__card.service_warranty .service__petite {
        max-width: 160px;
    } */

    .service__card.service_montage .service__petite {
        max-width: 160px;
    }

    /* .service__card:first-of-type {
        grid-area: a;
    }
    .service__card:last-of-type {
        grid-area: d;
    }
    .service__card:nth-of-type(2) {
        grid-area: c;
    }
    .service__card:nth-of-type(3) {
        grid-area: b;
    } */

    .service__description {
        padding-left: 0;
        text-align: left;
        align-items: flex-start;
        padding-top: 0;
    }

    .service__heading {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 5px;
        margin-top: -4px;
        letter-spacing: 1px;
        text-align: left;
        font-weight: 600;
    }

    .service__petite {
        font-size: 11px;
        line-height: 12px;
        text-align: left;
        letter-spacing: -.2px;
    }

    .footer {
        padding: 0;
    }

    .footer__container {
        grid-template-columns: 140px 160px;
        padding: 20px;
        gap: 20px;
        grid-template-areas: 
        'a b'
        'c c';
        padding-top: 50px;
    }

    .footer__copyright {
        display: grid;
        grid-area: c;
        justify-content: center;
    }

    .footer__email-container {
        display: grid;
        grid-area: a;
    }

    .footer__hotline-container {
        display: grid;
        grid-area: b;
    }

    .footer__hotline_desc {
        font-size: 12px;
    }

    .footer__hotline {
        font-size: 16px;
    }
}

@media screen and (min-width: 361px) and (max-width: 1087px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
        gap: 20px;
        grid-template-areas: 
        'a b'
        'c c';
        padding-top: 50px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 361px) and (max-width: 1087px) {
    .header {
        background-image: url('assets/images/header-mob-wide_v3_20250724.jpg');
        background-position: center center;
        background-size: cover;
    }
}
