/* author.css */

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

/* Общие стили */
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;
}

/* Стили для биографии автора */
.author-bio-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.author-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #b8860b;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.author-info p {
    font-size: 1.1em;
}

/* Стили для социальных сетей */
#social-media .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

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

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

.social-links ion-icon {
    font-size: 4em;
    color: #b8860b;
    transition: transform 0.3s ease;
}

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

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

/* Стили для других проектов */
.other-projects-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-left: 4px solid #b8860b;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.other-projects-content ul {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.other-projects-content li {
    margin-bottom: 15px;
}

.other-projects-content a {
    color: #b8860b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.other-projects-content a:hover {
    color: #daa520;
    text-decoration: underline;
}

/* Футер */
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;
    }
    .author-bio-flex {
        flex-direction: column;
        text-align: center;
    }
}