/* ==========================================
   Bize Ulaşın — contact.css
   Tema: var(--accent-color) = #04415f
   ========================================== */

.ct-page {
    overflow-x: hidden;
}

.ct-kicker,
.ct-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ct-section-kicker {
    background: rgba(4, 65, 95, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(4, 65, 95, 0.14);
}

/* ========================================
   HERO
   ======================================== */

.ct-hero-section {
    padding: 20px 0;
     background: #f1f5f7;
     border-bottom: 1px solid #e8edf0;
    }

.ct-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ct-hero-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-family: var(--heading-font);
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ct-hero-desc {
    font-size: 1.02rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 460px;
}

.ct-hero-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ct-hero-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e4e9ec;
    background: var(--surface-color);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ct-hero-contact-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(4, 65, 95, 0.08);
    border-color: var(--accent-color);
    color: inherit;
}

.ct-hero-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #04415f, #06618e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ct-hero-contact-card:hover .ct-hero-contact-icon {
    transform: scale(1.08);
}

.ct-hero-contact-icon-mail {
    background: linear-gradient(135deg, #1a6b94, #2b8cbf);
}

.ct-hero-contact-icon i {
    font-size: 1.05rem;
    color: #fff;
}

.ct-hero-contact-body {
    flex: 1;
}

.ct-hero-contact-label {
    display: block;
    font-size: 0.72rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.ct-hero-contact-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--heading-color);
}

.ct-hero-contact-arrow {
    font-size: 1rem;
    color: #ccc;
    transition: color 0.3s ease, transform 0.3s ease;
}

.ct-hero-contact-card:hover .ct-hero-contact-arrow {
    color: var(--accent-color);
    transform: translateX(3px);
}

.ct-hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ct-hero-stat-card {
    background: var(--background-color);
    border: 1px solid #e4e9ec;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-hero-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(4, 65, 95, 0.09);
}

.ct-hero-stat-card-accent {
    background: linear-gradient(135deg, #04415f 0%, #06618e 100%);
    border-color: transparent;
}

.ct-hero-stat-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.ct-hero-stat-card-accent .ct-hero-stat-icon {
    color: rgba(255, 255, 255, 0.7);
}

.ct-hero-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--heading-font);
    color: var(--heading-color);
    line-height: 1;
}

.ct-hero-stat-card-accent .ct-hero-stat-number {
    color: #fff;
}

.ct-hero-stat-label {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ct-hero-stat-card-accent .ct-hero-stat-label {
    color: rgba(255, 255, 255, 0.65);
}

.ct-hero-address-band {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(4, 65, 95, 0.05);
    border: 1px solid rgba(4, 65, 95, 0.1);
    font-size: 0.88rem;
    color: var(--accent-color);
    font-weight: 500;
}

.ct-hero-address-band i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* ========================================
   HQ SECTION
   ======================================== */

.ct-hq-section {
    padding: 20px 0;
    background: var(--surface-color);
}

/* stretch: sağ kolon sol kolonla eşit yükseklikte kalır */
.ct-hq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.ct-hq-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.ct-hq-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ct-hq-card {
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-hq-card:hover {
    transform: translateY(-4px);
}

.ct-hq-card-primary {
    background: linear-gradient(135deg, #011e2c 0%, #04415f 100%);
    box-shadow: 0 16px 48px rgba(4, 65, 95, 0.28);
    padding: 32px 30px;
}

.ct-hq-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.ct-hq-card-primary .ct-hq-card-badge {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ct-hq-card-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.ct-hq-card-primary .ct-hq-card-name {
    color: #fff;
}

.ct-hq-card-address {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.ct-hq-card-primary .ct-hq-card-address {
    color: rgba(255, 255, 255, 0.72);
}

.ct-hq-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 16px 0;
}

.ct-hq-card-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-hq-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.2s ease;
}

.ct-hq-contact-row:hover {
    opacity: 0.7;
    color: #fff;
}

.ct-hq-contact-row i {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    width: 16px;
}

.ct-hq-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ct-hq-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ct-hq-map-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    color: #fff;
}

.ct-hq-card-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.ct-hq-card-note i {
    font-size: 0.8rem;
}

.ct-hq-social {
    margin-top: 20px;
    padding: 20px 22px;
    border-radius: 14px;
    background: var(--background-color);
    border: 1px solid #e4e9ec;
}

.ct-hq-social-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: block;
}

.ct-hq-social-row {
    display: flex;
    gap: 10px;
}

.ct-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.ct-facebook  { background: #1877f2; }
.ct-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ct-twitter   { background: #000; }

/* Sağ kolon: görsel + harita flex ile sol kolona eşitlenir */
.ct-hq-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-hq-visual-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    flex: 1;
    min-height: 240px;
}

.ct-hq-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.ct-hq-visual-card:hover .ct-hq-visual-img {
    transform: scale(1.04);
}

.ct-hq-visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(1, 30, 44, 0.7));
}

.ct-hq-visual-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

.ct-map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 260px;
    flex-shrink: 0;
}

#ct-map {
    width: 100%;
    height: 100%;
}

/* ========================================
   BRANCHES SECTION
   ======================================== */

.ct-branches-section {
    padding: 20px 0;
    background: var(--background-color);
}

.ct-branches-head {
    text-align: center;
    margin-bottom: 56px;
}

.ct-branches-title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 0.6rem;
}

.ct-branches-desc {
    color: #666;
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.ct-branches-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ct-branch-card {
    background: var(--surface-color);
    border: 1px solid #e4e9ec;
    border-radius: 18px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ct-branch-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-color), #06618e);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ct-branch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(4, 65, 95, 0.12);
    border-color: rgba(4, 65, 95, 0.2);
}

.ct-branch-card:hover::before {
    opacity: 1;
}

.ct-branch-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ct-branch-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #04415f, #06618e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ct-branch-card:hover .ct-branch-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
}

.ct-branch-icon-wrap i {
    font-size: 1.15rem;
    color: #fff;
}

.ct-branch-city {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.ct-branch-region {
    display: block;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ct-branch-address {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.ct-branch-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ct-branch-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.87rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ct-branch-phone:hover {
    color: var(--accent-color);
}

.ct-branch-phone i {
    font-size: 0.8rem;
    color: var(--accent-color);
}

.ct-branch-no-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.87rem;
    color: #aaa;
}

.ct-branch-no-phone i {
    color: #ccc;
}

.ct-branch-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ct-branch-map-btn:hover {
    background: #06618e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(4, 65, 95, 0.3);
    color: #fff;
}

/* ========================================
   FORM SECTION
   ======================================== */

.ct-form-section {
    padding: 20px 0;
    background: var(--surface-color);
}

/* start: sol form uzarsa sağ kolon takip etmez, düzeni korur */
.ct-form-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.ct-form-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 0.6rem;
}

.ct-form-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ct-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ct-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ct-form-group-full {
    grid-column: 1 / -1;
}

.ct-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ct-form-group input,
.ct-form-group select,
.ct-form-group textarea {
    padding: 13px 16px;
    border: 1px solid #dde2e7;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--default-color);
    background: var(--background-color);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--default-font);
    resize: none;
    appearance: none;
}

.ct-form-group input:focus,
.ct-form-group select:focus,
.ct-form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(4, 65, 95, 0.1);
}

.ct-form-group input::placeholder,
.ct-form-group textarea::placeholder {
    color: #b0b8c1;
}

.ct-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 32px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #04415f 0%, #06618e 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
}

.ct-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(4, 65, 95, 0.35);
}

.ct-contact-form .loading,
.ct-contact-form .error-message,
.ct-contact-form .sent-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.ct-contact-form .loading       { background: #f0f6fb; color: var(--accent-color); }
.ct-contact-form .error-message { background: #fff0f0; color: #d32f2f; }
.ct-contact-form .sent-message  { background: #edfdf5; color: #2e7d32; }

.ct-form-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ct-form-visual-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ct-form-visual-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    background: transparent;
}

.ct-form-visual-card:hover .ct-form-visual-img {
    transform: scale(1.02);
}

.ct-form-reasons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-form-reason {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--background-color);
    border: 1px solid #e4e9ec;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ct-form-reason:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(4, 65, 95, 0.08);
    border-color: rgba(4, 65, 95, 0.18);
}

.ct-form-reason-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #04415f, #06618e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ct-form-reason:hover .ct-form-reason-icon {
    transform: scale(1.1);
}

.ct-form-reason-icon i {
    font-size: 1.1rem;
    color: #fff;
}

.ct-form-reason h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 4px;
}

.ct-form-reason p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1199px) {
    .ct-branches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .ct-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ct-hero-desc {
        max-width: 100%;
    }

    .ct-hq-grid,
    .ct-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ct-hq-right {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .ct-hero-section {
        padding: 20px 0;
    }

    .ct-hq-section,
    .ct-branches-section,
    .ct-form-section {
        padding: 20px 0;
    }

    .ct-branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ct-form-row {
        grid-template-columns: 1fr;
    }

    .ct-hq-right {
        min-height: unset;
    }

    .ct-map-wrapper {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .ct-branches-grid {
        grid-template-columns: 1fr;
    }

    .ct-hero-stat-number {
        font-size: 1.5rem;
    }

    .ct-hq-card-primary {
        padding: 20px 18px;
    }
}