:root {
    --primary-color: #7c3aed;
    --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #111827 100%);
    --bg-gray: #f9fafb;
    --border-light: #e5e7eb;
    --text-dark: #111827;
    --text-light: #6b7280;
}

.contact-section {
    padding: 5rem 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.contact-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background-color: #fff;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px #0000001a;
    overflow: hidden;
    border: 1px solid #fff;
}

.contact-info {
    background-color: #fff;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.5rem;
    border-right: 1px solid var(--border-light);
    position: relative;
}

/* --- YENİ DÜZENLEME: Logo ve Başlık Grubu --- */
.header-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.brand-logo {
    margin-bottom: 0; /* Eski margin kaldırıldı */
}

.brand-logo img {
    width: 48px; /* Boyut biraz dengelendi */
    height: auto;
    filter: drop-shadow(0 4px 6px #7c3aed33);
    display: block;
}

.contact-info__header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0; /* Eski margin kaldırıldı */
    letter-spacing: -0.02em;
    line-height: 1.2;
}
/* --------------------------------------------- */

.sub-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.help-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f8f7ff;
    border: 1px solid #e9e6ff;
    padding: 1.25rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.help-badge:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px -5px #7c3aed26;
}

.badge-icon {
    width: 46px;
    height: 46px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px #0000000d;
    border: 1px solid var(--border-light);
}

.badge-icon i {
    width: 22px;
    height: 22px;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-content span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.badge-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    transition: color 0.3s ease;
}

.badge-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
    color: var(--primary-color);
}

.badge-link:hover {
    color: var(--primary-color);
}

.badge-link:hover i {
    transform: translateX(5px);
}

.contact-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info__list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.list-icon {
    width: 24px;
    color: var(--primary-color);
    margin-top: 4px;
}

.list-icon i {
    width: 22px;
    height: 22px;
}

.contact-info__list strong {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-info__list span,
.contact-info__list a {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.contact-info__list a:hover {
    color: var(--primary-color);
}

.contact-info__social {
    margin-top: auto;
    display: flex;
    gap: 1rem;
}

.contact-info__social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

.contact-info__social a i {
    width: 20px;
    height: 20px;
}

.contact-info__social a:hover {
    color: #fff;
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px -3px #7c3aed4d;
}

.contact-form-wrapper {
    padding: 4rem 3.5rem;
    background-color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px #7c3aed1a;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--primary-gradient);
    color: #fff;
    padding: 1.1rem;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 10px #0000001a;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #9f7aea 0%, #1f2937 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px #7c3aed66;
}

.submit-btn i {
    width: 20px;
    height: 20px;
}

.alert {
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert i {
    width: 20px;
    height: 20px;
}

.auth-info-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    background-color: var(--bg-gray);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}

.auth-info-message i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .contact-card {
        display: flex;
        flex-direction: column-reverse;
    }
    .contact-info {
        padding: 3rem 2rem;
        border-right: none;
        border-top: 1px solid var(--border-light);
    }
    .contact-form-wrapper {
        padding: 3rem 2rem;
    }
    .brand-logo img {
        width: 48px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-section {
        padding: 3rem 0;
    }
    .contact-container {
        padding: 0 1rem;
    }
}