/* ===================== sitemap.css ===================== */

/* Общие стили для секции sitemap */
#sitemap {
    padding: 60px 15px;
    background-color: #1a1c21;
    color: #b2b4bb;
    min-height: 10vh;
    align-items: center;
    justify-content: center;
}

#sitemap .container {
    max-width: 1000px;
    text-align: center;
}

#sitemap h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: fade-in-up 1s ease forwards;
}

#sitemap p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: #b2b4bb;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 3fr));
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 1s ease forwards;
    animation-delay: 0.5s;
}

.sitemap-item {
    background-color: #2b2f38;
    border-radius: 12px;
    padding: 30px 20px;
    color: #e8732e;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sitemap-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.sitemap-item span {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sitemap-item:hover {
    background-color: #3a3f4b;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.sitemap-item:hover i,
.sitemap-item:hover span {
    color: #fff;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    #sitemap h1 {
        font-size: 2.5rem;
    }

    #sitemap p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .sitemap-item {
        padding: 20px 15px;
    }

    .sitemap-item i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .sitemap-item span {
        font-size: 1rem;
    }
}

/* Анимации */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}