@font-face {
    font-family: 'Montserrat'; /* A name you choose to use later in your CSS */
    src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
}
@font-face {
    font-family: 'Labor Union'; /* A name you choose to use later in your CSS */
    src: url("../fonts/LaborUnion-Regular.otf") format("truetype");
}

/*- Global styles */
body {
    margin: 0;
}

p {
    font-family: "Montserrat";
}

.meta {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.block-heading {
    font-family: "Labor Union";
    font-size: 90px;
    margin: 0;
    padding: 0;
}

::selection {
  background-color: #ff400c;
  color: #ffffff;
}

.hero {
    /* min-height: 100% !important; */
    background:
        linear-gradient(
            to bottom,
            rgba(18, 18, 18, 0.2) 0%,     /* 100% */
            rgba(18, 18, 18, 0.0) 50%, /* 25% */
            rgba(18, 18, 18, 1) 100%    /* 100% */
        ),
        url("../img/background-page-main.png");
    background-repeat: no-repeat;
    background-size: cover;
    
}
/* .header {
    padding: 9px 26px 0 26px;
} */
.header {
    margin: 0;
    padding: 9px 26px 0 26px;
    display: flex;
    justify-content: space-between;
    height: 42px;
    align-items: center;
}
.unselectable {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari, Chrome */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10+ and Edge */
    user-select: none; /* Standard syntax */
}
p, span, div, h3 {
    font-family: "Montserrat";
    font-weight: 500;
    color: #ffffff;
}

.header span {
    color: #BFBFBF;
}

.header a {
    color: #ffffff;
    text-decoration: none;
}

.tel-contact {
}
.schedule {
}
.days {
}
.day {
    font-family: "Labor Union";
    cursor: pointer;
    font-size: 20px;
    background-color: transparent;
    border: none;
    color: #ffffff;
    opacity: 0.5;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}
.bt-link {
    font-family: "Montserrat";
    font-weight: 500;
    color: #ffffff;
}
.bt-link {
    transition: 0.3s ease-out, transform 0.3s ease-out; 
}
.bt-link:hover {
    opacity: 0.5;
}
.day {
    transition: 0.3s ease-out, transform 0.3s ease-out; 
}
.day:hover {
    opacity: 1;
}
.active {
    color: #ff400c;
    opacity: 1;

    transition: 0.3s ease-out, transform 0.3s ease-out; 
}
.time {
    font-size: 20px;
    padding-left: 2px;
    display: flex;
}

.hero .container {
    padding-top: 57px;
    padding-left: 26px;
    max-width: 1004px;
}
.promo img {
    width: 634px;
}
.promo {
    padding-bottom: 17px;
}
.promo-text p {
    color: #ffffff;
    font-size: 22px;
}

.events {
    background:
        linear-gradient(
            to bottom,
            rgba(18, 18, 18, 1) 0%,     /* 100% */
            rgba(18, 18, 18, 0.25) 50%, /* 25% */
            rgba(18, 18, 18, 1) 100%    /* 100% */
        ),
        url("../img/background-page-events.png");
    background-repeat: no-repeat;
    background-size: cover;
    /* padding-bottom: 917.917px; */
}

.event-heading {
    text-align: center;
    padding: 58px 0 13px 0;
}

.event-heading .event-count {
    font-family: "Labor Union";
    font-size: 37px;
    margin: 0;
    padding: 0;
}

.spinner {
    display: flex;
    overflow: hidden;
    justify-content: center;
    gap: 41px;
}
.thumbnail {
    position: relative;
}

.thumbnail::before {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(1, 1, 1, 0) 42%,
            rgba(1, 1, 1, 0.5) 100%
        );
    z-index: 1;

    transition: 0.3s ease-out;
}

.thumbnail:hover::before {
    opacity: 0.1;
}

.thumbnail img {
    display: block;
    max-height: 630px;
}

.thumbnail .info {
    position: absolute;
    z-index: 2;
    bottom: 0;
    
    font-family: "Labor Union";
    font-size: 18px;

    padding: 8px 14px;
    margin: 0;
}

.thumbnail .age {
    right: 0;
}

.booking-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 360px;        /* подгони под картинку */
    height: 90px;

    background: url("../img/button_back.png") center / contain no-repeat;
    text-decoration: none;
}

.booking-btn span {
    position: relative;
    font-family: "Labor Union";
    font-size: 36px;
    text-transform: uppercase;
    color: #fff;

    transition: 0.3s ease-out, transform 0.3s ease-out; 
}

.booking-btn span:hover {
    color: #ff400c;
}
.button-align {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.event-pics {
    padding-bottom: 20px;
}

.swiper-slide {
    width: 450px !important;
    flex-shrink: 0;
}
 
 .event-pics {
    max-width: 1500px;
    margin: 0 auto;
}
.event-pics.is-static .swiper-wrapper {
    display: flex;
    justify-content: center;
    gap: 41px;
}

.event-pics.is-static .swiper-slide {
    width: auto;
}
.swiper-slide {
    width: auto;
}
.center-mode .swiper-wrapper {
    justify-content: center;
}
.no-events {
    font-size: 40px;
    text-align: center;
    max-width: 500px;
    font-family: "Labor Union";
}
.swiper {
    overflow: hidden;
    padding: 0 40px;
}

.swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
}

/* Кастом стрелок */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

/* Пагинация */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #ff400c;
    opacity: 1;
}


.menu-landing {
    background:
        linear-gradient(
            to bottom,
            rgba(18, 18, 18, 1) 0%,     /* 100% */
            rgba(18, 18, 18, 0.25) 50%, /* 25% */
            rgba(18, 18, 18, 1) 100%    /* 100% */
        ),
        url("../img/background-page-menu.png");
}

.menu-landing .content {
    display: flex;
    justify-content: center;
    gap: 135px;
    padding: 200px 0 150px 0;
}

.menu-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 618.75px;        /* подгони под картинку */
    height: 78.75px;

    background: url("../img/button_back_var2.png") center / contain no-repeat;
    text-decoration: none;
}

.menu-btn span {
    position: relative;
    font-family: "Labor Union";
    padding-left: 52px;
    font-size: 30px;
    text-transform: uppercase;
    color: #fff;

    transition: 0.3s ease-out, transform 0.3s ease-out; 
}

.menu-btn span:hover {
    color: #ff400c;
}

.promo-text {
    font-weight: 400;
    font-size: 26px;

    max-width: 622.5px;
}

.hero .promo-text {
    max-width: 900px;
}


.garage-landing {
    background:
        linear-gradient(
            to bottom,
            rgba(18, 18, 18, 1) 0%,     /* 100% */
            rgba(18, 18, 18, 0.25) 50%, /* 25% */
            rgba(18, 18, 18, 1) 100%    /* 100% */
        ),
        url("../img/background-page-garage.png");
}

.garage-landing .content {
    display: flex;
    justify-content: center;
    gap: 135px;
    padding: 200px 0 150px 0;
}

@media (min-width: 1280px) and (max-width: 1460px) {
    .garage-landing .content {
        gap: 0;
    }
    .garage-landing .main-info {
        padding-left: 20px;
    }
    .garage-landing img {
        max-width: 600px;
        padding-right: 20px;
    }
}


@media (max-width: 1280px) {
    .main-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .menu-landing .content {
        display: block;
        text-align: center;
        padding: 50px 0 50px 0;
    }
    .garage-landing .content {
        display: flex;
        flex-direction: column-reverse;
        align-items: center; /* центр по горизонтали */
        text-align: center;  /* центр текста */
        padding: 50px 0 50px 0;
        gap: 0;
    }
}



@media (max-width: 920px) {
    .tel-contact, .schedule {
        display: none;
    }
    .header {
        justify-content: center;
    }
    .promo img {
        max-width: 90%;
    }

    .promo-text {
        font-size: 18px;
        max-width: 90%;
        padding: 0 10px;
    }

    .hero {
        background-position: center top;
    }
    .hero .container {
        display: flex;
        flex-direction: column;
        padding-left: 0;
        align-items: center;
    }

    .promo-text p {
        font-size: 18px;
        font-weight: 400;
    }

    .block-heading {
        font-size: 60px;
    }

    .event-heading .event-count {
        font-size: 27px;
    }
    
    .thumbnail .info {
        font-size: 24px;
    }

    .thumbnail img {
        max-height: 550px;
    }

    .booking-btn {
        background-size: 80%;
    }
    .booking-btn span {
        font-size: 26px;
    }

    .menu-landing {
        background-position: center top;
    }

    .menu-landing .content img {
        max-width: 80%;
        padding-bottom: 20px;
    }
    .menu-landing .promo-text {
        margin-top: 0;
    }
    .menu-landing .menu-btn, .garage-landing .menu-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;   
        background-size: 70%;
        width: 100%;
    }
    .menu-landing .menu-btn span {
        font-size: 20px;
    }
    .garage-landing {
        background-position: center top;
    }

    .garage-landing .content img {
        max-width: 80%;
        padding-bottom: 20px;
    }
    .garage-landing .promo-text {
        margin-top: 0;
    }
    .garage-landing .menu-btn span {
        font-size: 20px;
    }

    .footer {
        font-size: 22px;
    }

    .footer .container {
        display: flex;
        flex-direction: column;
        align-items: center; /* центр блоков */
        padding: 36px 0 10px 0;
        justify-content: center;
    }
    .element-foot {
        padding-top: 6px;
    }
    .social {
        gap: 25px;
    }
    .legal {
        font-size: 16px;
    }
    .gov {
        font-size: 14px;
    }
}