/* 
 * Стили окна контактов для сайта itsova.ru
 * Файл: css/contacts.css
 * Автор: itsova.ru
 * Дата: 2024
 */

/* Контакты */
.contacts-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.contacts-overlay.active {
    display: flex;
}

.contacts-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    text-align: center;
}

.contacts-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #90a0ff;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.contact-item {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: #d0d0ff;
}

.contact-item a {
    color: #90a0ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.close-contacts {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.close-contacts:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.close-contacts::before,
.close-contacts::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.close-contacts::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-contacts::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Адаптивность контактов */
@media (max-width: 768px) {
    .contacts-content {
        padding: 2rem;
    }
    
    .contacts-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contacts-content {
        padding: 1.5rem;
    }
}