@font-face {
    font-family: 'Century Gothic';
    src: url('/fonts/Kc.ttf')
}

@font-face {
    font-family: 'Times New Roman';
    src: url('/fonts/times.ttf')
}

:root {
    --main-font: 'Times New Roman', serif;
    --secondary-font: 'Century Gothic';
    --primary-color: #69191C;
    --primary-font-size: clamp(34px, 5.5vw, 75px);
    --secondary-font-size: clamp(16px, 2vw, 20px);
    --primary-line-height: clamp(36px, 8vw, 86px);
    --secondary-line-height: clamp(18px, 2.3vw, 23px);
}

html {
    height: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
    overflow-x: hidden;
    overflow-y: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader {
    width: 100px;
    height: 100px;
    border: 5px solid #fff;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

nav {
    cursor: default;
    font-family: var(--main-font);
    display: flex;
    flex-direction: column;
    background-color: var(--primary-color);
    font-weight: 400;
    font-size: var(--secondary-font-size);
    line-height: var(--secondary-line-height)
}

nav ul {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: opacity 0.3s ease-in-out;
    padding-inline-start: 0px;
}

nav ul li:hover {
    transition: filter 0.3s ease;
    filter: brightness(0.5);
    border-radius: 5px;
}

.nav__visible {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.nav__buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav button {
    display: none;
    opacity: 0;
}

nav button.active {
    transform: scaleY(-1);
}

.nav__hidden {
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.nav__hidden.active {
    display: flex;
    justify-content: center;
    opacity: 1;
}

.phone {
    border: 1px solid #FFFFFF;
    border-radius: 26.5px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--secondary-font-size);
    line-height: var(var(--secondary-line-height))
}

.phone:hover {
    transition: filter 0.3s ease;
    filter: brightness(0.5);
}

#main {
    padding-top: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, var(--primary-color) 100%),
        url('/assets/main_backgorund.webp') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

.main-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.main-info h1 {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: clamp(2rem, 7vw, 5.3rem);
    line-height: 1.2em;
    max-width: 70vw;
    margin-bottom: 4vh;
}

.main-info h2 {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: clamp(18px, 3vw, 30px);
    line-height: 1.2em;
    max-width: clamp(290px, 50vw, 473px);
}

.main-info_buttons img {
    position: absolute;
    width: clamp(250px, 40vw, 414px);
    height: auto;
    left: clamp(30vw, 60%, 100%);
    top: clamp(120px, 25vh, 308px)
}

.main-info_buttons-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 190px;
    margin-bottom: 40px;
    border-radius: 27.5px;
    border: none;
    font-family: var(--secondary-font);
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color: var(--primary-color);
}

.main-info_buttons-contact:hover {
    transition: all 0.3s ease;
    filter: brightness(0.5);
    cursor: pointer;
}

.main-info_buttons-socials {
    display: flex;
    gap: 40px;
    margin-bottom: 15px;
}

.main-info_buttons-socials button {
    border: 1px solid #FFFFFF;
    border-radius: 26.5px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
}

.main-info_buttons-socials :hover {
    transition: filter 0.3s ease;
    filter: brightness(0.8);
    cursor: pointer;
}

#about {
    margin-bottom: 50px;
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-header h1 {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: var(--primary-font-size);
    line-height: var(--primary-line-height)
}

.about-header button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #FFFFFF;
    border-radius: 26.5px;
    background-color: var(--primary-color);
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 20px;
    color: white;
    transition: filter 0.3s ease;
}

.about-header button:hover {
    cursor: pointer;
    filter: brightness(0.8);
}

.about-info {
    display: flex;
}

.about-info__slider {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    min-width: 683px;
    border-radius: 10px;
    align-items: center;
}

.about-info__slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.about-info__slide {
    width: 100%;
    flex-shrink: 0;
    filter: drop-shadow(7px 10px 10px rgba(0, 0, 0, 0.5));
}

.about-info__navigation {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.about-info__navigation-button {
    background: transparent;
    border: none;
    color: #333;
    font-size: 2em;
    cursor: pointer;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-info__dots {
    display: flex;
    list-style: none;
    margin: 0 10px;
    padding: 0;
}

.about-info__txt p,
.about-info__txt li {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    margin-top: 0;
}

.about-info__txt ul {
    gap: 25px;
    display: flex;
    flex-direction: column;
}

.about-info__hidden-btn {
    display: none;
}

.about-info__hidden-btn:hover {
    transition: filter 0.3s ease;
    cursor: pointer;
    filter: brightness(0.5);
}

.swp-sl1 img {
    width: 100%;
    min-width: 683px;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

#menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: var(--primary-font-size);
    line-height: var(--primary-line-height);
    margin-bottom: 0px;
}

.menu-title::before,
.menu-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: #FFFFFF;
    margin: 0 20px;
}

#menu p {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 10px;
}

.swp-sl img {
    opacity: 0.5;
    border-radius: 0;
    width: clamp(250px, 70vw, 848px);
    height: auto;
    aspect-ratio: 848 / 495;
    transform: scale(0.93);
    /* height: calc(30.8vw / 1.75); */
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.swp-cnt {
    margin-top: 50px;
    width: clamp(1340px, 210vw, 2520px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swp-wrp {
    align-items: center;
}

.swiper-pagination {
    position: relative !important;
}

.swiper-pagination-bullet {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin: 0 5px;
    cursor: pointer;
    transform: scale(0.9);
    transition: background-color 0.3s ease-in-out, scale 0.3s ease-in-out;
    border: 1px solid #FFFFFF;
    background: none !important;
}

.swiper-pagination-bullet-active {
    background-color: #EDD4A6 !important;
    border: 1px solid #EDD4A6;
    transform: scale(1.1);
}

.swp-cnt .swiper-slide-active img {
    width: clamp(250px, 70vw, 848px);
    transform: scale(1);
    opacity: 1;
}

#info {
    background-color: #410608;
}

.info-title {
    margin-top: 60px;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: clamp(40px, 5.5vw, 75px);
    line-height: clamp(40px, 8vw, 86px);
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-title::before,
.info-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: #FFFFFF;
    margin: 0 20px;
}

.info__content {
    display: flex;
}

.info__content img {
    width: 601px;
    height: 100%;
    border-radius: 30px;
    margin-right: 50px;
}

.info__content p {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
}

.info__txt {
    display: flex;
    flex-direction: column;
    max-width: 450px;
    justify-content: center;
}

#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: var(--primary-font-size);
    line-height: var(--primary-line-height);
    display: flex;
    align-items: center;
    margin-top: 70px;
    margin-bottom: 10px;
}

.contact-title::before,
.contact-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: #FFFFFF;
    margin: 0 20px;
}

.contact__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact__text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact__text-container p {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: clamp(16px, 3.5vw, 30px);
    line-height: clamp(25px, 6vw, 37px);
    max-width: 811px;
    white-space: nowrap;
    margin: 0;
}

form {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

form button {
    background: #B30001;
    border: none;
    padding: 15px;
    border-radius: 27.5px;
    margin-top: 30px;
    width: 100%;
    font-family: var(--secondary-font);
    font-weight: 900;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color: white;
}

form button:hover {
    transition: filter 0.3s ease;
    cursor: pointer;
    filter: brightness(0.8);
}

.contact__inputs {
    display: flex;
    justify-content: space-between;
}

.contact__input-group {
    display: flex;
    gap: 40px;
    flex-direction: column;
    width: 48%;
}

input {
    padding: 15px 25px;
    border-radius: 27.5px;
    border: none;
    outline: none;
    box-shadow: none;
    font-family: var(--secondary-font);
    font-weight: 900;
    font-size: 20px;
    line-height: 25px;
}

input[type="phone"]::-webkit-outer-spin-button,
input[type="phone"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="phone"] {
    -moz-appearance: textfield;
}

input::placeholder {
    font-family: var(--secondary-font);
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    color: var(--primary-color);
}

#address {
    display: flex;
    gap: 50px;
    margin-top: 70px;
    margin-bottom: 70px;
}

iframe {
    border-radius: 30px;
}

.address__txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.address__txt a:hover {
    transition: filter 0.3s ease;
    cursor: pointer;
    filter: brightness(0.5);
}

.address__txt p {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: clamp(20px, 2.3vw, 30px);
    line-height: clamp(24px, 8vw, 34px);
}

footer {
    padding-top: clamp(10px, 2vw, 100px);
    background-color: black;
    max-height: 480px;
    min-height: 172px;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 50%),
        url('/assets/footer_background.webp');
    background-repeat: no-repeat;
    background-position: right;
    height: auto;
}

footer h1 {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: clamp(20px, 5vw, 80px);
    line-height: clamp(23px, 5vw, 92px);
}

.footer__buttons-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer__buttons-social button {
    padding: 10px;
    border: 1px solid #FFFFFF;
    border-radius: 26.5px;
    background: none;
    font-size: var(--secondary-font-size);
    line-height: var(--secondary-line-height);
    color: white;
    cursor: pointer;
}

.footer__buttons-navigation ul {
    display: flex;
    margin-top: 50px;
    padding-bottom: 100px;
    gap: 60px;
    list-style: none;
    font-size: var(--secondary-font-size);
    line-height: var(--secondary-line-height);
    padding-inline-start: 0px;
    cursor: pointer;
    margin-bottom: 0;
}

.footer__buttons-navigation li:hover,
.footer__buttons-social button:hover {
    transition: filter 0.3s ease;
    cursor: pointer;
    filter: brightness(0.5);
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0 !important;
    top: 0 I !important;
    width: auto !important;
}

input[type="datetime-local"] {
    appearance: none;
    /* Убираем нативный стиль */
    -webkit-appearance: none;
    /* Для Safari */
    -moz-appearance: none;
    /* Для Firefox */
}

@media only screen and (min-width: 2600px) {
    #main {
        padding-top: 50px;
    }

    .main-info h1 {
        height: 305px;
        width: 987px;
    }
}

@media only screen and (min-width: 1540px) {
    .main-info h1 {
        height: 305px;
        width: 987px;
    }
}

@media only screen and (max-width: 1240px) {
    .container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .contact__content {
        width: 95%;
    }

    .container .swiper-container {
        margin-right: 0;

    }
}

@media only screen and (max-width: 1100px) {
    #address {
        flex-direction: column;
        justify-content: center;
    }

    .address__txt {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }

    iframe {
        width: 100%;
        height: clamp(250px, 50vw, 450px);
    }

    .about-info__slider {
        min-width: auto;
    }

    .about-info__txt {
        margin-top: 20px;
    }

    .swp-sl1 img {
        min-width: auto;
    }

    .contact__text-container p {
        white-space: normal;
        display: inline;
    }

    footer {
        background-size: 100%;
    }

    .about-info__hidden-btn {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 10px 20px;
        border: 0.5px solid #FFFFFF;
        border-radius: 26.5px;
        background-color: var(--primary-color);
        font-family: var(--main-font);
        font-weight: 400;
        font-size: 20px;
        line-height: 23px;
        color: white;
        margin-top: 20px;
        width: 100%;
    }

    .about-header button {
        display: none;
    }

    .main-info_buttons-socials a {
        width: 100%;
    }

    .main-info_buttons-socials button {
        width: 100%;
    }

    .main-info_buttons-socials {
        order: -1;
        width: 100%;
    }

    .main-info h1 {
        max-width: none;
        font-size: clamp(2rem, 6vw, 5.3rem);
    }

    .main-info h2 {
        max-width: none;
    }

    .contact__inputs {
        flex-direction: column;
        gap: 25px;
    }

    .contact__input-group {
        width: 100%;
    }

    .contact-title::before {
        display: none;
    }

    .contact-title::after {
        margin: 7px;
    }

    .menu-title::before {
        display: none;
    }

    .info-title::before {
        display: none;
    }

    .info__content img {
        margin-top: 20px;
        height: auto;
        max-height: 608px;
        width: 100%;
    }

    picture {
        width: 100%;
    }

    .info__txt {
        max-width: 100%;
    }

    .info__content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .info__content img {
        margin-right: 0px;
        border-radius: 30px;
    }

    .about-info {
        flex-direction: column;
        align-items: center;
    }

    .main-info_buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
    }

    .main-info_buttons-contact {
        width: 100%;
    }

    .main-info_buttons-socials {
        flex-direction: column;
    }

    .main-info_buttons img {
        margin-bottom: 20px;
        position: static;
    }
}

@media only screen and (max-width: 900px) {
    .address__txt {
        flex-direction: column;
        gap: 0px;
    }

    nav ul {
        opacity: 0;
    }

    .address__txt p {
        margin: 15px;
    }

    nav button,
    nav button img {
        display: flex;
        background-color: var(--primary-color);
        border: none;
        width: 30px;
        height: 30px;
        opacity: 1;
        transition: transform 0.3s ease;
    }
}

@media only screen and (max-width: 840px) {
    .logo {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .swp-cnt {
        margin-top: 50px;
        width: clamp(260px, 92vw, 2620px);
    }

    .about-info__slide img {
        width: 100%;
    }

    s .about-header {
        justify-content: center;
    }

    #menu p {
        text-align: start;
    }
}

@media only screen and (max-width: 820px) {
    .footer__buttons {
        display: flex;
        flex-direction: row-reverse;
        justify-content: start;
        gap: 50px;
    }

    footer {
        background-position: calc(100% + 100px);
        background-size: cover;
    }

    footer h1 {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .footer__buttons-social {
        flex-direction: column-reverse;
        width: auto;
        gap: 10px;
        justify-content: start;
        align-items: center;
    }

    .footer__buttons-social button {
        padding: 5px;
        width: 90px;
    }

    .footer__buttons-navigation ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 0;
        padding-bottom: 10px;
    }
}

@media only screen and (max-width: 760px) {
    .contact__text-container p {
        display: none;
    }

    .contact__text-container .merged-text {
        display: block;
    }

    nav ul {
        display: none;
    }
}

@media only screen and (max-width: 380px) {
    .phone {
        padding: 8px 10px;
    }
}
