/* Основные переменные */
:root {
    --primary-color: #d4af37; /* Золотой */
    --secondary-color: #1a1a1a; /* Черный */
    --accent-color: #2d5016; /* Темно-зеленый */
    --light-green: #4a7c24; /* Светло-зеленый */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Мобильное меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Основной контент */
.main {
    padding-top: 0;
}

/* Героическая секция */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 100vh;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--text-light);
}

/* Секция особенностей */
.features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-dark);
    opacity: 0.8;
}

/* Секция о нас */
.about-preview {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 175, 55, 0.2);
    z-index: 1;
}

/* Футер */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-nav a {
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-copyright {
    text-align: right;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Изображение страницы */
.page-image {
    padding: 2rem 0;
    background: var(--bg-light);
}

.page-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Хлебные крошки */
.breadcrumbs {
    background: var(--bg-light);
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-dark);
    opacity: 0.6;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-list a::after {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-image {
        height: 50vh;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-nav ul {
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .features, .about-preview {
        padding: 3rem 0;
    }
}

/* Дополнительные стили для внутренних страниц */
.page-header {
    background: var(--secondary-color);
    padding: 6rem 0 3rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.9;
}

.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Карточки публикаций */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.publication-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.publication-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.publication-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.publication-content {
    padding: 1.5rem;
}

.publication-title {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.publication-excerpt {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.publication-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.6;
}

.publication-author {
    color: var(--primary-color);
    font-weight: 500;
}

/* Форма контактов */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Карточки авторов */
.author-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.author-header {
    background: var(--accent-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.author-title {
    opacity: 0.9;
    font-size: 1.1rem;
}

.author-content {
    padding: 2rem;
}

.author-bio {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.author-bio ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.author-bio li {
    margin-bottom: 0.5rem;
}

.author-publications {
    margin-top: 2rem;
}

.author-publications h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.author-publications ul {
    list-style: none;
}

.author-publications li {
    margin-bottom: 0.5rem;
}

.author-publications a {
    color: var(--primary-color);
    text-decoration: none;
}

.author-publications a:hover {
    text-decoration: underline;
}

/* Стили для статей */
.article-header {
    text-align: center;
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.9rem;
}

.article-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-meta a:hover {
    text-decoration: underline;
}

.article-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-intro {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-content h2 {
    color: var(--accent-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.article-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.article-tags span {
    font-weight: 600;
    color: var(--accent-color);
}

.article-tags a {
    background: var(--bg-light);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.article-tags a:hover {
    background: var(--accent-color);
    color: white;
}

/* Стили для страницы О нас */
.team-section {
    margin-top: 4rem;
}

.team-section h2 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-info h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-info p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Стили для страницы контактов */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2 {
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.contact-form-section h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.faq-item p {
    margin: 0;
    opacity: 0.8;
}

/* Стили для списка публикаций автора */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.publication-item h3 {
    margin-bottom: 0.5rem;
}

.publication-item h3 a {
    color: var(--accent-color);
    text-decoration: none;
}

.publication-item h3 a:hover {
    text-decoration: underline;
}

.publication-item p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.publication-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
} 

.values-section {
    background: #111;
    color: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

/* Стили для блока миссии */
.mission-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-green) 100%);
    color: var(--text-light);
    padding: 3rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.mission-section h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mission-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

.mission-section p:last-child {
    margin-bottom: 0;
}

/* Анимация при наведении */
.mission-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
} 