/* css/style.css */
:root {
    --blood-red: #8a0303;
    --dark-bg: #0a0a0a;
    --parchment: #e8dcb5;
    --gold: #b8973c;
    --stone: #4a4a4a;
    --dark-gray: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MedievalSharp', cursive;
    background-color: var(--dark-bg);
    color: var(--parchment);
    background-image: url('https://images.unsplash.com/photo-1542204165-65bf26472b9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-color: rgba(10, 10, 10, 0.9);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Навигация */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--stone);
    margin-bottom: 2rem;
}

.nav-brand {
    flex: 1;
}

.nav-title {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 2rem;
    color: var(--blood-red);
    text-decoration: none;
    text-shadow: 2px 2px 4px #000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--parchment);
    text-decoration: none;
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blood-red);
    background: rgba(138, 3, 3, 0.1);
    border-bottom: 2px solid var(--blood-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--blood-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Header */
.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.site-title {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 4rem;
    color: var(--blood-red);
    text-shadow: 3px 3px 8px #000;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.site-subtitle {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
}

/* Контент */
.page-content {
    flex: 1;
}

.intro {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--stone);
    border-radius: 5px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 0 20px rgba(138, 3, 3, 0.3);
}

.intro h2 {
    font-family: 'Cinzel Decorative', serif;
    color: var(--blood-red);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.quote {
    font-style: italic;
    border-left: 4px solid var(--gold);
    padding-left: 2rem;
    margin: 2.5rem 0;
    color: #d4c69d;
    font-size: 1.1rem;
}

.quote-author {
    text-align: right;
    color: var(--gold);
    font-weight: bold;
    margin-top: 1rem;
}

/* Кнопки */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.1rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-blood {
    background-color: var(--blood-red);
    color: white;
}

.btn-blood:hover {
    background-color: #6a0202;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 3, 3, 0.4);
}

.btn-gold {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background-color: rgba(184, 151, 60, 0.1);
    transform: translateY(-2px);
}

/* Секции */
.section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: var(--blood-red);
    border-bottom: 2px solid var(--stone);
    padding-bottom: 0.5rem;
    margin: 3rem 0 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid var(--stone);
    border-radius: 5px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(138, 3, 3, 0.4);
    border-color: var(--blood-red);
}

.card h3 {
    color: var(--gold);
    font-family: 'Cinzel Decorative', serif;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.card-link {
    color: var(--blood-red);
    text-decoration: none;
    font-family: 'Cinzel Decorative', serif;
    display: inline-block;
    margin-top: auto;
}

.card-link:hover {
    text-decoration: underline;
}

/* Формы (для контактной страницы) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-family: 'Cinzel Decorative', serif;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid var(--stone);
    border-radius: 3px;
    color: var(--parchment);
    font-family: 'MedievalSharp', cursive;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--blood-red);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px double var(--blood-red);
    color: #999;
    font-size: 0.9rem;
}

.hashtag {
    color: var(--blood-red);
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin: 1rem 0;
}

.copyright {
    margin-top: 1rem;
    line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .site-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}