/* Объединенные стили для главной страницы (index.html) */

/* Стили для секции с фотографией */
.about-photo-section {
    padding: 30px 0;
    background-color: #fff;
}

.about-photo-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

.photo-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-photo-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.about-photo-img:first-child {
    position: relative;
    opacity: 1;
}

.about-photo-img.active {
    opacity: 1;
}

.about-photo-content {
    flex: 1;
}

.about-photo-content h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-photo-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Адаптивность для секции с фотографией */
@media (max-width: 992px) {
    .about-photo-container {
        flex-direction: column;
        align-items: center;
    }
    
    .about-photo-content {
        text-align: center;
    }
}

@media (min-width: 993px) {
    .info-section .info-section-img {
        position: sticky;
        top: 24px;
    }
}

@media (max-width: 576px) {
    .about-photo-section {
        padding: 20px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-photo-img {
        transition: none;
    }
}

/* Стили для информационной секции */
.info-section {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.info-section h1,
.info-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.8rem;
}

.info-block-container {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.info-block-wrapper {
    padding: 30px;
}

.info-section-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.info-section-text {
    flex: 1;
    min-width: 0;
    padding-left: 30px;
}

.info-section-img {
    flex: 1;
    position: relative;
    max-width: 450px;
}

.info-section-img img {
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-section-text h1,
.info-section-text h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
}

.info-section-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-section-text .profile-role {
    max-width: 720px;
    margin: -8px 0 24px;
    color: var(--accent-text-color);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
}

.profile-copy > p {
    color: #333;
}

.info-section-text .profile-lead {
    padding: 20px 22px;
    background-color: #fff;
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.07);
    font-size: 1.05rem;
}

.info-section-text .profile-section-title {
    position: relative;
    margin: 34px 0 14px;
    padding-bottom: 9px;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 600;
}

.profile-section-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 3px;
    background-color: var(--accent-color);
    content: '';
}

.info-section-text .profile-welcome {
    margin: 30px 0 0;
    padding: 20px 22px;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.18);
    font-size: 1.08rem;
}

.info-features {
    margin-top: 30px;
}

.info-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-feature-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-feature-text h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-feature-text p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* Блок с опытом работы */
.experience-block {
    position: relative;
    margin-top: 20px;
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    color: #fff;
}

.experience-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.experience-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    filter: brightness(0) invert(1);
}

/* Адаптивность для информационной секции */
@media (max-width: 992px) {
    .info-section-container {
        flex-direction: column;
    }
    
    .info-section-img {
        margin-bottom: 30px;
        max-width: 100%;
    }
    
    .info-section-text {
        padding-left: 0;
    }
    
    .experience-block {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .info-section h1,
    .info-section h2,
    .info-section-text h1,
    .info-section-text h2 {
        font-size: 1.65rem;
    }

    .info-section-text .profile-role {
        margin-bottom: 20px;
        font-size: 0.98rem;
    }

    .info-section-text .profile-lead,
    .info-section-text .profile-welcome {
        padding: 17px;
    }

    .profile-section-title {
        font-size: 1.3rem;
    }

    .info-feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Стили для секции аккредитации */
.accreditation-section {
    background-color: var(--primary-color);
    padding: 40px 0;
    color: #fff;
}

.accreditation-section h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.accreditation-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.accreditation-option {
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 5px;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 150px;
    display: inline-block;
    text-align: center;
}

.accreditation-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.accreditation-option.accent {
    background-color: var(--accent-color);
    color: #fff;
}

.accreditation-caption {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

/* Стили для нумерованных пунктов */
.accreditation-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.accreditation-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.accreditation-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.accreditation-item-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 20px;
    line-height: 1;
}

.accreditation-item-content h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.accreditation-item-content p {
    margin-bottom: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Адаптивность для секции аккредитации */
@media (max-width: 768px) {
    .accreditation-item {
        flex-direction: column;
    }
    
    .accreditation-item-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Стили для информационных блоков с разными цветами контейнеров */

/* Общие стили для всех информационных блоков */
.info-block {
    padding: 40px 0;
    margin-bottom: 40px;
}

.info-block h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.info-block p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-block p:last-child {
    margin-bottom: 0;
}

/* Стили для блока с белым фоном и желтой полосой слева */
.info-block-note {
    background-color: #FFFFFF;
    border-left: 6px solid var(--accent-color);
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 35px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.info-block-note p {
    margin-bottom: 0;
}

/* Стили для блока с темно-синим фоном */
.info-block-dark {
    background-color: var(--primary-color);
    color: #fff;
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 60px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--accent-color);
}

.info-block-dark h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Стили для блока со светлым фоном */
.info-block-light {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Стили для заголовков секций */
.section-title {
    margin-bottom: 25px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
}

/* Адаптивность для информационных блоков */
@media (max-width: 768px) {
    .info-block {
        padding: 30px 0;
    }
    
    .info-block-dark,
    .info-block-light,
    .info-block-note {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .info-block {
        padding: 20px 0;
    }
    
    .info-block-dark,
    .info-block-light,
    .info-block-note {
        padding: 20px;
    }
    
    .info-block h2,
    .section-title h2 {
        font-size: 1.5rem;
    }
}
