/* contacts.css - минималистичные стили для раздела контактов */

/* ===== ОСНОВНЫЕ СТИЛИ СЕКЦИИ ===== */
.contacts-section {
    padding: 80px 0;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacts-header {
    text-align: center;
    margin-bottom: 60px;
}

.contacts-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.quick-callback{
    background: #2AABEE;
    border-radius: 20%;
    align-items: center;
    padding: 15px;
    border: 3px dashed blueviolet;
}

.contacts-header i {
    color: #4a6cf7;
    margin-right: 15px;
}


/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.contacts-content {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Линия-разделитель между разделами */
.contacts-content::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 55%;
    width: 6px;
    background: linear-gradient(to bottom, #9f202000, #e0e0e0, transparent);
    /* transform: translateX(-0%); */
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.social-links {
    flex: 1;
    min-width: 300px;
}

/* ===== КОНТАКТНЫЕ ЭЛЕМЕНТЫ ===== */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 4px dashed #ddd;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #4a6cf7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-link {
    display: block;
    color: #4a6cf7;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3a5ce5;
}

.contact-address{
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    text-decoration: line-through;
}
.contact-time {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-description {
    color: #300b0b;
    font-size: 0.9rem;
    margin: 0;
    
}

/* ===== СОЦИАЛЬНЫЕ СЕТИ (в ряд, в виде кружков) ===== */
.social-links h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.social-subtitle {
    color: #666;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon i {
    font-size: 3rem;
    margin-bottom: 0px;
}

.social-icon span {
    font-size: 0.8rem;
    opacity: 0;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
}

.social-icon:hover span {
    opacity: 1;
}

.social-icon.telegram {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
}

.social-icon.vk {
    background: linear-gradient(135deg, #4C75A3 0%, #3A5F8A 100%);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== КАРТА (растянутая) ===== */
.map-placeholder {
    text-align: center;
}

.map-image {
    display: inline-block;
    margin-bottom: 10px;
}

.map-image i.fa-map {
    font-size: 48px;
    color: #e74c3c;
}

.map-image iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===== ФОРМА БЫСТРОГО ВОПРОСА ===== */
.quick-question {
    max-width: 680px;
    margin: 60px auto 0;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.quick-question h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.question-input {
    display: flex;
    gap: 10px;
}

.question-input input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.question-input input:focus {
    outline: none;
    border-color: #4a6cf7;
}

.question-input button {
    width: 60px;
    background: #4a6cf7;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-input button:hover {
    background: #3a5ce5;
    transform: scale(1.05);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .contacts-content::after {
        display: none;
    }
    
    .social-icons {
        justify-content: center;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .contacts-section {
        padding: 50px 0;
    }
    
    .contacts-header h2 {
        font-size: 2rem;
    }
    
    .contacts-content {
        flex-direction: column;
        gap: 40px;
        padding: 30px;
    }
    
    .social-icons {
        grid-template-columns: repeat(2, 1fr);
        justify-content: space-around;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .quick-question {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .map-placeholder {
        height: 180px;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        justify-content: center;
        gap: 15px;
    }
    
    .social-icon {
        width: 70px;
        height: 70px;
    }
    
    .social-icon i {
        font-size: 1.3rem;
    }
    
    .question-input {
        flex-direction: column;
    }
    
    .question-input button {
        width: 100%;
        padding: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .map-placeholder {
        height: 150px;
        padding: 20px;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ ===== */
/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.social-icon {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.social-icon:nth-child(1) { animation-delay: 0.1s; }
.social-icon:nth-child(2) { animation-delay: 0.2s; }
.social-icon:nth-child(3) { animation-delay: 0.3s; }
.social-icon:nth-child(4) { animation-delay: 0.4s; }