/* css/map.css - стили для карты */

.map-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.map-section__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.map-section__title, .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #333;
    font-family: var(--font-heading);
}

.map-section__subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.map-container__map {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Контакты рядом с картой */
.map-contacts {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-contacts__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    font-family: var(--font-heading);
}

.map-contacts__item,
.map-contacts__worktime {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.map-contacts__item:last-child,
.map-contacts__worktime:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.map-contacts__icon {
    font-size: 1.2rem;
    width: 30px;
    flex-shrink: 0;
}

.map-contacts__content strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.map-contacts__content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.map-contacts__content a {
    color: #4CAF50;
    text-decoration: none;
}

.map-contacts__content a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .map-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container__map {
        height: 400px;
    }

    .map-section__title, .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }

    .map-section__title, .section-title {
        font-size: 2rem;
    }

    .map-container__map {
        height: 350px;
    }

    .map-contacts {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .map-section__title, .section-title {
        font-size: 1.8rem;
    }

    .map-container__map {
        height: 300px;
    }

    .map-contacts {
        padding: 25px 20px;
    }

    .map-contacts__item,
    .map-contacts__worktime {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .map-contacts__item {
        align-items: center;
    }
}