/* Стили для страницы О компании */

/* Стили для хлебных крошек */
.breadcrumbs-container {
    background-color: #f8f9fa;
    padding: 10px 0;
    margin-bottom: 30px;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
}

.breadcrumbs li:after {
    content: "/";
    margin-left: 5px;
    color: #6c757d;
}

.breadcrumbs li:last-child:after {
    display: none;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Основная секция о компании */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    flex: 2;
    min-width: 300px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.about-content h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.about-content p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.values-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.values-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.values-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.legal-info {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.legal-info p {
    margin-bottom: 10px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Юридические документы */
.legal-section {
    padding: 80px 0;
    background-color: #fff;
}

.legal-section:nth-child(odd) {
    background-color: #f9f9f9;
}

#documents.legal-section {
    background-color: #fff !important;
}

.legal-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.legal-section h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.documents-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.document-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.document-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background-color: rgba(45, 58, 109, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.document-info p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.document-date {
    font-style: italic;
    color: #777;
    margin-bottom: 20px;
}

.document-info .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Контактная информация */
.contact-info-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-method {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-method .contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    background-color: rgba(45, 58, 109, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-method p {
    margin-bottom: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.contact-method a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--accent-color);
}

.messenger-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    width: 100%;
}

.contact-cta {
    margin-top: 30px;
}

.contact-cta .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 200px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        order: -1;
    }

    .document-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .document-icon {
        margin-bottom: 20px;
    }

    .document-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .document-info .btn {
        margin: 5px;
        min-width: 200px;
        justify-content: center;
        text-align: center;
        display: inline-flex;
        align-items: center;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .about-section,
    .legal-section,
    .contact-info-section {
        padding: 50px 0;
    }

    .document-card {
        padding: 20px;
    }

    .document-info .btn {
        width: 100%;
        max-width: 280px;
        margin: 5px auto;
    }

    .contact-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content,
.about-image,
.document-card,
.contact-method {
    animation: fadeIn 0.8s ease-out forwards;
}

.about-image {
    animation-delay: 0.2s;
}

.document-card:nth-child(1) {
    animation-delay: 0.2s;
}

.document-card:nth-child(2) {
    animation-delay: 0.3s;
}

.document-card:nth-child(3) {
    animation-delay: 0.4s;
}

.document-card:nth-child(4) {
    animation-delay: 0.5s;
}

.contact-method:nth-child(1) {
    animation-delay: 0.3s;
}

.contact-method:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-method:nth-child(3) {
    animation-delay: 0.5s;
}
