/* ── Acaip Soslu Döner - İletişim Sayfası ────────────── */
:root {
    --ct-bg: #0d0e10;
    --ct-card-bg: #16171b;
    --ct-card-border: #292a2f;
    --ct-card-hover: #382428;
    --ct-red: #e9252b;
    --ct-red-hover: #c81c25;
    --ct-yellow: #ffd522;
    --ct-text: #fff8ed;
    --ct-muted: #a6a5ad;
}

.contact-page {
    color: var(--ct-text);
    background: var(--ct-bg);
    overflow-x: hidden;
    min-height: 520px;
    padding-block: 56px 80px;
}

.contact-container {
    width: min(1320px, calc(100% - 60px));
    margin-inline: auto;
}

.contact-page h1, .contact-page h2, .contact-page h3 {
    margin: 0;
    color: var(--ct-text);
    font-family: var(--menu-font, "Nunito Sans", sans-serif);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

/* ── Ayırıcı çizgi ──────────────────────────────────── */
.contact-accent {
    width: 48px;
    height: 4px;
    margin-bottom: 20px;
    background: var(--ct-red);
    border-radius: 2px;
}

/* ── Hızlı iletişim kartları ────────────────────────── */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px 24px;
    border: 1px solid var(--ct-card-border);
    border-radius: 16px;
    background: var(--ct-card-bg);
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .3);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.contact-info-card:hover {
    border-color: var(--ct-red);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .45), 0 0 20px rgba(233, 37, 43, .12);
}

.contact-card-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 12px;
    color: var(--ct-yellow);
    background: rgba(255, 213, 34, .1);
    box-shadow: inset 0 0 12px rgba(255, 213, 34, .1);
    transition: background .22s ease, color .22s ease;
}

.contact-info-card:hover .contact-card-icon {
    background: var(--ct-red);
    color: #ffffff;
}

.contact-card-icon svg { width: 26px; height: 26px; }

.contact-info-card h3 {
    margin: 0;
    color: #a8a7af;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-card-value {
    margin-top: 8px;
    color: var(--ct-text);
    font-family: var(--menu-font, "Nunito Sans", sans-serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.contact-card-desc {
    margin-top: auto;
    padding-top: 14px;
    color: #8b8a92;
    font-size: 13px;
    line-height: 1.5;
}

/* ── 5. Ana Bölüm: Form ve Harita Izgarası ───────────── */
.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: stretch;
    gap: clamp(30px, 5vw, 55px);
}

/* ── Form Kartı ─────────────────────────────────────── */
.contact-form-card {
    min-width: 0;
    padding: 40px 38px;
    border: 1px solid var(--ct-card-border);
    border-radius: 20px;
    background: radial-gradient(ellipse at top left, rgba(233, 37, 43, .07), transparent 60%), var(--ct-card-bg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}

.contact-form-heading {
    margin-bottom: 28px;
}

.contact-form-heading h1 {
    font-size: clamp(26px, 2.7vw, 34px);
    color: #ffffff;
}

.contact-form-heading p {
    margin: 8px 0 0;
    color: #a8a7af;
    font-size: 15px;
    line-height: 1.6;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
}

.contact-field { min-width: 0; }
.contact-field-full { grid-column: 1 / -1; }

.contact-field label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #ece7e3;
    font-size: 13px;
    font-weight: 800;
}

.contact-req { color: var(--ct-yellow); font-weight: 900; }
.contact-optional { margin-left: auto; color: #8e8d95; font-size: 11px; font-weight: 500; }

.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #3c3a42;
    border-radius: 10px;
    color: #fff;
    background: #0d0e10;
    font: inherit;
    font-size: 15px;
    line-height: 1.6;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffd522'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding-right: 40px;
}

.contact-field textarea {
    min-height: 135px;
    resize: vertical;
}

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
    border-color: var(--ct-yellow);
    outline: 2px solid var(--ct-yellow);
    outline-offset: 2px;
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
    border-color: #f28b88;
}

.contact-field-error {
    margin: 6px 0 0;
    color: #ff9d98;
    font-size: 12px;
    font-weight: 700;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: var(--ct-red);
    color: #ffffff;
    font-family: var(--menu-font, "Nunito Sans", sans-serif);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(233, 37, 43, .35);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-submit-btn:hover {
    background: var(--ct-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(233, 37, 43, .45);
}

.contact-form-note {
    margin: 18px 0 0;
    color: #8b8a92;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.contact-notice {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.6;
}
.contact-notice-success { border-color: #426b50; color: #d7eedc; background: #172b1e; }
.contact-notice-warning { border-color: #8a6b22; color: #ffe4a3; background: #302813; }
.contact-notice-error { border-color: #8c4545; color: #ffcfcb; background: #351b1d; }
.contact-notice p { margin: 0; font-weight: 800; }
.contact-notice ul { margin: 8px 0 0; padding-left: 20px; }

/* ── Sağ Sütun: Adres ve Harita ──────────────────────── */
.contact-side-col {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-width: 0;
}

.contact-address-card {
    padding: 30px 28px;
    border: 1px solid var(--ct-card-border);
    border-radius: 18px;
    background: var(--ct-card-bg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.contact-address-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-address-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    color: var(--ct-yellow);
    background: rgba(255, 213, 34, .1);
}
.contact-address-icon svg { width: 24px; height: 24px; }

.contact-address-card h3 {
    margin: 0;
    font-size: 21px;
    color: #ffffff;
}

.contact-address-text {
    margin: 0 0 20px;
    color: #cfcfd6;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}

.contact-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 213, 34, .3);
    border-radius: 10px;
    color: var(--ct-yellow);
    background: rgba(255, 213, 34, .08);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.contact-directions-btn:hover {
    background: var(--ct-yellow);
    color: #0d0e10;
}

.contact-directions-btn svg { width: 16px; height: 16px; }

/* Harita Kartı */
.contact-map-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--ct-card-border);
    border-radius: 18px;
    background: var(--ct-card-bg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.contact-map-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.contact-map-header h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    color: #ffffff;
}

.contact-map-header svg { width: 22px; height: 22px; color: var(--ct-yellow); }

.contact-map-wrapper {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    height: auto;
    min-height: 320px;
    border-radius: 14px;
    overflow: hidden;
    background: #0d0e10;
    border: 1px solid #2d2e33;
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8b8a92;
    text-align: center;
    padding: 20px;
}

.contact-map-fallback svg {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: var(--ct-yellow);
}

.contact-map-fallback p {
    margin: 0;
    font-size: 14px;
}

/* ── 6. Alt Davet Bannerı ─────────────────────────────── */
.contact-cta-banner {
    margin-top: 80px;
    padding: 48px 44px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1f1214 0%, #16171b 60%, #1e1913 100%);
    border: 1px solid #3c2428;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
}

.contact-cta-content {
    max-width: 680px;
}

.contact-cta-eyebrow {
    color: var(--ct-yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-cta-content h3 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-family: var(--menu-font, "Nunito Sans", sans-serif);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
}

.contact-cta-content p {
    margin: 0;
    color: #b6b5be;
    font-size: 16px;
    line-height: 1.7;
}

.contact-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 12px;
    background: var(--ct-yellow);
    color: #0d0e10;
    font-family: var(--menu-font, "Nunito Sans", sans-serif);
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 213, 34, .35);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

.contact-cta-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 255, 255, .4);
    color: #0d0e10;
}

.contact-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #ffffff;
    font-family: var(--menu-font, "Nunito Sans", sans-serif);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
    white-space: nowrap;
}

.contact-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-3px);
    color: #ffffff;
}

.contact-page a:focus-visible,
.contact-page button:focus-visible,
.contact-notice:focus-visible {
    outline: 2px solid var(--ct-yellow);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ── 7. Responsive Tasarım ────────────────────────────── */
@media (max-width: 1050px) {
    .contact-container { width: calc(100% - 50px); }
    .contact-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-cta-banner { padding: 36px 30px; }
}

@media (max-width: 640px) {
    .contact-page { padding-top: 32px; }
    .contact-container { width: calc(100% - 32px); }
    .contact-cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-form-card { padding: 26px 20px; }
    .contact-form-grid { grid-template-columns: 1fr; }
    .contact-cta-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .contact-cta-actions { flex-direction: column; }
    .contact-cta-btn,
    .contact-cta-btn-secondary { justify-content: center; width: 100%; }
}
