
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff; /* Светлый фон для меню */
    border-bottom: 1px solid #e0e0e0; /* Разделительная линия */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

body {
    padding-top: 80px; /* Отступ для компенсации фиксированного меню */
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.logo p {
    font-size: 12px;
    color: #666;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 20px;
}

/* Основной стиль для ссылок в меню */
.menu a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

/* Добавим анимацию при наведении */
.menu a:hover {
    color: #FFA726; /* Меняем цвет текста */
}


/* Стиль для активной ссылки */
.menu a.active {
    color: #FFA726; /* Цвет для активной ссылки */
}

/* Дополнительный стиль для анимации при клике */
.menu a:active {
    transform: scale(0.95); /* Легкий эффект нажатия */
    transition: transform 0.1s ease;
}


.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px;
    transition: all 0.3s;
}

/* Адаптивный дизайн для мобильных */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #ffffff;
        width: 200px;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .menu.active {
        display: flex;
    }

    .burger {
        display: flex;
    }
}







.hero {
    background: url('img/background-image.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Тёмный полупрозрачный фон */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); /* Легкая тень для выделения текста */
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); /* Легкая тень для выделения текста */
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Основной стиль для кнопок */
.btn {
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

/* Цвет кнопки "Бесплатная консультация" */
.consultation-btn {
    background-color: #FFA726;
    animation: pulse 1.75s infinite ease-in-out; /* Анимация пульсации */
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Увеличение размера */
    }
    100% {
        transform: scale(1);
    }
}


/* Остановка анимации при наведении */
.consultation-btn:hover {
    animation: none;
}




/* Цвета для каждой кнопки */
.call-btn {
    background-color: #FFA726;
}

.whatsapp-btn {
    background-color: #4CAF50;
}

/* Анимация при наведении */
.btn:hover {
    transform: scale(1.05); /* Легкое увеличение */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Тень */
}

/* Анимация при нажатии */
.btn:active {
    transform: scale(0.95); /* Легкий эффект сжатия */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Слегка уменьшенная тень */
}






/* Модальное окно */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Устанавливаем высокий z-index для модального окна */
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
}


.modal-content h2 {
    text-align: center;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-content input, .modal-content button {
    padding: 10px;
    font-size: 16px;
}

.modal-content button {
    background-color: #FFA726;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.modal-content button:hover {
    background-color: #FFA726;
}

.close {
    position: flex;
    top: 20px;
    right: 20px;
    font-size: 34px;
    cursor: pointer;
    z-index: 1002;
}






.consultation-btn {
    background-color: #FFA726;
    color: #fff;
}

.whatsapp-btn {
    background-color: #4CAF50;
    color: #fff;
}








.services {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.services h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Основной стиль для карточек услуг */
.service-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px; /* Скругление углов карточек */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении на карточку */
.service-card:hover {
    transform: translateY(-10px); /* Поднятие карточки */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Увеличение тени */
}

/* Скругление углов изображений внутри карточек */
.service-card img {
    height: 130px;
    width: 130px;
    border-radius: 50%; /* Полное скругление изображения */
    transition: transform 0.3s ease;
}

/* Дополнительный эффект для изображения при наведении на карточку */
.service-card:hover img {
    transform: scale(1.05); /* Легкое увеличение изображения */
}

.service-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #666;
}





.about-us {
    display: flex;
    align-items: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.about-content {
    flex: 1;
    padding-right: 20px;
}
.about-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center; /* Центрируем заголовок */
}

.about-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.about-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.about-content li {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.more-link {
    font-size: 16px;
    color: #FFA726;
    text-decoration: none;
    font-weight: bold;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
}






.our-team {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.our-team h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.team-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
}

/* Основной стиль для карточек команды */
.team-card {
    min-width: 300px;
    max-width: 300px;
    background-color: #ffffff;
    border-radius: 12px; /* Скругление углов карточек */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении на карточку команды */
.team-card:hover {
    transform: translateY(-10px); /* Поднятие карточки */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Увеличение тени */
}

/* Скругление углов изображений внутри карточек */
.team-card img {
    width: 100%;
    height: auto;
    border-radius: 50%; /* Полное скругление изображения */
    transition: transform 0.3s ease;
}

/* Дополнительный эффект для изображения при наведении на карточку */
.team-card:hover img {
    transform: scale(1.05); /* Легкое увеличение изображения */
}

.team-card h3 {
    font-size: 20px;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

.team-card p {
    font-size: 17px;
    color: #666;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-controls button {
    background-color: #FFA726;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}



.prices {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.prices h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.accordion-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.accordion-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button::after {
    content: "⌄";
    font-size: 18px;
    color: #FFA726;
    transition: transform 0.3s;
}

.accordion-button.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #ffffff;
}

.accordion-content ul {
    list-style: none;
    padding: 20px;
}

.accordion-content li {
    font-size: 16px;
    color: #666;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.accordion-content span {
    font-weight: bold;
    color: #333;
}








.contacts {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.contacts h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.contact-item {
    flex: 1 1 250px;
    max-width: 250px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
    font-size: 14px;
    color: #ccc;
}

.footer-content a {
    color: #FFA726;
    text-decoration: none;
}



/* Увеличение логотипа и текста кнопок на ПК */

@media (min-width: 768px) {
    /* Увеличение логотипа */
    .logo img {
        height: 80px; /* Замените на нужный размер */
    }
}












/* Стиль для кнопки с изображением */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
    z-index: 100;
    cursor: pointer;
    animation: pulse 1s infinite ease-in-out; /* Пульсирующая анимация */
}

/* Стили для изображения внутри кнопки */
.floating-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Остановка анимации при наведении */
.floating-button:hover {
    animation: none;
}
