/* Стили для тематики Cult Mechanicus */
:root {
    --mech-red: #8B0000;
    --mech-dark: #1a1a1a;
    --mech-metal: #5a5a5a;
    --mech-gold: #b8860b;
    --mech-light: #d3d3d3;
}

body {
    background-color: var(--mech-dark);
    color: var(--mech-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-navbar {
    background-color: var(--mech-dark);
    border-bottom: 1px solid var(--mech-red);
}

.navbar-brand {
    color: var(--mech-red) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--mech-light) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--mech-red) !important;
}

.custom-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 2px solid var(--mech-red);
}

.header-title {
    color: var(--mech-red);
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: bold;
}

.header-subtitle {
    color: var(--mech-light);
    font-size: 1.5rem;
    margin-top: 1rem;
}

.carousel-container {
    margin: 3rem auto;
    max-width: 900px;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
    filter: sepia(0.3) contrast(1.1);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-left: 3px solid var(--mech-red);
    padding: 1rem;
}

.articles-section {
    padding: 3rem 0;
    background-color: rgba(26, 26, 26, 0.9);
}

.section-title {
    color: var(--mech-red);
}

.article-card {
    background-color: var(--mech-dark);
    border: 1px solid var(--mech-metal);
    border-radius: 5px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
    border-color: var(--mech-red);
}

.article-title {
    color: var(--mech-red);
    border-bottom: 1px solid var(--mech-metal);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.custom-footer {
    background-color: var(--mech-dark);
    border-top: 1px solid var(--mech-red);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-title {
    color: var(--mech-red);
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--mech-light);
}

.footer-divider {
    border-color: var(--mech-metal);
}

.btn-mech {
    background-color: var(--mech-red);
    color: var(--mech-light);
    border: none;
    transition: background-color 0.3s;
}

.btn-mech:hover {
    background-color: #6a0000;
    color: var(--mech-light);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .articles-section {
        padding: 2rem 0;
    }
}
