.contact-section {
    background: #f6f7f8;
    padding: 30px 0 40px 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    overflow-x: hidden;
}
/* Elementor spesifik transform sıfırlama */
.e-con-full .elementor-widget-html .contact-section {
    transform: translateX(0) translateY(0) !important;
}

.contact-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    box-sizing: border-box;
    padding: 0 40px;
}

.contact-section .contact-left {
    position: relative;
    left: 21px; /* Kullanıcının belirttiği hizalama */
    padding-top: 40px;
}

/* Sol sütun kapalı olduğunda tetiklenen tam ekran form düzeni */
.contact-container.contact-container-full {
    grid-template-columns: 1fr;
    max-width: 1200px !important;
}
.contact-form {
    background: #fff;
    padding: 40px;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.contact-form h3 {
    margin-top: 0;
    margin-bottom: 30px;   /* Başlık ile form alanları arasındaki boşluk */
    font-size: 26px;
    color: #111;
    font-weight: 700;
}
.contact-left h3 {
    margin-top: 0; /* Form başlığıyla aynı tepe noktasından başlaması garantilendi */
    font-size: 32px;
    margin-bottom: 50px; /* Başlık ile içerik arasını açtık */
    color: #111;
    font-weight: 700;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 45px;
}
.icon-box {
    width: 54px;
    height: 54px;
    background: var(--for-primary-light); /* Değişken kullanıldı */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--for-primary); /* Değişken kullanıldı */
    flex-shrink: 0;
}
.icon-box svg {
    width: 24px;
    height: 24px;
}
.contact-item strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
    color: #111;
}
.contact-item p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-grid .form-group {
    margin-bottom: 0;
}
.form-grid .form-group-full {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: var(--for-border-radius, 25px) !important;
    -webkit-border-radius: var(--for-border-radius, 25px) !important;
    -moz-border-radius: var(--for-border-radius, 25px) !important;
    box-sizing: border-box;
    font-family: var(--for-font-family, Arial, sans-serif);
    font-size: var(--for-font-size, 15px);
    outline: none;
    transition: border-color 0.3s ease;
}
.contact-form textarea {
    border-radius: var(--for-border-radius, 25px) !important;
    -webkit-border-radius: var(--for-border-radius, 25px) !important;
    -moz-border-radius: var(--for-border-radius, 25px) !important;
    resize: vertical;
    min-height: 120px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--for-primary);
}
.select-wrapper {
    position: relative;
}
.select-wrapper select {
    width: 100%;
    padding-right: 55px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border-radius: var(--for-border-radius, 25px) !important;
    -webkit-border-radius: var(--for-border-radius, 25px) !important;
    -moz-border-radius: var(--for-border-radius, 25px) !important;
    cursor: pointer;
}
.select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #b6bcc6;
    border-bottom: 2px solid #b6bcc6;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}
.contact-form textarea {
    min-height: 110px;
    border-radius: var(--for-border-radius, 25px) !important;
    resize: vertical;
}
.submit-btn {
    background: var(--for-primary);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: var(--for-border-radius, 25px);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}
.submit-btn:hover {
    opacity: 0.9;
}
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.submit-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Response Messages */
.for-msg-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.for-msg-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info Links */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}
.contact-link:hover {
    color: #C6144D;
    transform: translateX(3px);
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: -15px; /* Konum objesine yanaştırma */
    margin-bottom: 30px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}
.social-links a.social-ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-links a.social-fb {
    background: #1877F2;
}
.social-links a.social-tw {
    background: #000000;
}
.social-links a.social-in {
    background: #0A66C2;
}
.social-links a.social-yt {
    background: #FF0000;
}
.social-links a.social-wa {
    background: #25D366;
}
.social-links a:hover {
    transform: translateY(-4px);
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.social-links svg {
    width: 20px;
    height: 20px;
}

/* 3'lü Harita Grid Tasarımı */
.contact-maps-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 40px;
}
.contact-maps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}
.contact-map-card {
    background: #ffffff;
    border-radius: var(--for-border-radius, 20px);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-map-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.contact-map-header {
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}
.contact-map-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
}
.contact-map-frame {
    width: 100%;
    line-height: 0;
    flex-grow: 1;
}
.contact-map-frame iframe {
    display: block;
    width: 100% !important;
    border: 0;
}

/* Map Embed - Full Width (Geriye Uyumluluk) */
.contact-map-fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    line-height: 0;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
    border: none !important;
}
.contact-map-fullwidth iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: none;
}

/* Şubelerimiz & Harita Sekmeli Tasarımı */
.contact-branches-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 40px;
    margin-bottom: 40px;
    scroll-margin-top: 90px;
}
.branches-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 18px;
}
.branches-title {
    font-size: 26px;
    font-weight: 800;
    color: #0a2240;
    margin: 0;
    letter-spacing: -0.4px;
}
.branches-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 22px;
    padding-bottom: 4px;
}
.branches-tabs-wrapper::-webkit-scrollbar {
    height: 4px;
}
.branches-tabs-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.branches-tabs {
    display: inline-flex;
    gap: 10px;
    padding: 4px 0;
    flex-wrap: wrap;
}
.branch-tab-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #002d72;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
    font-family: inherit;
}
.branch-tab-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.branch-tab-btn.active {
    background: #002d72 !important;
    color: #ffffff !important;
    border-color: #002d72 !important;
    box-shadow: 0 4px 12px rgba(0, 45, 114, 0.25);
}
.branches-content-wrapper {
    position: relative;
}
.branch-panel {
    display: none;
    animation: forBranchFadeIn 0.3s ease forwards;
}
.branch-panel.active {
    display: block;
}
@keyframes forBranchFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.branch-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: row;
    gap: 36px;
    padding: 24px;
    align-items: center;
}
.branch-map-col {
    flex: 1 1 52%;
    min-width: 0;
}
.branch-map-frame {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.branch-map-frame iframe {
    display: block;
    width: 100% !important;
    border: 0;
}
.branch-info-col {
    flex: 1 1 48%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 10px 10px 0;
}
.branch-name {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.25;
}
.branch-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 22px 0;
}
.branch-meta-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.branch-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.branch-meta-icon {
    flex-shrink: 0;
    padding-top: 2px;
    line-height: 1;
}
.branch-meta-icon svg {
    width: 24px !important;
    height: 24px !important;
    fill: #e53935 !important;
    stroke: none !important;
    display: block !important;
}
.branch-meta-text {
    font-size: 15px;
    line-height: 1.45;
    color: #334155;
    font-weight: 600;
}
.branch-phone-text {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}
.branch-phone-text a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.2s ease;
}
.branch-phone-text a:hover {
    color: #0052cc;
}
.branch-action {
    margin-top: 4px;
}
.branch-directions-btn {
    display: inline-block;
    background: #0052cc;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 82, 204, 0.25);
}
.branch-directions-btn:hover {
    background: #003fa3;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
}

/* Bağımsız Şubeler Kısa Kod Tasarımı (Alt Alta Liste) */
.for-branches-standalone {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 30px 0 40px 0 !important;
}
.for-branches-standalone .branches-header {
    margin-bottom: 24px;
}
.branches-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}
.branch-vertical-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.branch-row-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.branch-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #002d72;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 45, 114, 0.2);
    letter-spacing: -0.2px;
}
.branch-tab-pill-icon {
    width: 18px;
    height: 18px;
    fill: #ffffff !important;
    flex-shrink: 0;
    display: block;
}

.for-countdown {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #155724;
    opacity: 0.85;
}

@media (min-width: 901px) {
    .contact-section {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

@media(max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .contact-branches-section {
        padding: 0 20px;
    }
    .branch-card {
        flex-direction: column !important;
        gap: 20px;
        padding: 18px;
    }
    .branch-map-col,
    .branch-info-col {
        width: 100% !important;
        flex: 1 1 100% !important;
        padding: 0;
    }
    .branch-directions-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .contact-maps-section {
        padding: 0 20px;
    }
    .contact-maps-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .contact-section .contact-left {
        left: 0 !important;
    }
    .contact-left h3 {
        margin-bottom: 30px;
    }
    .contact-form {
        padding: 30px 20px;
    }
}
@media(max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Spinner Animation */
@keyframes for-spin {
    100% { transform: rotate(360deg); }
}
.for-spinner {
    animation: for-spin 1s linear infinite;
}
