.contact_wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact_header {
    text-align: center;
    margin-bottom: 40px;
}

.contact_header h1 {
    font-size: 32px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
}

.contact_header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.contact_content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 30px 24px;
}

.contact_info {
    margin-bottom: 30px;
}

.info_item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 18px;
}

.info_item .icon {
    font-size: 20px;
    margin-right: 12px;
    color: #1976d2;
}

.info_item a {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.2s;
}

.info_item a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.contact_social {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.social_link {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.social_link.telegram {
    background: #229ED9;
}
.social_link.telegram:hover {
    background: #178bb7;
}

.social_link.vk {
    background: #4C75A3;
}
.social_link.vk:hover {
    background: #35577a;
}

.social_link.youtube {
    background: #FF0000;
}
.social_link.youtube:hover {
    background: #b30000;
}

/* Форма обратной связи */
.contact_form_wrapper {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.contact_form_wrapper h2 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin: 0 0 20px 0;
}

.contact_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form_group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form_group input,
.form_group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form_group input:focus,
.form_group textarea:focus {
    border-color: #1976d2;
    outline: none;
}

.form_group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-primary {
    background: #1976d2;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #1565c0;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media (max-width: 600px) {
    .contact_wrapper {
        padding: 20px 5px;
    }
    .contact_content {
        padding: 18px 8px;
    }
    .contact_social {
        flex-direction: column;
        gap: 10px;
    }
    .form_group input,
    .form_group textarea {
        padding: 8px 10px;
    }
} 