/* ====================== STYLECONTACTS.CSS ====================== */
/* Только стили уникальные для страницы контактов */

#contacts h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 28px;
}

#contacts h3 {
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 22px;
}

.contact-details p {
    font-size: 16px;
    margin: 12px 0;
}

/* Улучшенный QR блок */
.qr-section {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.qr-code {
    transition: transform 0.4s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

/* Социальные кнопки */
.social-buttons {
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-buttons a {
    transition: all 0.3s ease;
}

.social-buttons a:hover {
    transform: scale(1.08);
}

/* Следите за нами */
.follow-us a {
    margin: 0 8px;
}

.follow-us a:hover {
    text-decoration: underline;
}

/* ====================== CONTACT FORM ====================== */
/* Исправляем форму отправки сообщения на странице контактов */

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 600px;
    margin: 30px auto;
}

form input,
form textarea {
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.3s ease;
    background: #fff;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #0b2a5b;
    box-shadow: 0 0 0 3px rgba(11, 42, 91, 0.1);
}

form textarea {
    resize: vertical;
    min-height: 160px;
}

form button {
    padding: 16px 24px;
    font-size: 17px;
    font-weight: bold;
    background: #0b2a5b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    align-self: center;
    min-width: 220px;
}

form button:hover {
    background: #1a237e;
    transform: scale(1.04);
    box-shadow: 0 6px 15px rgba(11, 42, 91, 0.3);
}

/* ====================== SOCIAL BUTTONS (WhatsApp, Telegram, Viber) ====================== */
/* Восстанавливаем оригинальный вид социальных кнопок */

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-buttons a {
    padding: 12px 18px;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
    display: inline-block;
}

.social-buttons a:hover {
    transform: scale(1.08);
}

/* Цвета кнопок — возвращаем оригинальные */
.whatsapp { 
    background: #25D366; 
}

.telegram { 
    background: #2AABEE; 
}

.viber { 
    background: #7360F2; 
}