/**
 * KRT - Modern Contact Page
 * Profesyonel iletişim sayfası tasarımı
 */

:root {
    --krt-primary: #041738;
    --krt-accent: #ffc107;
    --krt-text: #2d3748;
    --krt-text-light: #718096;
    --krt-border: #e2e8f0;
}

/* === Section === */
.modern-contact-section {
    padding: 50px 0 80px;
}

.contact-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* === Header === */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h5 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--krt-accent);
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.contact-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--krt-primary);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-header p {
    font-size: 16px;
    color: var(--krt-text-light);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Grid Layout === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* === Info Panel === */
.contact-info-panel {
    background: linear-gradient(145deg, var(--krt-primary) 0%, #0a2d5c 100%);
    border-radius: 20px;
    padding: 40px 36px;
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(4, 23, 56, 0.3);
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.info-card:last-of-type {
    margin-bottom: 0;
}

.info-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.info-icon i {
    font-size: 22px;
    color: var(--krt-accent);
}

.info-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.9);
}

.info-content p,
.info-content a {
    font-size: 15px;
    margin: 0 0 4px 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.info-content a {
    text-decoration: none;
    transition: color 0.2s;
}

.info-content a:hover {
    color: var(--krt-accent) !important;
}

/* === Social Panel === */
.social-panel {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.social-panel h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.9);
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.social-item a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    transition: all 0.25s ease;
}

.social-item a:hover {
    background: var(--krt-accent);
    color: var(--krt-primary);
    transform: translateY(-3px);
}

/* === Form Panel === */
.contact-form-panel {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(4, 23, 56, 0.08);
    border: 1px solid var(--krt-border);
}

.modern-form .row {
    margin: 0 -10px;
}

.modern-form .row > [class*="col-"] {
    padding: 0 10px;
}

/* Form Fields */
.form-field {
    position: relative;
    margin-bottom: 20px;
}

.form-field i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--krt-text-light);
    pointer-events: none;
}

.form-field.textarea-field i {
    top: 22px;
    transform: none;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px 20px 16px 48px;
    border: 1.5px solid var(--krt-border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--krt-primary);
    background: #fff;
    transition: all 0.25s ease;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #a0aec0;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--krt-accent);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
}

.form-field:focus-within i {
    color: var(--krt-accent);
}

/* Submit Button */
.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--krt-primary) 0%, #0a2d5c 100%);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(4, 23, 56, 0.35);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0a2d5c 0%, var(--krt-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 23, 56, 0.4);
}

.submit-btn i {
    font-size: 16px;
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

/* === Map Panel === */
.map-panel {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(4, 23, 56, 0.08);
    border: 1px solid var(--krt-border);
}

.map-panel #map {
    width: 100%;
    height: 380px;
    min-height: 300px;
}

/* === Page Title === */
.ttm-page-title-modern .title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--krt-primary) !important;
}

/* === Responsive === */
@media (max-width: 576px) {
    .contact-header h2 {
        font-size: 28px;
    }

    .contact-form-panel {
        padding: 28px 24px;
    }

    .contact-info-panel {
        padding: 32px 24px;
    }
}
