/* ======================================================================
   CONTACT — /iletisim
   Prefix: .ct-
====================================================================== */

.ct-page {
    background: var(--bg-page, #f9fafb);
    min-height: calc(100vh - var(--header-height, 60px));
}

/* ─────────────── HERO ─────────────── */
.ct-hero {
    position: relative;
    padding: 56px 20px 44px;
    background:
        radial-gradient(circle at 25% 35%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(6, 182, 212, 0.16) 0%, transparent 50%),
        linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}
.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.10) 1px, transparent 0);
    background-size: 26px 26px;
    opacity: 0.55;
}

.ct-hero-inner { position: relative; max-width: 800px; margin: 0 auto; z-index: 2; }

.ct-hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    padding: 4px 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.ct-hero-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.ct-hero-subtitle {
    margin: 0;
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.5;
}

/* ─────────────── CONTAINER ─────────────── */
.ct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px 60px;
}

.ct-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text, #111827);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

/* ─────────────── BRANCHES ─────────────── */
.ct-branches { margin-bottom: 36px; }

.ct-branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.ct-branch {
    background: white;
    border: 1.5px solid var(--border, #e5e7eb);
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.18s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ct-branch:hover {
    border-color: #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
}
.ct-branch.is-default {
    border-color: #10b981;
    background: linear-gradient(180deg, #ecfdf5 0%, white 30%);
}

.ct-branch-head {
    border-bottom: 1px solid var(--border, #f3f4f6);
    padding-bottom: 10px;
    margin-bottom: 4px;
}

.ct-branch-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text, #111827);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ct-branch-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
}

.ct-branch-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text, #374151);
    line-height: 1.5;
}

.ct-branch-row a {
    color: #0ea5e9;
    text-decoration: none;
}
.ct-branch-row a:hover { text-decoration: underline; }

.ct-branch-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.ct-wa-link {
    color: #25d366 !important;
    font-weight: 600;
}

.ct-branch-hours {
    margin-top: 4px;
    border-top: 1px solid var(--border, #f3f4f6);
    padding-top: 10px;
}
.ct-branch-hours summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted, #6b7280);
    user-select: none;
    list-style: none;
    padding: 2px 0;
}
.ct-branch-hours summary::-webkit-details-marker { display: none; }
.ct-branch-hours summary::after {
    content: ' ▾';
    font-size: 11px;
}
.ct-branch-hours[open] summary::after { content: ' ▴'; }

.ct-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-left: 4px;
}

.ct-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    padding: 2px 0;
}
.ct-hours-day {
    color: var(--muted, #6b7280);
    font-weight: 500;
    min-width: 36px;
}
.ct-hours-time {
    color: var(--text, #374151);
    font-variant-numeric: tabular-nums;
}
.ct-hours-row.is-closed .ct-hours-time {
    color: #ef4444;
    font-style: italic;
}

.ct-branch-locate {
    margin-top: auto;
    background: #f0fdf4;
    color: #065f46;
    border: 1px solid #d1fae5;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.ct-branch-locate:hover {
    background: #d1fae5;
    border-color: #10b981;
}

/* ─────────────── HARITA ─────────────── */
.ct-map-section { margin-bottom: 40px; }

.ct-map {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border, #e5e7eb);
    background: #e5e7eb;
}

/* Leaflet popup styling */
.leaflet-popup-content {
    margin: 12px 14px !important;
    font-size: 13px;
}
.leaflet-popup-content strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text, #111827);
}
.leaflet-popup-content small {
    color: var(--muted, #6b7280);
}

/* ─────────────── FORM + SIDEBAR ─────────────── */
.ct-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 900px) {
    .ct-form-row {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, 360px);
        align-items: start;
    }
}

/* FORM */
.ct-form-section {
    background: white;
    border-radius: 14px;
    padding: 24px clamp(20px, 3vw, 32px);
    border: 1px solid var(--border, #e5e7eb);
}

.ct-form-intro {
    color: var(--muted, #6b7280);
    margin: -10px 0 22px;
    font-size: 14px;
    line-height: 1.6;
}

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

.ct-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) {
    .ct-row { grid-template-columns: 1fr 1fr; }
}

.ct-field { display: flex; flex-direction: column; gap: 6px; }

.ct-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text, #374151);
}
.ct-required { color: #ef4444; }
.ct-optional { color: var(--muted, #9ca3af); font-weight: 400; font-size: 11px; }

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1.5px solid var(--border, #e5e7eb);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: 0;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.ct-field textarea { resize: vertical; min-height: 110px; }

.ct-char-count {
    text-align: right;
    font-size: 11px;
    color: var(--muted, #9ca3af);
}

.ct-field-captcha {
    background: #f0fdf4;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1fae5;
}
.ct-field-captcha label {
    color: #065f46;
}

.ct-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.ct-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    padding: 14px 16px;
    border-radius: 10px;
}
.ct-success strong { font-size: 15px; }
.ct-success p { margin: 4px 0 0; font-size: 13.5px; }

.ct-submit-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 0;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.ct-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}
.ct-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* SIDEBAR */
.ct-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--border, #e5e7eb);
}

.ct-card-title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text, #111827);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border, #f3f4f6);
}

.ct-card-body { display: flex; flex-direction: column; gap: 14px; }

.ct-info-block { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.ct-info-block a {
    color: #0ea5e9;
    text-decoration: none;
}
.ct-info-block a:hover { text-decoration: underline; }

.ct-info-block strong {
    font-size: 15px;
    color: var(--text, #111827);
}

.ct-info-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted, #9ca3af);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.ct-info-sub {
    font-size: 12.5px;
    color: var(--muted, #6b7280);
}

.ct-info-tagline {
    font-style: italic;
    color: #047857;
}

.ct-info-tag {
    display: inline-block;
    background: #f0fdf4;
    color: #065f46;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 500;
}

.ct-info-legal {
    padding-top: 10px;
    border-top: 1px dashed var(--border, #f3f4f6);
    color: var(--muted, #6b7280);
    font-size: 12px;
    gap: 3px;
}

.ct-info-label-sm {
    color: var(--muted, #9ca3af);
    font-weight: 600;
    margin-right: 4px;
}

/* SOCIAL */
.ct-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ct-social {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page, #f3f4f6);
    color: var(--muted, #6b7280);
    transition: all 0.15s;
    text-decoration: none;
}
.ct-social:hover {
    transform: translateY(-2px);
    color: white;
}
.ct-social-facebook:hover    { background: #1877f2; }
.ct-social-instagram:hover   { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.ct-social-twitter:hover     { background: #000000; }
.ct-social-tiktok:hover      { background: #000000; }
.ct-social-youtube:hover     { background: #ff0000; }
.ct-social-linkedin:hover    { background: #0a66c2; }
.ct-social-tripadvisor:hover { background: #34e0a1; color: #000; }

/* WA CARD */
.ct-card-wa {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #34d399;
    text-align: center;
}
.ct-card-wa .ct-card-title {
    border-bottom-color: rgba(0,0,0,0.1);
    color: #065f46;
}
.ct-card-wa p {
    color: #065f46;
    margin: 0 0 14px;
    font-size: 13.5px;
}

.ct-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25d366;
    color: white !important;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}
.ct-wa-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

/* MOBILE */
@media (max-width: 600px) {
    .ct-map { height: 320px; }
    .ct-branches-grid { grid-template-columns: 1fr; }
}
