/* КОНТАКТЫ и ИНФО */ 
#telModal, #infoModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

h3, p {
    text-align: center;
}

h3 {
    text-transform: uppercase;
    font-weight: bold;
}

.tel-modal-content, .info-modal-content {
    background-color: rgb(0, 0, 0);
    color: #fefefe;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info-modal-content {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    font-size: 18px;
    gap: 5px;
    line-height: 4vh;
}

.info-modal-content p {
    text-align: left;
}

#attention {
    color: red;
    font-weight: bold;
}

#attention1 {
    text-decoration: underline;
    text-decoration-color: red;
    text-decoration-thickness: 2px;
}

#closeTel, #closeInfo {
    color: #fefefe;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
}

#closeTel:hover, #closeInfo:hover {
    color: rgb(116, 110, 110);
}

#contactItem {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* КАРТА */
/* Стили модального окна */
#mapModal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.map-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px 20px 20px 20px;
    border: 1px solid #888;
    width: 80%;
    height: 80%;
    position: relative;
    border-radius: 10px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
}

.close:hover {
    color: rgb(0, 0, 0);
} 

#map {
    width: 100%;
    height: 100%;
    text-shadow: none;
}

/* ЗАДАТЬ ВОПРОС */

#questionModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

.question-modal-content {
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    width: 90%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#closeQuestion {
    color: white;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
}

#closeQuestion:hover {
    color: rgb(116, 110, 110);
}

.img-whatsApp, .img-mail {
    height: 60px;
    width: auto;
    border-radius: 100%;
}

.icon-mail {
    display: flex;
    justify-content: space-around;
}

.icon-contaсt {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s;
}
.contact-item:hover {
    transform: translateY(-3px);
}