/* about.css */

/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Roboto:wght@300;400;700&display=swap');

/* Основные стили (перенесены из index.css) */
body {
    font-family: 'Merriweather', serif;
    background-color: #0c0c0c;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Навигационное меню */
.navbar {
    background-color: rgba(15, 15, 15, 0.95);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.nav-logo {
    color: #b8860b;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #daa520;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.nav-links a:hover {
    color: #b8860b;
}

/* Общие стили для секций */
.section-title {
    font-size: 2.2em;
    color: #b8860b;
    border-bottom: 2px solid #b8860b;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

.section-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

/* Стили для метаданных книги */
.book-meta ul {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.book-meta li {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Стили для раздела "Читать онлайн" */
.read-online-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.read-online-links a {
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.read-online-links a:hover {
    color: #b8860b;
}

.read-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #b8860b;
    transition: transform 0.3s ease;
}

.read-online-links a:hover .read-icon {
    transform: scale(1.1);
}

.read-online-links p {
    font-family: 'Roboto', sans-serif;
    margin-top: 10px;
}

/* Стили для раздела "Ключевые особенности" */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background-color: #1a1a1a;
    padding: 25px;
    border-left: 4px solid #b8860b;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #b8860b;
    margin-top: 0;
    font-family: 'Roboto', sans-serif;
}

/* Стили для раздела "Где купить" */
.buy-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.buy-links a {
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.buy-links a:hover {
    color: #b8860b;
}

.buy-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #b8860b;
    transition: transform 0.3s ease;
}

.buy-links a:hover .buy-icon {
    transform: scale(1.1);
}

.buy-links p {
    font-family: 'Roboto', sans-serif;
    margin-top: 10px;
}

/* Футер */
footer {
    text-align: center;
    padding: 20px;
    background-color: #121212;
    margin-top: 0;
    font-size: 0.9em;
    color: #666;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 15px;
    }
    .nav-links a {
        margin: 0 10px;
    }
}