/* * Стили только для страницы contacts.html 
 * Все общие стили (header, footer, variables, etc.) наследуются из style.css
*/

/* Сдвигаем основной контент вниз, чтобы он не перекрывался шапкой */
main {
    margin-top: 85px; /* Высота .header */
}

/* Секция-заголовок */
.hero-contact {
    padding: 60px 0;
    text-align: center;
}

.hero-contact h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-contact p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Секция с основной информацией */
.contact-content-section {
    padding-top: 0;
}

/* Сетка для расположения блоков */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Одна колонка по умолчанию для мобильных */
    gap: 30px;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 30px;
    border-radius: var(--glass-border-radius);
}

/* Стили для карточек с контактами */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: var(--glass-border-radius);
    border: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.contact-card h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 500;
}

.contact-card p {
    margin: 0 0 15px 0;
    color: #bbb;
    font-size: 15px;
}

.contact-card a,
.contact-card span {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent-color);
}

/* Контейнер для формы */
.contact-form-container h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 28px;
}

/* Стили для формы наследуются из style.css, но мы можем их дополнить */
.contact-form {
    max-width: none; /* Убираем ограничение ширины из style.css */
    margin: 0;
}

/* Адаптивность */
@media (min-width: 992px) {
    /* На больших экранах делаем две колонки */
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 50px;
        padding: 50px;
    }

    .hero-contact {
        padding: 80px 0;
    }
}
