﻿/* Основные стили */
body {
    font-family: 'Arial', sans-serif;
    background-color: #89d2b2; /* Светло-зеленый фон */
    margin: 0;
    padding: 0;
    color: #333333;
    line-height: 1.6;
}

/* Верхняя панель */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #E8FDF6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .navbar.scrolled {
        background-color: #FFFFFF;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .navbar .category {
        display: inline-block;
        margin-right: 15px;
        padding: 8px 15px;
        border-radius: 25px;
        background-color: #FFFFFF;
        color: #000000;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

        .navbar .category:hover {
            background-color: #F2F9FC;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .navbar .category.active {
            background-color: #00BFA5;
            color: #FFFFFF;
            box-shadow: 0 4px 8px rgba(0, 191, 165, 0.3);
        }

    .navbar .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #FFFFFF;
        border-radius: 8px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        padding: 15px;
        display: none;
        animation: fadeIn 0.3s ease-in-out;
    }

        .navbar .dropdown-menu.show {
            display: block;
        }

    .navbar .dropdown-toggle {
        cursor: pointer;
        background-color: transparent;
        border: none;
        font-size: 14px;
        color: #000000;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .navbar .dropdown-toggle:hover {
            color: #00BFA5;
        }

        .navbar .dropdown-toggle::after {
            content: "▾";
            margin-left: 5px;
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .navbar .dropdown-toggle.active::after {
            transform: rotate(180deg);
        }

/* Главная секция */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #E8FDF6, #C8F7E4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

    .hero-section h1 {
        font-size: 48px;
        color: #000000;
        margin-bottom: 20px;
        font-weight: 700;
        letter-spacing: -1px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .hero-section img {
        max-width: 100%;
        height: auto;
        border-radius: 24px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .hero-section img:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
        }

/* Блоки с иконками */
.service-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 60px 20px;
    background-color: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

    .service-section .service-card {
        width: calc(14.28% - 20px); /* 7 блоков в строке с отступами */
        text-align: center;
        margin: 10px;
        padding: 20px;
        border-radius: 16px;
        background-color: #F8F8F8;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .service-section .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .service-section .service-card img {
            width: 100%;
            height: 100px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }

            .service-section .service-card img:hover {
                transform: scale(1.1);
            }

        .service-section .service-card p {
            font-size: 14px;
            color: #333333;
            margin-top: 10px;
            font-weight: 500;
            letter-spacing: 0.5px;
        }

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
