/* style.css */

/* Общие стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Навигация */
.randomNavBrand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.randomNavLink, .randomNavLink2, .randomNavLink3, .randomNavLink4, .randomNavLink5 {
    margin-left: 15px;
    transition: color 0.3s ease;
}

.randomNavLink:hover, .randomNavLink2:hover, .randomNavLink3:hover, .randomNavLink4:hover, .randomNavLink5:hover {
    color: #975710 !important;
}

/* Hero секция */
.randomHeader {
    background: url('../img/5.webp') no-repeat center center;
    background-size: cover;
    position: relative;
}

.randomHeader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(140, 73, 5, 0.6); /* Полупрозрачный синий слой */
}

.randomHeader .container {
    position: relative;
    z-index: 1;
}

.randomHeader h1 {
    font-size: 3rem;
    font-weight: 700;
}

.randomHeader p {
    font-size: 1.25rem;
    margin-top: 20px;
}

.randomHeroButton {
    margin-top: 30px;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 50px;
}

/* Секции */
.randomSection1, .randomSection2, .randomSection3, .randomSection4, .randomSection5,
.randomServicesSection, .randomPrivacySection, .randomCookiesSection, .randomConfirmationSection {
    padding: 60px 0;
}

.randomSection1 h2, .randomSection2 h2, .randomSection3 h2, .randomSection4 h2,
.randomSection5 h2, .randomServicesSection h2, .randomPrivacySection h2,
.randomCookiesSection h2, .randomConfirmationSection h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.randomSection1 h2::after, .randomSection2 h2::after,
.randomSection4 h2::after, .randomServicesSection h2::after,
.randomPrivacySection h2::after, .randomCookiesSection h2::after,
.randomConfirmationSection h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #975710;
    margin-top: 10px;
}

/* Фон для альтернативных секций */
.randomSection2, .randomSection4, .randomCookiesSection {
    background-color: #ffffff;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Изображения */
.randomImage1, .randomImage2, .randomImage3, .randomServiceImage, .randomImage4 {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.randomImage1:hover, .randomImage2:hover, .randomImage3:hover, .randomServiceImage:hover, .randomImage4:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Отзывы клиентов */
.randomSection3 p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Форма Контактов */
.randomForm {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.randomForm .form-label {
    font-weight: 600;
}

.randomInput1, .randomInput2, .randomInput3 {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
    transition: border-color 0.3s ease;
}

.randomInput1:focus, .randomInput2:focus, .randomInput3:focus {
    border-color: #975710;
    box-shadow: none;
}

.randomSubmitButton {
    background-color: #975710;
    border: none;
    transition: background-color 0.3s ease;
}

.randomSubmitButton:hover {
    background-color: #0b5ed7;
}

/* Футер */
.randomFooter, .randomFooter2, .randomFooter3, .randomFooter4, .randomFooter5 {
    background-color: #343a40;
}

.randomFooter p, .randomFooter2 p, .randomFooter3 p, .randomFooter4 p, .randomFooter5 p {
    margin: 0;
}

.randomFooterLink, .randomFooterLink2, .randomFooterLink3, .randomFooterLink4, .randomFooterLink5 {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.randomFooterLink:hover, .randomFooterLink2:hover, .randomFooterLink3:hover,
.randomFooterLink4:hover, .randomFooterLink5:hover {
    color: #975710;
    text-decoration: underline;
}

/* Кнопки */
.randomBackButton, .randomStartButton {
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.randomBackButton:hover, .randomStartButton:hover {
    background-color:#975710;
    transform: translateY(-3px);
}

/* Уведомление о куки */
#cookie_note {
    background-color: rgba(52, 58, 64, 0.95);
    color: #ffffff;
    font-size: 0.9rem;
}

#cookie_note a {
    color: #975710;
    text-decoration: underline;
}

#cookie_note a:hover {
    color:#975710;
}

.cookie_accept {
    background-color: #975710;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    transition: background-color 0.3s ease;
}

.cookie_accept:hover {
    background-color: #975710;
}

/* Адаптивные стили */
@media (max-width: 992px) {
    .randomHeader h1 {
        font-size: 2.5rem;
    }

    .randomHeader p {
        font-size: 1.1rem;
    }

    .randomNavLink, .randomNavLink2, .randomNavLink3, .randomNavLink4, .randomNavLink5 {
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .randomHeader h1 {
        font-size: 2rem;
    }

    .randomHeader p {
        font-size: 1rem;
    }

    .randomSection1, .randomSection2, .randomSection3, .randomSection4,
    .randomSection5, .randomServicesSection, .randomPrivacySection,
    .randomCookiesSection, .randomConfirmationSection {
        padding: 40px 0;
    }

    .randomFooterLink, .randomFooterLink2, .randomFooterLink3,
    .randomFooterLink4, .randomFooterLink5 {
        margin-left: 10px;
    }
}

@media (max-width: 576px) {
    .randomHeader h1 {
        font-size: 1.5rem;
    }

    .randomHeader p {
        font-size: 0.9rem;
    }

    .randomHeroButton, .randomBackButton, .randomStartButton {
        width: 100%;
        text-align: center;
    }

    .randomNavLink, .randomNavLink2, .randomNavLink3,
    .randomNavLink4, .randomNavLink5 {
        margin-left: 5px;
        margin-right: 5px;
    }
}
.collapse:not(.show) {
    display: block;
}

button.navbar-toggler {
    display: none;
}.btn-primary {
     --bs-btn-color: #fff;
     --bs-btn-bg: #975710;
     --bs-btn-border-color: #975710;
     --bs-btn-hover-color: #fff;
     --bs-btn-hover-bg: #0b5ed7;
     --bs-btn-hover-border-color: #0a58ca;
     --bs-btn-focus-shadow-rgb: 49,132,253;
     --bs-btn-active-color: #fff;
     --bs-btn-active-bg: #0a58ca;
     --bs-btn-active-border-color: #0a53be;
     --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
     --bs-btn-disabled-color: #fff;
     --bs-btn-disabled-bg: #0d6efd;
     --bs-btn-disabled-border-color: #0d6efd;
 }


.cookie-banner {
    position: fixed;
    bottom: 0;
    left:25%;
    width: 60%;
    background: #020202;
    color: white;
    padding: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}