/* maps.css */

/* Основная карта */
#map {
    width: 100%;
    height: 400px;
    margin: 15px 0 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Контейнер для кастомной метки */
.custom-marker {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    cursor: default;
}

/* Стили для SVG внутри метки */
.custom-marker svg {
    display: block;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Анимация пульсации вокруг метки */
.custom-marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(0, 80, 132, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    pointer-events: none;
}

/* Ключевые кадры анимации пульсации */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

/* Сетка контактов в 3 колонки */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

/* Карточка контакта */
.contacts-card {
    background: var(--color-bg-grey);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991.98px) {
	.contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #map {
        height: 350px;
        margin: 10px 0 0 auto;
        border-radius: 8px;
    }
    
    .custom-marker::before {
        width: 45px;
        height: 45px;
    }
    
    .custom-marker svg {
        width: 35px !important;
        height: 35px !important;
    }
}