@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap');

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 200px;
}

body {
    margin: 0;
    font-family: 'Geologica', sans-serif;
}

.all-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.div-all-info {
    max-width: 85vw;
}

header {
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.header-background {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 999;
}

.btn-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #ffffff5b;
    z-index: 1000;

}

/* Бургер-меню */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
    margin-right: 20px;
}

.burger-menu {
    display: flex;
    justify-content: right;
    align-items: center;
}

.burger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #2E6F40;
    transition: all 0.3s ease;
}

.burger-nav {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1000;
    padding: 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: min-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.burger-nav a {
    color: #2E6F40 !important;
    font-size: 18px !important;
    padding: 10px !important;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    text-align: center;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.burger-nav.active {
    right: 0;
}

.burger-nav.active a {
    text-align: center;
}

.header-container {
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    width: 100%;
    justify-content: space-around;
    max-width: 100vw;
    background-color: #ffffff3f;

}

.header-info {
    display: flex;
    align-items: center;
    margin-right: 3vw;

}

.header-info-exc {
    display: flex;
    flex-direction: column;
}

.header-info-exc a {
    text-decoration: none;
    color: #ffffff;
}

.header-info-wa a {
    color: white;
    font-size: 20px;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #8b8b8b1a;
    border-radius: 50%;
    text-decoration: none;
    margin-right: 10px;
}

.filler {
    visibility: hidden;
}

.header-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    width: 35px;
}

.header-logo h1 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
}

.logo-highlight {
    color: #ffffff;
}

.header-logo h3 {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
}

.button {
    display: flex;
    gap: 40px;
    /* background-color: #e4e4e4; */

    border-radius: 7px;
    box-sizing: border-box;
    justify-content: center;
    max-width: auto;
    justify-self: center;
}

.button a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.3s;
    font-family: "Geologica", sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    /* Jost, Source Sans 3, Montserrat, Noto Sans, Nunito Sans, Ubuntu */

}

.about-banner {
    position: absolute;
    z-index: 997;
    width: 100%;
    height: 430px;
    padding-top: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-banner-text {
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
}

.about-banner h1 {
    color: white;
    font-size: 40px;
    font-family: "Geologica";
    margin: 0;
}

.about-banner p {
    margin: 0;
    color: white;
    font-size: 40px;
    font-family: "Geologica";
}

.slider-section {
    min-width: 100%;
}

.fullwidth-slider {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.fullwidth-slider-docs {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    height: 100%;
    width: calc(100% * var(--slides-count));
    /* Динамическая ширина */
    will-change: transform;
    /* Улучшает производительность анимации */
}

.slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    backface-visibility: hidden;
    /* Убирает артефакты при анимации */
    transform: translateZ(0);
    /* Аппаратное ускорение */
}

.slide-1 {
    background-image: url('assets/img/slider/DSC05069.jpg');
    filter: brightness(60%);
}

.slide-2 {
    background-image: url('assets/img/slider/DSC05120.jpg');
    filter: brightness(60%);
}

.slide-3 {
    background-image: url('assets/img/slider/DSC05444.jpg');
    filter: brightness(60%);
}

.scroll-container-wrap {
    display: flex;
    justify-content: center;
    width: 100vw;
}

.scroll-container {
    z-index: 995;
    width: 100vw;
    height: min-content;
    margin-top: -60px;
    overflow-x: auto;
    /* Горизонтальный скролл */
    overflow-y: hidden;
    scrollbar-width: none;
    /* Убираем скроллбар в Firefox */
    -webkit-overflow-scrolling: touch;
    /* Плавный скролл на iOS */
    cursor: grab;
    /* Курсор "рука" при наведении */
    padding-bottom: 20px;
}

/* Убираем скроллбар в Chrome/Safari */
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Лента с блоками */
.advantages-banner {
    border-radius: 15px;
    width: 100%;
    z-index: 995;
    box-sizing: border-box;
    display: inline-flex;
    /* Располагаем блоки в строку */
    gap: 15px;
    /* Отступы по краям */
    white-space: nowrap;
    /* Запрещаем перенос блоков */
    transition: transform 0.5s ease-out;
}

/* Стили для каждого блока (ваши, с небольшими правками) */
.advantage {
    z-index: 995;
    display: flex;
    /* Чтобы блоки не сжимались */
    border-radius: 15px;
    background-color: #ffffff;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-user-select: none;
    /* Chrome, Safari, Opera */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer и Edge */
    user-select: none;
    /* Стандарт */
    -webkit-touch-callout: none;
}

.advantage-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-img img {
    width: 90px;
    padding: 10px;
}

.advantage-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 15px;
    padding-right: 10px;
}

.advantage-text strong {
    font-size: 35px;
}

.advantage-text p {
    font-size: 25px;
    margin: 0;
}

.section-title {
    text-align: center;
    font-weight: 500;
    box-sizing: border-box;
    padding: 15px;
    margin-top: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #2E6F40;
}

.feature-card h3 {
    margin-top: 3px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.feature-content {
    transition: all 0.4s ease;
    color: #2E6F40;
}

.feature-content p {
    margin: 0;
}

.feature-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 15px;
    background-color: rgba(187, 225, 250, 0.2);
    border-radius: 0 0 8px 8px;
    margin: 15px -25px -25px -25px;
}

.feature-card.active {
    box-shadow: 0 10px 25px rgba(0, 91, 150, 0.15);
}

.feature-card.active .feature-details {
    max-height: 1000px;
    padding: 15px;
    margin-top: 15px;
}

.feature-card.active .feature-content p:first-child {
    color: #2E6F40;
}

.feature-details ul {
    padding-left: 20px;
    margin: 10px 0;
}

.feature-details li {
    margin-bottom: 5px;
}

.feature-button {
    color: #2E6F40;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contacts-section {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    width: 85vw;
}

.contacts-container {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    width: 100%;
}

.obama {
    display: flex;
    align-items: center;
    justify-content: center;
}


.contacts-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(8px, 2vw, 20px);
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
    width: 100%;
    min-width: min-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    align-items: start;
}


.contact-icon {
    color: #2E6F40;
    align-self: flex-start;
    font-size: 33px;
    min-width: 33px;
    text-align: center;
}


.contact-group {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    min-height: 60px;
}


.contact-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.contact-text a {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    word-break: break-word;
    color: #000000;
}

.contact-text p {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    word-break: break-word;
}

.contact-text strong {
    display: block;
    font-weight: 600;
    font-size: 23px;
    margin-bottom: clamp(2px, 0.5vh, 6px);
}

.contacts-map {
    border-radius: 15px;
    width: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}

.map-iframe {
    height: clamp(200px, 40vw, 400px);
    border-radius: 15px;
    border: none;
    width: 100%;
}

.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 40px;
    font-family: Geologica;
    margin-top: 0px;
}

.about-content {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: -7px;
    margin-bottom: -3px;
    width: 100%;
}

.about-content h2 {
    font-size: 2rem;
    line-height: 40px;
    margin: 0;
    margin-bottom: 10px;
}

.about-content strong {
    color: #2E6F40;
}

.about-content p {
    margin: 0;
    font-weight: 500;
}

.about-content ul {
    margin: 0;
    font-weight: 500;
    margin-bottom: 10px;
}

.about-content h3 {
    margin-bottom: 0px;
    margin-top: 10px;
}

.feature {
    font-weight: 500;
}

.service-features {
    padding-left: 17px;
}

.toggle-text-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 15px;
    display: none;
    font-family: geologica;
    /* По умолчанию скрыта */
}

.toggle-text-btn:hover {
    background: #1a252f;
}

.icon {
    color: #2E6F40;
    font-weight: 1000;
}

/* Футер */
footer {
    background-color: #2E6F40;
    color: white;
    padding: 20px 0 0;
    margin-top: 60px;
    font-family: 'Geologica', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 85vw;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.footer-logo-ect {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    margin-left: 15px;
}

.footer-logo-img {
    width: 50px;
    align-self: center;
}

.footer-logo h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.footer-logo p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-links h4,
.footer-contacts h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contacts h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    opacity: 0.8;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    white-space: normal;
}

.contact-item i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-item p {
    margin: 0;
}

.contact-item span {
    font-size: 15px;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
}

.social-icons a:hover {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

.privacy-link {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.privacy-link:hover {
    opacity: 1;
}



@media (max-width: 1770px) {
    .advantage-img img {
        width: 85px;
    }

    .advantage-text strong {
        font-size: 32px;
    }

    .advantage-text p {
        font-size: 23px;
    }
}

@media (max-width: 1650px) {
    .advantage-img img {
        width: 80px;
    }

    .advantage-text strong {
        font-size: 29px;
    }

    .advantage-text p {
        font-size: 20px;
    }
}

@media (max-width: 1540px) {
    .advantage-img img {
        width: 75px;
        height: 75px;
    }

    .advantage-text strong {
        font-size: 27px;
    }

    .advantage-text p {
        font-size: 18px;
    }
}

@media (max-width: 1370px) {
    .advantage-img img {
        width: 65px;
        height: 65px;
    }

    .advantage-text strong {
        font-size: 22px;
    }

    .advantage-text p {
        font-size: 15px;
    }

    .advantage {
        padding: 10px;
    }
}

@media (max-width: 1300px) {
    .header-container {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .contacts-container {
        flex-direction: column;
        align-items: center;
    }

    .contacts-map {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .fullwidth-slider {
        height: 450px;
    }

    .fullwidth-slider-docs {
        height: 350px;
    }

    .about-banner p {
        font-size: 30px;
    }

    .about-banner {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .header-info {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-logo {
        grid-column: span 2;
    }

    .fullwidth-slider {
        height: 400px;
    }

    .fullwidth-slider-docs {
        height: 250px;
    }

    .filler {
        display: block;
        visibility: hidden;
    }

    .btn-header {
        display: none;
    }

    .button {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    header {
        gap: 10px;
        justify-content: center;
    }

    .service-features {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .button {
        max-width: 1000000px;
    }

    .header-container {
        max-width: 100000px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .about-section {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }

    .about-content {
        font-size: 1rem;
        text-align: left;
        margin: 0;
        margin-top: -8px;
    }

    header {
        padding: 0;
    }

    .header-logo-container {
        padding-top: 15px;
    }

    .button {
        width: 100%;
        justify-content: center;
        border-radius: 0;
    }

    .contacts-info {
        grid-template-columns: 1fr;
    }

    .about-banner {
        height: 275px;
        padding-top: 65px;
    }
}


@media (max-width: 536px) {
    .advantage-img img {
        width: 45px;
        height: 45px;
        padding: 0;
    }

    .advantage-text strong {
        font-size: 19px;
    }

    .advantage-text p {
        font-size: 13px;
    }

    .advantage-text {
        padding: 0;
        padding-left: 10px;
    }

    .fullwidth-slider {
        height: 300px;
    }

    .about-banner p {
        font-size: 20px;
    }

    .about-banner {
        padding-top: 65px;
        height: 200px;
    }

    .scroll-container {
        margin-top: -35px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        grid-column: span 1;
    }

    .footer {
        padding-top: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

    .button a {
        padding: 8px 10px;
    }

    .about-content h2 {
        font-size: 25px;
        margin-bottom: 5px;
    }

    .about-content h2 {
        font-size: 25px;
    }

    .contact-text strong {
        font-size: 20px;
    }

    .contact-text p {
        font-size: 17px;
    }

    .contact-text a {
        font-size: 17px;
    }
}

/* min-width */

@media (min-width: 768px) {
    .contacts-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .additional-paragraphs {
        display: none;
    }

    .additional-paragraphs.show {
        display: block;
    }

    .toggle-text-btn {
        display: inline-block;
    }

    header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .slide {
        font-size: 24px;
    }

    .contacts-info {
        grid-template-columns: 1fr 1fr;
    }


}

@media (min-width: 1100px) {
    .contacts-info {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 100%;
    }

    .map-iframe {
        height: 100%;
    }

    .contacts-map {
        height: 100%;
    }
}

@media(min-width: 1921px) {
    .header-logo h1 {
        font-size: 1.3vw;
    }

    .logo {
        width: 1.5vw;
    }

    .header-logo-container {
        gap: 0.5vw;
    }

    .button a {
        font-size: 0.8vw;
    }
}