/* ======================================================================
   CONTACT — /iletisim
   Prefix: .ct-  ·  Tema: Unlimited Patch — koyu/taktik + neon lime
====================================================================== */

:root { --ct-acc: #a4e22b; }

.ct-page {
    background:
        radial-gradient(1100px 520px at 50% -8%, #16210a 0%, transparent 60%),
        linear-gradient(180deg, #0a0b06 0%, #0c0d08 100%);
    min-height: calc(100vh - var(--header-height, 60px));
    color: #e8eae2;
}

/* ─────────────── HERO ─────────────── */
.ct-hero {
    position: relative;
    padding: 56px 20px 44px;
    background:
        radial-gradient(circle at 30% 24%, color-mix(in srgb, var(--ct-acc) 22%, transparent) 0%, transparent 52%),
        radial-gradient(circle at 74% 84%, rgba(164,226,43,0.12) 0%, transparent 52%),
        linear-gradient(150deg, #0c0d08 0%, #14160d 55%, #0a0b06 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #20240f;
}
.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(164,226,43,0.10) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.55;
    pointer-events: none;
}

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

.ct-hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ct-acc);
    margin-bottom: 14px;
    padding: 5px 13px;
    background: color-mix(in srgb, var(--ct-acc) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--ct-acc) 35%, transparent);
    border-radius: 20px;
}

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

.ct-hero-subtitle {
    margin: 0;
    color: #b9bda8;
    font-size: 16px;
    line-height: 1.55;
}

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

.ct-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #f1f3e9;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* ─────────────── 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: linear-gradient(180deg, #14160d 0%, #101108 100%);
    border: 1px solid #25290f;
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.18s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ct-branch:hover {
    border-color: color-mix(in srgb, var(--ct-acc) 55%, transparent);
    box-shadow: 0 6px 22px rgba(164, 226, 43, 0.12);
}
.ct-branch.is-default {
    border-color: color-mix(in srgb, var(--ct-acc) 55%, transparent);
    background: linear-gradient(180deg, #1b2410 0%, #121309 60%);
}

.ct-branch-head {
    border-bottom: 1px solid #25290f;
    padding-bottom: 10px;
    margin-bottom: 4px;
}

.ct-branch-name {
    font-size: 17px;
    font-weight: 800;
    color: #f1f3e9;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ct-branch-badge {
    display: inline-block;
    background: var(--ct-acc);
    color: #0c0d08;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 0 14px rgba(164, 226, 43, 0.35);
}

.ct-branch-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #cdd0bf;
    line-height: 1.5;
}

.ct-branch-row a {
    color: var(--ct-acc);
    text-decoration: none;
}
.ct-branch-row a:hover { text-decoration: underline; }

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

.ct-wa-link {
    color: #2ee36b !important;
    font-weight: 700;
}

.ct-branch-hours {
    margin-top: 4px;
    border-top: 1px solid #25290f;
    padding-top: 10px;
}
.ct-branch-hours summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #8a9072;
    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: #8a9072;
    font-weight: 600;
    min-width: 36px;
}
.ct-hours-time {
    color: #cdd0bf;
    font-variant-numeric: tabular-nums;
}
.ct-hours-row.is-closed .ct-hours-time {
    color: #ef6a5a;
    font-style: italic;
}

.ct-branch-locate {
    margin-top: auto;
    background: color-mix(in srgb, var(--ct-acc) 12%, transparent);
    color: var(--ct-acc);
    border: 1px solid color-mix(in srgb, var(--ct-acc) 35%, transparent);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}
.ct-branch-locate:hover {
    background: color-mix(in srgb, var(--ct-acc) 22%, transparent);
    border-color: var(--ct-acc);
}

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

.ct-map {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #25290f;
    background: #101108;
}

/* Leaflet popup styling */
.leaflet-popup-content {
    margin: 12px 14px !important;
    font-size: 13px;
}
.leaflet-popup-content strong {
    display: block;
    margin-bottom: 4px;
    color: #14160d;
}
.leaflet-popup-content small {
    color: #5a5f4c;
}

/* ─────────────── 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: linear-gradient(180deg, #14160d 0%, #101108 100%);
    border-radius: 14px;
    padding: 24px clamp(20px, 3vw, 32px);
    border: 1px solid #25290f;
}

.ct-form-intro {
    color: #9a9f86;
    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: #cdd0bf;
}
.ct-required { color: #ef6a5a; }
.ct-optional { color: #6f7459; 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 #2c310f;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #0c0d08;
    color: #e8eae2;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #5a5f4c; }
.ct-field select option { background: #14160d; color: #e8eae2; }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: 0;
    border-color: var(--ct-acc);
    box-shadow: 0 0 0 3px rgba(164, 226, 43, 0.16);
}

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

.ct-char-count {
    text-align: right;
    font-size: 11px;
    color: #6f7459;
}

.ct-field-captcha {
    background: color-mix(in srgb, var(--ct-acc) 8%, transparent);
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--ct-acc) 28%, transparent);
}
.ct-field-captcha label {
    color: var(--ct-acc);
}

.ct-error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.ct-success {
    background: color-mix(in srgb, var(--ct-acc) 14%, transparent);
    color: #d6f5a0;
    border: 1px solid color-mix(in srgb, var(--ct-acc) 40%, transparent);
    padding: 14px 16px;
    border-radius: 10px;
}
.ct-success strong { font-size: 15px; color: var(--ct-acc); }
.ct-success p { margin: 4px 0 0; font-size: 13.5px; }

.ct-submit-btn {
    background: linear-gradient(135deg, #b6f23a, #8bc41f);
    color: #0c0d08;
    border: 0;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 2px 14px rgba(164, 226, 43, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.ct-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(164, 226, 43, 0.45);
}
.ct-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.ct-card {
    background: linear-gradient(180deg, #14160d 0%, #101108 100%);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #25290f;
}

.ct-card-title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 800;
    color: #f1f3e9;
    padding-bottom: 10px;
    border-bottom: 1px solid #25290f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

.ct-info-block { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: #cdd0bf; }
.ct-info-block a {
    color: var(--ct-acc);
    text-decoration: none;
}
.ct-info-block a:hover { text-decoration: underline; }

.ct-info-block strong {
    font-size: 15px;
    color: #f1f3e9;
}

.ct-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #6f7459;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.ct-info-sub {
    font-size: 12.5px;
    color: #9a9f86;
}

.ct-info-tagline {
    font-style: italic;
    color: var(--ct-acc);
}

.ct-info-tag {
    display: inline-block;
    background: color-mix(in srgb, var(--ct-acc) 12%, transparent);
    color: var(--ct-acc);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 600;
}

.ct-info-legal {
    padding-top: 10px;
    border-top: 1px dashed #2c310f;
    color: #9a9f86;
    font-size: 12px;
    gap: 3px;
}

.ct-info-label-sm {
    color: #6f7459;
    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: #0c0d08;
    border: 1px solid #2c310f;
    color: #9a9f86;
    transition: all 0.15s;
    text-decoration: none;
}
.ct-social:hover {
    transform: translateY(-2px);
    color: white;
    border-color: transparent;
}
.ct-social-facebook:hover    { background: #1877f2;
    color: #fff; }
.ct-social-instagram:hover   { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.ct-social-twitter:hover     { background: #000000;
    color: #fff; }
.ct-social-tiktok:hover      { background: #000000;
    color: #fff; }
.ct-social-youtube:hover     { background: #ff0000;
    color: #fff; }
.ct-social-linkedin:hover    { background: #0a66c2;
    color: #fff; }
.ct-social-tripadvisor:hover { background: #34e0a1; color: #000; }

/* WA CARD */
.ct-card-wa {
    background: linear-gradient(135deg, #0f2417 0%, #122c1c 100%);
    border-color: rgba(46, 227, 107, 0.4);
    text-align: center;
}
.ct-card-wa .ct-card-title {
    border-bottom-color: rgba(46, 227, 107, 0.22);
    color: #6ff0a0;
}
.ct-card-wa p {
    color: #b6e8c8;
    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; }
}


/* AI/Branch address directions polish: long TinyMCE content must never break mobile layout */
.ct-address-directions-box {
    width: 100%;
    max-width: 100%;
    margin: 12px 0 14px;
    padding: 0;
    border: 1px solid #2c310f;
    border-radius: 16px;
    background: rgba(12, 13, 8, 0.6);
    overflow: hidden;
}
.ct-address-directions-box summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    font-weight: 800;
    color: #e8eae2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ct-address-directions-box summary::-webkit-details-marker { display: none; }
.ct-address-directions-box summary::after {
    content: '▾';
    margin-left: auto;
    opacity: .65;
    transition: transform .16s ease;
}
.ct-address-directions-box[open] summary::after { transform: rotate(180deg); }
.ct-address-directions-content {
    padding: 0 14px 14px;
    color: #b9bda8;
    font-size: 14px;
    line-height: 1.62;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.ct-address-directions-content p { margin: 0 0 10px; }
.ct-address-directions-content ul,
.ct-address-directions-content ol { margin: 8px 0 12px 20px; padding: 0; }
.ct-address-directions-content a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--ct-acc);
    font-weight: 800;
}
.ct-branch,
.ct-branch.is-default { min-width: 0; }
.ct-branch-row,
.ct-branch-row span,
.ct-branch-row a { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

/* ─────────────────────────────────────────────
   Contact branch grid full-width restore
   Ana şube / şube kartları küçük kart gibi değil,
   sayfa genişliğini dolduran bloklar halinde gösterilir.
───────────────────────────────────────────── */
.ct-branches-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
    width: 100%;
}

.ct-branches-grid > .ct-branch,
.ct-branches-grid > .ct-branch.is-default {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
}

.ct-branch.is-default {
    padding: 22px 24px;
}

@media (min-width: 900px) {
    .ct-branch.is-default .ct-branch-head,
    .ct-branch.is-default .ct-branch-row,
    .ct-branch.is-default .ct-branch-hours,
    .ct-branch.is-default .ct-branch-locate {
        max-width: 100%;
    }
}
