@import url('reset.css');
@import url('variable.css');
@import url('color.css');
@import url('police.css');


/* .nav{
    height: 160px;  
    border: 1px solid #000;
} */

body{
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}


main {
    box-shadow: 0 -15px 25px rgba(215, 193, 255, 1);
    z-index: 6;
    padding-top: 60px;
}

.imgCardSimilar{
    aspect-ratio: 250/120;
    object-fit: cover;
}


header{
    background: linear-gradient(
    135deg,
    rgba(146, 3, 255, 0.1) 25%,
    rgba(253, 186, 255, 0.4) 50%,
    rgba(211, 179, 255, 0.4) 120%
    );
    height: 750px;
}

h2, h3 {
    font-family: 'Poltawski Nowy';
}

h2 span{
    text-transform: uppercase;
}

.titleHome{
    font-family: 'Poltawski Nowy';
    font-size: 58px;
    font-weight: 700;
    line-height: 110%;
    margin-left: 8%;
    margin-top: 90px;
    text-wrap: balance;
    position: relative;
    z-index: 5;
}

/* Search bar */

.search-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    padding: 8px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: -1px 1px 5px 0px rgba(0,0,0,0.25);
    max-width: 850px;
    margin-left: 8%;
    z-index: 5;
}

.search-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: 'Afacad';
    padding: 0 16px;
    gap: 8px;
    overflow: visible;
    border-right: 1px solid #DADADA;
}

.search-field:nth-of-type(1) { flex: 0 0 44%; }
.search-field:nth-of-type(2) { flex: 0 0 38%; }
.search-field:nth-of-type(3) { flex: 0 0 19%; }

.search-field input {
    border: none;
    outline: none;
    font-family: 'Afacad';
    width: 100%;
    font-size: 20px;
    background: transparent;
    color: #000000;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.search-field select {
    border: none;
    outline: none;
    font-family: 'Afacad';
    width: 100%;
    font-size: 20px;
    background: transparent;
    color: #000000;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.search-field select option {
    border: none;
    outline: none;
    font-family: 'Afacad';
    width: 100%;
    font-size: 18px;
    background: transparent;
    color: #000000;
    transition: color 0.2s ease, opacity 0.2s ease;
}


.search-field input::placeholder{
    color: #000000;
    opacity: 1;
}

.search-field input:focus::placeholder {
    opacity: 0.3; 
}

.search-submit {
    border: none;
    outline: none;
    padding: 10px 24px;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;  
    transition: 0.25s ease;
}

.search-submit:hover {
    box-shadow: 0 0 12px rgba(77, 61, 255, 0.7);
}

.searchSeparator{
    display: none;
}

/* End search bar */

/* Pictures */

.hero-slider-wrapper {
    position: absolute;
    right: 0;
    top: 120px;    
    width: 630px;
    height: 630px;
    z-index: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-slider img {
    position: absolute;
    right: 0;
    width: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 1s ease; 
}

.hero-slider img.active {
    opacity: 1;
}

/* End pictures */

/* Carousel provider */

.titleProvider{
    font-family: 'Poltawski Nowy';
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 30px 120px;
}

.swiperProvider {
    width: calc(100% - 80px);
    overflow: hidden;
    position: relative;
    padding-top: 5px;
    margin-left: 80px;
}

.swiperWrapperProvider {
    display: flex; 
}

.swiperSlideProvider {
    width: 260px;   
    font-family: 'Afacad';  
    flex: 0 0 auto;    
    background: #F8F8F8;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    text-decoration: none;
    color: #000;
}

.swiperSlideProvider:hover{
    transform: translateY(-5px);
}

.textSlideProvider{
    display: flex;
    flex-direction: column;
    margin: 0;
    flex: 1;
}

.tilteSlide{
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

.textSlide, .addressSlide{
    font-size: 15px;
    font-weight: 400;
    color: #434343;
    margin: 0;
}


.ratingTitleProvider{
    font-size: 24px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    justify-self: end;
    gap: 5px;
    margin-top: auto;
}

.ratingProvider{
    font-family: 'Afacad';
    font-size: 24px;
    font-weight: 500;
}

.pictureSlideProvider img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.textSlideProvider {
    padding: 16px 18px 20px;
}

.carouselNav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    right: 30px;
    gap: 12px;
    margin-top: 20px;
}


.btnNext{
    padding-left: 8px;
}

.carouselNav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #808080;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    transition: 0.2s;
}

.carouselNav button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.fullStar{
    display: flex;
    justify-content: center;
}

.numberReviews{
    font-size: 17px;
}

/* End carousel provider */


/* Explanations */

.containerExplanations{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px 12%;
    width: 100%;
    margin: 120px 0 120px 0;
    flex-wrap: wrap;
}

.groupExplanations{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 15%;
    flex-basis: 220px;
}

.groupExplanations p{
    text-align: center;
    text-wrap: balance;
}

.svgExplanations{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 100px;
    border-radius: 15px;
}

.svgE01{
    background-color: #B3C4FF;
}

.svgE02{
    background-color: #D3B3FF;
}

.svgE03{
    background-color: #B9B3FF;
}

.titleExplanations{
    font-family: 'Poltawski Nowy';
    font-weight: 600;
    font-size: 32px;
    margin: 10px 0 20px 0;
}

.textExplanations{
    font-family: 'Afacad';
    font-size: 17px;
    margin: 0;
}

/* End explanations */


/* Carousel reviews */

.containerCustomerReviewsH{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 70px 0 0 0;
    margin: 80px 0 80px 0;
    background-color: #F4F4F4;
    overflow: hidden;
}

.textTitleCustomerReviewsH{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    text-align: left;
    text-wrap: balance;
}

.titleCustomerReviewsH{
    font-size: 42px;
    font-weight: 600;
}

.textCustomerReviewsH{
    font-family: 'Afacad';
    font-size: 19px;
}

.groupCustomerReviewsH{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 60%;
    margin: 0;
    padding-bottom: 70px;
}

.cardsCustomerReviewsH{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-family: 'Afacad';
}

.swiperReviewsH {
    width: 245px;
    height: 330px;
    margin: 0;
}

.fullStarReviews{
    width: 80%;
    margin: 20px 0 0 0;
}

.fullStarReviews svg{
    width: 19px;
}

.textTitleReviewsH{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 0;
    color: #000;
    width: 80%;
    margin: auto;
}

.titleReviewsH{
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.textReviewsH{
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    width: 95%;
}

.CustomerInformationsH{
    margin: 0;
    width: 80%;
    margin: auto 0 20px 0;
}

.nameCustomerH{
    margin: 0;
    color: #434343;
    font-size: 15px;
}

.companyNameCustomerH{
    margin: 0;
    color: #434343;
    font-size: 15px;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.swiper-slide:nth-child(1n) {
    background-color: #B3C4FF;
}

.swiper-slide:nth-child(2n) {
    background-color: #EBB3FF;
}

.swiper-slide:nth-child(3n) {
    background-color: #D3B3FF;
}

.swiper-slide:nth-child(4n) {
    background-color: #B9B3FF;
}

.swiper-slide:nth-child(5n) {
    background-color: #FFB3F5;
}

.swiper-slide:nth-child(6n) {
    background-color: #DCC4FF;
}

.swiper-slide:nth-child(7n) {
    background-color: #EBB3FF;
}

.swiper-slide:nth-child(8n) {
    background-color: #B3C4FF;
}

.swiper-slide:nth-child(9n) {
    background-color: #D3B3FF;
}

.swiper-slide:nth-child(10n) {
    background-color: #B9B3FF;
}

.imgManReviews{
    position: relative;
    left: 1%;
    margin-top: auto;
    margin-right: 100px;
    height: 332px;
}

.imgManReviews img{
    height: 100%;
    object-fit: cover;
}

/* End carousel reviews */


/* Pub */

.pubHome{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0 100px 0;
}

.titlePubHome{
    font-size: 52px;
    margin: 0 0 20px 0;
    font-weight: 600;
    text-align: center;
}

.pubHome .wrapper {
    width: 100%;
    min-height: 220px;      
    position: relative;
    overflow: hidden;
}

.pubHome .wrapper + .wrapper {
    margin-top: 8px;
}

@keyframes scrollLeft {
    to {
        left: -430px; 
    }
}

@keyframes scrollRight {
    to {
        right: -430px; 
    }
}

.itemLeft,
.itemRight {
    width: 430px;         
    height: 200px;         
    background-color: #fff;
    border-radius: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
    animation-timing-function: linear;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.25);
}

.itemLeft img,
.itemRight img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.itemLeft {
    left: max(calc(460px * 8), 100%);
    animation-name: scrollLeft;
}

.itemRight {
    right: max(calc(460px * 8), calc(100% + 460px));
    animation-name: scrollRight;
}

.item1 {
    animation-delay: calc(60s / 8 * (8 - 1) * -1);
}

.item2 {
    animation-delay: calc(60s / 8 * (8 - 2) * -1);
}

.item3 {
    animation-delay: calc(60s / 8 * (8 - 3) * -1);
}

.item4 {
    animation-delay: calc(60s / 8 * (8 - 4) * -1);
}

.item5 {
    animation-delay: calc(60s / 8 * (8 - 5) * -1);
}

.item6 {
    animation-delay: calc(60s / 8 * (8 - 6) * -1);
}

.item7 {
    animation-delay: calc(60s / 8 * (8 - 7) * -1);
}

.item8 {
    animation-delay: calc(60s / 8 * (8 - 8) * -1);
}

/* Responsive */

/* TABLETTE */
@media (max-width: 1024px) {
    .pubHome .wrapper {
        min-height: calc(340px / 2.15 + 20px);
    }

    .titlePubHome{
        font-size: 40px;
    }

    .itemLeft,
    .itemRight {
        width: 340px;                   
        height: calc(340px / 2.15);        
    }

    .itemLeft {
        left: max(calc(360px * 8), 100%);
    }

    .itemRight {
        right: max(calc(360px * 8), calc(100% + 360px));
    }

    @keyframes scrollLeft {
        to { left: -360px; }
    }

    @keyframes scrollRight {
        to { right: -360px; }
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .pubHome .wrapper {
        min-height: calc(260px / 2.15 + 20px);
    }

    .titlePubHome{
        font-size: 32px;
    }

    .itemLeft,
    .itemRight {
        width: 260px;                      
        height: calc(260px / 2.15);
    }

    .itemLeft {
        left: max(calc(280px * 8), 100%);
    }

    .itemRight {
        right: max(calc(280px * 8), calc(100% + 280px));
    }

    @keyframes scrollLeft {
        to { left: -280px; }
    }

    @keyframes scrollRight {
        to { right: -280px; }
    }
}

/* End pub */

/* CTA Home */

.ctaHome{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #F4F4F4;
    padding: 40px 0 40px 0;
    width: 100%;
}

.titleCtaHome{
    font-size: 42px;
    font-weight: 600;
    margin: 0;
}

.textCtaHome{
    font-family: 'Afacad';
    font-size: 19px;
    font-weight: 400;
    text-wrap: balance;
    margin: 10px 0 20px 0;
    width: 35%;
}

.btnCtaHome{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 40px;
    background-color: #B3C4FF;
    color: #000;
    font-family: 'Afacad';
    font-size: 17px;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 
    0px 1px 4px 0px rgba(0, 0, 0, 0.25),
    inset 0px 4px 10px 6px rgba(255, 255, 255, 0.35),
    inset 0px -4px 4px 0px rgba(0, 0, 0, 0.15),
    inset -1px 0px 4px 0px rgba(0, 0, 0, 0.25),
    inset 3px 0px 6px 2px rgba(255, 255, 255, 0.25);
    transition: 0.3s ease;
}

.btnCtaHome:hover{
    transform: scale(1.05);
}

/* End CTA Home */



@media (min-width: 1680px){
    .roundShape1680{
        display: none;
    }
}

@media (max-width: 1680px){   
     .roundShape1680{
        width: 100%;
    }
}

@media (max-width: 1280px){
    header{
        height: 950px;
    }

    .hero-slider-wrapper{
        top: 320px;
    }

    .search-bar{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 330px;
        height: 350px;
        border-radius: 20px;
        gap: 25px;
        margin-left: 20%;
        z-index: 1;
    }

    .search-field select, .search-field input {
        font-size: 14px;
    }



    .search-field{
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: none;
        background-color: #DADADA;
        border-radius: 999px;
        width: 80%;
        height: 40px;
        max-height: 40px;

    }

    .search-field:nth-of-type(1) { width: 240px; } 
    .search-field:nth-of-type(2) { width: 190px; } 
    .search-field:nth-of-type(3) { width: 150px; } 

    .search-submit{
        margin: 0;
    }

    .searchSeparator{
        display: block;
        width: 50px;
        height: 1px;
        background-color: #a3a3a3;
    }
   
}

@media (max-width: 1263px){
    .imgManReviews{
        left: 6%;
    }
}

@media (max-width: 1145px){
    .imgManReviews{
        left: 6%;
    }
}

@media (max-width: 1127px){
    .imgManReviews{
        height: 190px;
        left: 5%;
    }

    .groupCustomerReviewsH{
        width: 70%;
    }

    .textTitleCustomerReviewsH{
        width: 50%;
    }
}

@media(max-width: 1048px){
    header{
        height: 1010px;
    }

    .hero-slider-wrapper{
        top: 380px;
    }

    .containerExplanations{
        margin: 100px 0 100px 0;
    }
}

@media (max-width: 900px){


    .imgManReviews{
        height: 190px;
        left: 12%;
        margin-right: 0;
        width: 0;
    }

    .groupCustomerReviewsH{
        flex-direction: column;
        margin-left: 0;
        gap: 50px;
        width: 100%;
    }

    .cardsCustomerReviewsH{
        order: 1;
    }

    .textTitleCustomerReviewsH{
        text-align: center;
    }

    .titleCustomerReviewsH{
        margin: 0;
    }
}

@media (max-width: 870px){
    .imgManReviews{
        height: 190px;
        left: 12%;
    }
}

@media(max-width: 834px){
    header{
        height: 970px;
    }

    .titleCustomerReviewsH{
        font-size: 32px;
    }

    .titlePubHome{
        font-size: 34px;
    }

    .titleCtaHome{
        font-size: 32px;
    }

    .hero-slider-wrapper{
        top: 340px;
    }

    .titleCards{
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 5% 5% 0 5%;
        gap: 50px;
    }

    .titleHome{
        margin: 0;
    }

    .search-bar{
        margin: 0;
    }

    .titleProvider{
        font-size: 32px;
    }

    .tilteSlide{
        font-size: 20px;
    }

    .textSlide{
        font-size: 14px;
    }

    .ratingProvider{
        font-size: 20px;
    }

    .fullStar{
        width: 16px;
    }

    .numberReviews{
        font-size: 15px;
    }

    .carouselNav{
        display: none;
    }

    .groupCustomerReviewsH{
        width: 90%;
    }

    .imgManReviews{
        height: 190px;
        left: 0;
    }

    .textCtaHome{
        width: 80%;
        font-size: 17px;
    }

    .textCustomerReviewsH{
        font-size: 17px;
    }

    .textReviewsH{
        font-size: 17px;
    }


}

@media(max-width: 768px){
    .titleHome{
        font-size: 48px;
    }

    .titleProvider{
        margin-left: 40px;
    }

    .swiperProvider{
        width: calc(100% - 40px);
        margin-left: 40px;
    }

    .textTitleCustomerReviewsH{
        width: 100%;
    }

    .imgManReviews{
        height: 190px;
    }
}

@media(max-width: 755px){
    .imgManReviews{
        height: 170px;
    }
}

@media(max-width: 634px){
    header{
        height: 800px;
    }

    .titleCards{
        align-items: center;
        padding: 5% 0 0 0;
    }

    .titleHome{
        font-size: 32px;
        width: 80%;
    }

    .hero-slider-wrapper{
        display: none;
    }

    .imgManReviews{
        height: 150px;
    }
}

@media(max-width: 576px){
    .titleCustomerReviewsH{
        font-size: 26px;
    }

    .titlePubHome{
        font-size: 30px;
    }

    .titleCtaHome{
        font-size: 28px;
    }
    
    .titleCards{
        gap: 20px;
    }

    .titleHome{
        width: 80%;
        
    }

    .search-bar{
        width: 80%;
    }

    .titleProvider{
        font-size: 28px;
        margin-left: 20px;
    }

    .swiperProvider{
        width: calc(100% - 18px);
        margin-left: 18px;
    }

    .tilteSlide{
        font-size: 18px;
    }

    .textSlide{
        font-size: 14px;
    }

    .ratingProvider{
        font-size: 18px;
    }

    .fullStar{
        width: 16px;
    }

    .numberReviews{
        font-size: 14px;
    }

    .titleExplanations{
        font-size: 22px;
    }

    .textExplanations{
        font-size: 15px;
    }   
}

@media(max-width: 566px){
    .containerCustomerReviewsH{
        width: 100%;
    }
    .imgManReviews{
        height: 110px;
    }
}

@media(max-width: 473px){
    .imgManReviews{
        height: 100px;
    }
}

@media(max-width: 439px){
    .imgManReviews{
        height: 90px;
    }
}

@media(max-width: 400px){
    .imgManReviews{
        display: none;
    }
}