/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: #C40452;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #C40452;
}

/* ===== HERO СЕКЦИЯ ===== */
.hero {
    background: linear-gradient(135deg, #C40452 0%, #8B0339 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #C40452 0%, #8B0339 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===== СЕКЦИИ ===== */
.about-section,
.features-section,
.topics-section,
.content-section {
    padding: 4rem 0;
}

.gray-bg {
    background-color: #f5f5f5;
}

.section-title {
    color: #C40452;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* ===== КАРТОЧКИ ФУНКЦИЙ ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(196, 4, 82, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #C40452;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== ТЕМЫ ОБУЧЕНИЯ ===== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #C40452;
}

.topic-card h3 {
    color: #C40452;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.topic-card ul {
    list-style: none;
}

.topic-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.topic-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C40452;
    font-weight: bold;
}

/* ===== CTA СЕКЦИЯ ===== */
.cta-section {
    background: linear-gradient(135deg, #8B0339 0%, #C40452 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #C40452;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 0.3rem 0;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #C40452;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* ===== СТРАНИЦА ABOUT ===== */
.content-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-block p {
    margin-bottom: 1.5rem;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list strong {
    color: #C40452;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.facility-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-top: 3px solid #C40452;
}

.facility-card h3 {
    color: #C40452;
    margin-bottom: 1rem;
}

.facility-card p {
    color: #666;
    line-height: 1.6;
}

.stats-section {
    background: linear-gradient(135deg, #C40452 0%, #8B0339 100%);
    color: #fff;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===== СТРАНИЦА TRAINING ===== */
.training-category {
    margin-bottom: 4rem;
}

.category-title {
    color: #C40452;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #C40452;
}

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

.course-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-header {
    background: linear-gradient(135deg, #C40452 0%, #8B0339 100%);
    color: #fff;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-header h4 {
    font-size: 1.2rem;
    margin: 0;
}

.course-level {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.course-level.advanced {
    background: rgba(255,215,0,0.3);
}

.course-content {
    padding: 1.5rem;
}

.course-content p {
    margin-bottom: 1rem;
    color: #666;
}

.course-content strong {
    color: #333;
}

.course-content ul {
    list-style: none;
    margin-top: 1rem;
}

.course-content li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: #555;
}

.course-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #C40452;
    font-weight: bold;
    font-size: 1.2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C40452 0%, #8B0339 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: #C40452;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

.certification-info {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #C40452;
}

.certification-benefits {
    margin-top: 2rem;
}

.certification-benefits h3 {
    color: #C40452;
    margin-bottom: 1rem;
}

.certification-benefits ul {
    list-style: none;
}

.certification-benefits li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.certification-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C40452;
    font-weight: bold;
}

/* ===== СТРАНИЦА BENEFITS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #C40452;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.what-you-get {
    max-width: 900px;
    margin: 2rem auto 0;
}

.get-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.get-item:last-child {
    border-bottom: none;
}

.get-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C40452;
    min-width: 80px;
}

.get-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.get-content p {
    color: #666;
    line-height: 1.6;
}

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

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #C40452;
}

.testimonial-content {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: #333;
}

.testimonial-author strong {
    color: #C40452;
}

.cta-bg {
    background: linear-gradient(135deg, #8B0339 0%, #C40452 100%);
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.cta-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-step {
    background: rgba(255,255,255,0.15);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* ===== СТРАНИЦА GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gallery-placeholder p {
    font-weight: 600;
    color: #C40452;
    margin-bottom: 0.5rem;
}

.placeholder-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.event-placeholder {
    background: linear-gradient(135deg, #C40452 0%, #8B0339 100%);
    padding: 3rem;
    text-align: center;
}

.event-placeholder .placeholder-icon {
    font-size: 4rem;
}

.event-info {
    padding: 2rem;
}

.event-info h3 {
    color: #C40452;
    margin-bottom: 1rem;
}

.event-info p {
    color: #666;
    line-height: 1.6;
}

.photo-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.photo-note h3 {
    color: #C40452;
    margin-bottom: 1rem;
}

.photo-note p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.photo-note ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.photo-note li {
    margin-bottom: 0.5rem;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .get-item {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-steps {
        flex-direction: column;
    }

    .courses-grid,
    .topics-grid,
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
