/* about.css */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: auto;
}

/* about.css - добавьте в стили .about-trigger */
.about-trigger {
    display: flex;
    flex-direction: row; /* Изменяем на row чтобы элементы были в строке */
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    width: 95%;
    border: 2px solid #eee;
    max-width: 500px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-top: 5%;
    padding: 0.5rem 0; /* Добавляем отступы */
    gap: 1.5rem; /* Расстояние между иконкой и текстом */
}

.about-trigger-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Делаем иконку белой */
}



.about-title {
    font-family: 'soviet', Arial, sans-serif;
    font-size: clamp(28px, 4vw, 35px);
    color: white;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.about-subtitle {
    font-family: 'forum', Arial, sans-serif;
    font-size: clamp(12px, 1.8vw, 15px); /* Уменьшил максимальный размер */
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
}

/* Остальные стили модального окна */
.about-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.about-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1b1c1d;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-close-btn:hover {
    background-color: #f0f0f0;
}

/* Карта */
.about-map-container {
    width: 100%;
    height: 300px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.about-map {
    width: 100%;
    height: 100%;
}

/* Контент */
.about-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.about-text h3 {
    font-family: 'soviet', Arial, sans-serif;
    font-size: 2rem;
    color: #1b1c1d;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-text p {
    font-family: 'forum', Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'acrobat', Arial, sans-serif;
    font-size: 1rem;
}

.feature-icon {
    color: #1b1c1d;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Адаптация для мобильных - ОБНОВЛЕННЫЕ СТИЛИ */
@media (max-width: 768px) {
    .about-modal {
        padding: 0;
        align-items: stretch;
    }
    
    .about-modal-content {
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        max-width: 100%;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .about-map-container {
        border-radius: 0;
        height: 250px;
        flex-shrink: 0;
    }
    
    .about-content {
        padding: 1.5rem;
        gap: 1.5rem;
        flex: 1;
        overflow-y: auto;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-close-btn {
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(255, 255, 255, 0.9);
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    /* Убедимся, что изображение тоже адаптируется */
    .about-image img {
        height: 200px;
    }
}

@media (min-width: 769px) {
    .about-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .about-image {
        flex: 0 0 300px;
    }
    
    .about-text {
        flex: 1;
    }
}



/* Футер */
.footer {
    width: 100%;
    padding: 2rem 0;
    background-color: #3a0000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-link {
    text-decoration: none;
    color: white;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-title {
    display: block;
    font-family: 'soviet', Arial, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-subtitle {
    display: block;
    font-family: 'forum', Arial, sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.footer-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-subtitle {
        font-size: 0.8rem;
    }
}



/* Адаптация для мобильных */
@media (max-width: 768px) {
    .about-trigger {
        flex-direction: row;
        gap: 0;
        width: 90%;
        margin-top: 4%;
    }
    
    .about-icon {
        width: 40px;
        height: 40px;
    }
}