/* Стили для первой секции */
.first-section {
    background-image: url('../../images/landing/first-section-bg.png');
    width: 1400px !important;
    height: 992px !important;
    background-size: cover;
    background-position: center;
    opacity: 85%;
    position: relative;
    z-index: 2;
}

.first-section .left-rect {
    position: absolute;
    top: 135px;
    left: 77px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 442px;
}

.first-section .left-rect h2 {
    font-weight: 1000;
    font-size: 32px;
    line-height: 94%;
    color: #f8f4ee;
}

.first-section .left-rect p {
    font-weight: 500;
    font-size: 16px;
    color: #f8f4ee;
    line-height: 21px;
}

.first-section .left-rect a {
    padding: 15px 0;
    border-radius: 12px;
    background: rgba(50, 49, 49, 0.75);
    font-weight: 900;
    font-size: 16px;
    color: #f8f4ee !important;
    width: 100%;
    text-align: center;
    transition: background 0.1s ease;
}

.first-section .left-rect a:hover {
    background: rgba(50, 49, 49, 1);
}

.first-section .left-rect .phones {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
    background: rgba(50, 49, 49, 0.75);
    border-radius: 12px;
    padding: 12px 0;
    transition: background 0.1s ease;
}

.first-section .left-rect .phones:hover {
    background: rgba(50, 49, 49, 1);
}

.first-section .left-rect span {
    color: #f8f4ee !important;
    font-weight: 500;
    font-size: 16px;
}

.first-section .first {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    gap: 25px;
    padding: 12px 22px;
    border-radius: 16px;
    background: rgba(50, 49, 49, 0.75);
    transition: background 0.1s ease;
}

.first-section .first:hover {
    background: rgba(50, 49, 49, 1);
}

.first-section .bro-team-racing {
    position: absolute;
    right: 158px;
    top: 70px;
}

.first-section .address {
    position: absolute;
    left: 55px;
    bottom: 165px;
}

.first-section .online-booking {
    box-shadow: 0 0 0 8px #f8f4ee;
    background: rgba(50, 49, 49, 1);
    border-radius: 30px;
    padding: 10px 24px;
    width: 370px;
    font-weight: 1000;
    font-size: 24px;
    color: #f8f4ee !important;
    transition: background 0.1s ease, box-shadow 0.1s ease;
    position: absolute;
    bottom: 60px;
    left: 37%;
}

.first-section .online-booking:hover {
    background: black;
    box-shadow: 0 0 0 8px #fff;
}

/* Адаптив под мобильные устройства */
@media (max-width: 1399px) {

    .first-section {
        background-image: url('../../images/landing/first-section-mobile-bg.png');
        width: 390px !important;
        height: 1241px !important;
        opacity: 1;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 6px;
        gap: 30px;
    }

    .first-section .bro-team-racing {
        position: relative;
        right: unset;
        top: unset;
        padding-top: 100px;
    }

    .first-section .left-rect {
        position: relative;
        top: unset;
        left: unset;
        gap: 10px;
        width: 100%;
    }

    .first-section .address {
        position: relative;
        left: unset;
        bottom: unset;
        width: 100%;
    }

    .first-section .address svg {
        width: 100%;
    }

    .first-section .online-booking {
        width: 330px;
        position: relative;
        bottom: unset;
        left: unset;
        font-size: 20px;
        text-align: center;
    }

    .first-section .left-rect .phones {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .first-section .left-rect h2 {
        font-size: 28px;
    }

    .first-section .left-rect a {
        padding: 15px 6px;
    }
}