:root {
    --primary: #8B0000;
    --secondary: #D4AF37;
    --dark: #222222;
    --light: #F8F8F8;
    --accent: #4B5320;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.7;
    color: var(--text);
    background-color: #FAF5E6;
    background-image: url('./paper.png');
    font-size: 1.1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('./banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    border-bottom: 5px solid var(--secondary);
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--secondary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--secondary);
    bottom: -15px;
    left: 0;
}

h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.lead {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 18px 36px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 0;
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    margin: 25px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.2);
}

section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
}

.section-dark {
    background-color: rgba(139, 0, 0, 0.05);
    border-bottom: none;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    flex: 1 1 350px;
    background: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    flex: 1 1 350px;
    background: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 6rem;
    color: rgba(139, 0, 0, 0.1);
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-author {
    font-weight: 700;
    margin-top: 25px;
    color: var(--primary);
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-role {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
}

.faq-item {
    margin-bottom: 40px;
    background: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
}

.timeline:after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 15px 50px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    right: -15px;
    background-color: white;
    border: 5px solid var(--secondary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right:after {
    left: -15px;
}

.timeline-content {
    padding: 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-year {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

footer {
    background: var(--dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 30px 0;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.cta-box {
    background: linear-gradient(rgba(139, 0, 0, 0.85), rgba(139, 0, 0, 0.85)), url('./banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px;
    text-align: center;
    border-radius: 5px;
    margin: 80px 0;
}

.cta-box h2 {
    color: var(--secondary);
}

.cta-box h2:after {
    background: white;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 50px 0;
    text-align: center;
}

.stat-item {
    flex: 1 1 200px;
    margin: 20px;
    padding: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--dark);
}

.content-rich {
    max-width: 800px;
    margin: 0 auto;
}

.content-rich p {
    margin-bottom: 25px;
}

.content-rich ul, .content-rich ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.content-rich li {
    margin-bottom: 10px;
}

.forum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.moderation-policy {
    background: white;
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 50px;
}

.policy-item {
    margin-bottom: 30px;
}

.policy-item h4 {
    color: var(--accent);
}

.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    .lead {
        font-size: 1.5rem;
    }
    
    .timeline:after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:after {
        left: 18px;
    }
    
    .left:after, .right:after {
        left: 18px;
    }
    
    .right {
        left: 0%;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
    
    section {
        padding: 60px 0;
    }
}
