/* ===========================================
   CONTACT PAGE — tema renkleri (Ayarlar > Tema)
   =========================================== */

/* ── Breadcrumb ── */
.ct-breadcrumb-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-light);
}
.ct-breadcrumb-bar a {
    color: var(--text-muted);
    text-decoration: none;
}
.ct-breadcrumb-bar a:hover { color: var(--accent); }
.ct-breadcrumb-bar span { margin: 0 6px; }

/* ── Page ── */
.ct-page { padding: 40px 0 56px; }

.ct-page-header {
    margin-bottom: 36px;
}
.ct-page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.ct-page-header p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ── Layout ── */
.ct-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
    align-items: start;
}

/* ── Cards ── */
.ct-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.ct-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

/* ── Info List ── */
.ct-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ct-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ct-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ct-info-item > i {
    width: 38px;
    height: 38px;
    border-radius: calc(var(--radius) * 0.85);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.ct-info-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2px;
}
.ct-info-item a,
.ct-info-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    text-decoration: none;
    margin: 0;
}
.ct-info-item a:hover { color: var(--accent); }

/* ── Socials ── */
.ct-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ct-socials a {
    width: 40px;
    height: 40px;
    border-radius: calc(var(--radius) * 0.85);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
}
.ct-socials a:hover {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

/* ── Map ── */
.ct-map-card { padding: 0; overflow: hidden; }
.ct-map-frame iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
}

/* ── Form ── */
.ct-form-col { position: sticky; top: 20px; align-self: start; }

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ct-field {
    margin-bottom: 16px;
}
.ct-field > label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.ct-req { color: #ef4444; }
.ct-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 0.7);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    box-sizing: border-box;
}
.ct-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.ct-input::placeholder { color: var(--text-light); }
.ct-input.ct-invalid { border-color: #ef4444; }
.ct-input.ct-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.08); }

.ct-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 36px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236b7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.ct-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}
.ct-field-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}
.ct-counter { font-size: 12px; color: var(--text-light); }
.ct-counter.ct-warn { color: #ef4444; }
.ct-error {
    font-size: 12px;
    color: #ef4444;
    display: none;
    margin-top: 4px;
}
.ct-error.ct-show { display: block; }

/* ── Checkbox ── */
.ct-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
}
.ct-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.ct-check {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    margin-top: 2px;
}
.ct-checkbox input:checked ~ .ct-check {
    background: var(--accent);
    border-color: var(--accent);
}
.ct-checkbox input:checked ~ .ct-check::after {
    content: '\2713';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.ct-checkbox a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.ct-checkbox a:hover { text-decoration: underline; }

/* ── Button ── */
.ct-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: calc(var(--radius) * 0.7);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    transition: background var(--transition), box-shadow var(--transition);
    margin-top: 4px;
}
.ct-btn:hover:not(:disabled) {
    background: var(--accent-dark);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent);
}
.ct-btn:disabled { opacity: .6; cursor: not-allowed; }
.ct-btn-loading { display: none; align-items: center; gap: 8px; }
.ct-btn.ct-loading .ct-btn-text { display: none; }
.ct-btn.ct-loading .ct-btn-loading { display: flex; }
.ct-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ctSpin .6s linear infinite;
}
@keyframes ctSpin { to { transform: rotate(360deg); } }

/* ── Alert ── */
.ct-alert {
    padding: 12px 16px;
    border-radius: calc(var(--radius) * 0.7);
    font-size: 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ct-alert.ct-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ct-alert.ct-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── FAQ ── */
.ct-faq {
    padding: 48px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.ct-faq-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 28px;
}
.ct-faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ct-faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 0.7);
    overflow: hidden;
}
.ct-faq-q {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    gap: 12px;
    user-select: none;
}
.ct-faq-q i {
    font-size: 18px;
    color: var(--text-light);
    transition: transform .25s;
    flex-shrink: 0;
}
.ct-faq-item.ct-faq-open .ct-faq-q i { transform: rotate(45deg); color: var(--accent); }
.ct-faq-item.ct-faq-open { border-color: var(--accent); }
.ct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.ct-faq-a-inner {
    padding: 0 18px 14px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .ct-layout { grid-template-columns: 1fr; }
    .ct-form-col { position: static; order: -1; }
}
@media (max-width: 768px) {
    .ct-page { padding: 28px 0 40px; }
    .ct-page-header h1 { font-size: 24px; }
    .ct-row { grid-template-columns: 1fr; }
    .ct-card { padding: 22px 18px; }
}
@media (max-width: 480px) {
    .ct-page-header h1 { font-size: 20px; }
}
