/* ===== Уникальные стили страницы "О нас" ===== */

.content-section {
    padding: 5rem 0;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

/* ===== HISTORY SECTION ===== */
.history-section {
    background: #fff;
}

.history-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(166, 16, 51, 0.15);
}

.history-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.history-image:hover img {
    transform: scale(1.05);
}

.history-timeline {
    margin-top: 2rem;
}

.timeline-item {
    padding: 1.5rem;
    border-left: 3px solid var(--primary-red);
    margin-left: 1rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 1.5rem;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--primary-red);
    border: 3px solid #fff;
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: #666;
    line-height: 1.7;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: #fff;
}

.team-card {
    text-align: center;
    padding: 2rem;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--bg-cream);
    box-shadow: 0 10px 30px rgba(166, 16, 51, 0.15);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--footer-red) 100%);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-cream);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(254, 247, 231, 0.8);
    font-size: 1rem;
    letter-spacing: 1px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--bg-cream);
    padding: 5rem 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--footer-red) 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
    color: var(--text-cream);
}

.cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--text-cream);
    color: var(--primary-red);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--primary-red);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--text-cream);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 2px solid var(--text-cream);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-secondary:hover {
    background: var(--text-cream);
    color: var(--primary-red);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    /* .media-section { padding: 3rem 0; }   // чатик сказал эти строки удалить, но я не уверен чето, в чем был уверен то удалил
    .media-card { padding: 2rem 1.5rem; }
    .media-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .media-card h4 { font-size: 1.2rem; }
    .media-title { font-size: 0.9rem; } */
    .stat-number { font-size: 2.5rem; }
    .cta-box h2 { font-size: 1.8rem; }
    .timeline-item { padding: 1rem; }
    .timeline-year { font-size: 1.2rem; }
}