/* ===== ГЛАВНЫЙ ФАЙЛ СТИЛЕЙ ===== */
/* Импорт переменных */
@import url('variables.css');

/* Импорт базовых стилей */
@import url('base.css');

/* Импорт типографики */
@import url('typography.css');

/* Импорт анимаций */
@import url('animations.css');

/* Импорт компонентов */
@import url('components/buttons.css');
@import url('components/table.css');
@import url('components/gallery.css');
@import url('components/chat.css');

/* Импорт стилей страниц */
@import url('pages/home.css');
@import url('pages/about.css');

/* ===== КЛАСС ДЛЯ ИЗМЕНЕНИЯ РАЗМЕРА ===== */
.change-size {
    --background-size: 80%;
}

/* ===== МЕНЮ DATA SCIENCE ===== */
.ds-menu {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 30px 420px 30px 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.ds-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ds-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.ds-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.ds-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.ds-desc {
    font-size: 12px;
    opacity: 0.8;
    text-align: center;
}

/* Стили для информационных карточек на страницах */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
    max-width: calc(100% - 450px);
    margin-right: 20px;
    margin-bottom: 20px;
}

.info-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: var(--primary-green, #3dff23);
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

.info-card p {
    color: #fff;
    line-height: 1.6;
    font-size: 16px;
}

/* Стили для списка функций */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Стили для ссылок возврата */
.back-link {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.back-link a {
    color: var(--primary-color, #2c3e50);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--accent-color, #3498db);
}
