/* Стили для страницы контактов */

/* Стили для хлебных крошек */
.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;
}




/* Основной контент */
.contacts-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.contacts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

/* Контактная информация */
.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
}

.contact-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #ebf5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: #3498db;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-details p {
    color: #555;
    margin-bottom: 5px;
}

.contact-details a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #3498db;
}

/* Социальные сети */
/* Improved social links styling */
.social-links {
    margin: 25px 0;
    padding: 20px;
    border-radius: 10px;
}

.social-links h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.social-icon-text {
    display: inline-block;
}

.social-icon-telegram {
    color: #0088cc;
}

.social-icon-telegram:hover {
    color: #0077b5;
}

.social-icon-viber {
    color: #7360f2;
}

.social-icon-viber:hover {
    color: #665cd7;
}

@media (max-width: 576px) {
    .social-icons {
        flex-direction: column;
        align-items: center;
    }

    .social-icon {
        width: 100%;
        justify-content: center;
    }
}

/* CTA блок */
.contact-cta {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.contact-cta h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-cta p {
    color: #555;
    margin-bottom: 15px;
}

.contact-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Форма обратной связи */
.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.form-subtitle {
    color: #555;
    margin-bottom: 25px;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form .checkbox-group input {
    width: auto;
}

.contact-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-form .checkbox-group a {
    color: #3498db;
    text-decoration: none;
}

.contact-form .checkbox-group a:hover {
    text-decoration: underline;
}

.contact-form .btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
    box-sizing: border-box;
}

/* Карта */
.map-section {
    padding: 60px 0;
    background-color: white;
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #2c3e50;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* FAQ секция */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    padding: 60px 0;
    background-color: #f9f9f9;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #2c3e50;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Ensure the FAQ accordion styling is correct */
.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-light);
}

.faq-question {
    padding: 20px;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: rgba(45, 58, 109, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.faq-toggle {
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px; /* High enough to accommodate any content */
}

/* Анимация для элементов страницы */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.contact-info,
.contact-form-container,
.faq-container {
    animation: fadeInUp 0.8s ease-out forwards;
}

.contact-info {
    animation-delay: 0.2s;
}

.contact-form-container {
    animation-delay: 0.4s;
}

.faq-container {
    animation-delay: 0.6s;
}

/* Улучшения для мобильной версии */
@media (max-width: 576px) {


    .contact-item {
        padding: 10px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon i {
        font-size: 16px;
    }






    .contacts-section,
    .map-section,
    .faq-section {
        padding: 40px 0;
    }

    .contact-info,
    .contact-form-container {
        padding: 20px;
    }
}

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
