/* Markella Tours – Frontend CSS */

/* ═══ TUR KARTLARI (her iki shortcode için aynı) ════════════════════════════ */
.mtc-section { padding: 40px 0; background: #fff; }
.mtc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.mtc-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid #e4eaf2;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.mtc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15,40,80,.12);
    border-color: #1a4d8f;
}
.mtc-discounted { border-color: #fca5a5; }
.mtc-sold { opacity: .65; }

/* Badge */
.mtc-badge { position: absolute; top: 0; right: 0; border-bottom-left-radius: 14px; padding: 9px 14px; text-align: center; z-index: 2; }
.mtc-badge-disc { background: #e8323c; }
.mtc-badge-sold { background: #64748b; }
.mtc-badge-soon { background: #0284c7; }
.mtc-badge-pct  { display: block; font-size: 24px; font-weight: 900; color: #fff; line-height: 1; }
.mtc-badge-txt  { display: block; font-size: 9px; font-weight: 800; color: rgba(255,255,255,.85); letter-spacing: .08em; text-transform: uppercase; margin-top: 1px; }

/* Header */
.mtc-head { background: #0f2d52; padding: 22px 22px 16px; }
.mtc-title { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; padding-right: 68px; }
.mtc-meta  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mtc-date-pill { background: rgba(255,255,255,.12); color: #c8daf0; font-size: 12px; padding: 4px 11px; border-radius: 20px; font-weight: 500; }
.mtc-dur-pill  { background: rgba(255,255,255,.20); color: #fff; font-size: 12px; padding: 4px 11px; border-radius: 20px; font-weight: 700; }

/* Otel */
.mtc-hotel { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid #f0f4f8; }
.mtc-hotel-info { display: flex; align-items: center; gap: 7px; }
.mtc-hotel-name { font-size: 14px; font-weight: 700; color: #1a2e44; }
.mtc-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.mtc-quota { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 20px; }
.mtc-quota-ok   { color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; }
.mtc-quota-full { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }

/* İndirim bilgi çubuğu — geri sayım yok */
.mtc-disc-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 18px; font-size: 13px; font-weight: 600;
    background: #fff8f0; border-bottom: 1px solid #fde8d0; color: #c2410c;
    flex-wrap: wrap;
}
.mtc-disc-fire { font-size: 15px; }
.mtc-disc-until { font-weight: 400; color: #92400e; font-size: 12px; }
.mtc-disc-bar-soon    { background: #f0f9ff; border-bottom-color: #bae6fd; color: #0369a1; }
.mtc-disc-bar-expired { background: #f8fafc; border-bottom-color: #e2e8f0; color: #64748b; font-weight: 400; }

/* Fiyat + buton */
.mtc-foot { display: flex; align-items: stretch; margin-top: auto; }
.mtc-price { flex: 1; padding: 15px 18px; display: flex; flex-direction: column; justify-content: center; }
.mtc-price-orig { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.mtc-price-orig-val { font-size: 14px; color: #94a3b8; text-decoration: line-through; }
.mtc-price-save { font-size: 11px; font-weight: 700; color: #dc2626; background: #fef2f2; padding: 2px 7px; border-radius: 10px; }
.mtc-price-main { font-size: 30px; font-weight: 900; color: #0f2d52; line-height: 1.1; }
.mtc-price-sub  { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.mtc-btn {
    background: #1a5caa; color: #fff; border: none;
    padding: 0 20px; font-size: 13px; font-weight: 700; cursor: pointer;
    transition: background .2s; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2px;
    text-decoration: none !important; min-width: 120px;
    line-height: 1.3; text-align: center;
}
.mtc-btn:hover { background: #e8323c; color: #fff !important; }
.mtc-btn small { font-size: 10px; opacity: .8; font-weight: 400; }
.mtc-btn-sold {
    background: #94a3b8; cursor: not-allowed;
    padding: 0 20px; min-width: 120px; border: none;
    color: #fff; font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}

/* ═══ BOOKING SAYFASI ════════════════════════════════════════════════════════ */
#mt-app { max-width: 940px; margin: 0 auto; padding: 24px 16px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.mt-hidden { display: none !important; }

/* Adım çubuğu */
.mt-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; gap: 4px; }
.mt-step-item { display: flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 30px; background: #f1f5f9; color: #94a3b8; font-size: 13px; font-weight: 600; transition: all .2s; white-space: nowrap; }
.mt-step-active { background: #0f2d52; color: #fff; }
.mt-step-done   { background: #1a5caa; color: #fff; }
.mt-step-num { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.mt-step-line { width: 28px; height: 2px; background: #e2e8f0; flex-shrink: 0; }

.mt-panel-title { font-size: 22px; font-weight: 800; color: #0f2d52; border-bottom: 3px solid #f26405; padding-bottom: 12px; margin: 0 0 24px; }
.mt-panel-hint  { font-size: 13px; color: #64748b; background: #f8fafc; padding: 10px 14px; border-radius: 8px; margin: -12px 0 20px; }
.mt-back-btn    { background: none; border: 1px solid #e2e8f0; padding: 8px 16px; border-radius: 8px; cursor: pointer; margin-bottom: 22px; color: #64748b; font-size: 13px; transition: all .2s; }
.mt-back-btn:hover { border-color: #0f2d52; color: #0f2d52; }

/* Tur özeti kutusu (adım 2) */
.mt-tour-sum-box { background: #0f2d52; border-radius: 14px; padding: 18px 22px; margin-bottom: 20px; }
.mt-tour-sum-box h2 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.mt-tour-sum-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.mt-tour-sum-date { background: rgba(255,255,255,.12); color: #c8daf0; font-size: 12px; padding: 3px 10px; border-radius: 16px; }
.mt-tour-sum-dur  { background: rgba(255,255,255,.20); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 16px; font-weight: 700; }
.mt-tour-sum-hotel { color: #a8c4e0; font-size: 13px; margin-bottom: 8px; }
.mt-tour-sum-price { color: #fff; font-size: 14px; }

/* İndirim bilgi satırı (adım 2 header) */
.mt-tour-sum-disc {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,50,60,.2); border: 1px solid rgba(232,50,60,.4);
    border-radius: 8px; padding: 7px 12px; margin-top: 8px;
    font-size: 13px; color: #fca5a5;
}
.mt-tour-sum-disc strong { color: #fff; font-size: 15px; }
.mt-tour-sum-nodisc {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; color: rgba(255,255,255,.4); margin-top: 6px;
}

/* Dahil/Değil */
.mt-incl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.mt-incl-yes, .mt-incl-no { border-radius: 12px; padding: 16px 18px; }
.mt-incl-yes { background: #f0fdf4; border: 1px solid #bbf7d0; }
.mt-incl-no  { background: #fef2f2; border: 1px solid #fecaca; }
.mt-incl-yes h4 { color: #15803d; margin: 0 0 8px; font-size: 14px; }
.mt-incl-no  h4 { color: #b91c1c; margin: 0 0 8px; font-size: 14px; }
.mt-incl-yes div, .mt-incl-no div { font-size: 13px; line-height: 1.7; color: #374151; white-space: pre-line; }

/* İptal */
.mt-cancel-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; }
.mt-cancel-box h4 { color: #92400e; margin: 0 0 8px; font-size: 14px; }
.mt-cancel-box div { font-size: 13px; line-height: 1.7; color: #78350f; white-space: pre-line; }

/* Sayaçlar */
.mt-counters-card  { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; margin-bottom: 20px; }
.mt-counters-title { font-size: 15px; font-weight: 700; color: #0f2d52; margin: 0 0 18px; }
.mt-counters-grid  { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.mt-counter-item   { flex: 1; min-width: 130px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; text-align: center; }
.mt-counter-label  { font-size: 13px; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.mt-counter-label small { display: block; font-size: 11px; font-weight: 400; color: #94a3b8; margin-top: 2px; }
.mt-counter-ctrl   { display: flex; align-items: center; justify-content: center; }
.mt-cnt-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #e2e8f0; background: #fff; color: #1a5caa; font-size: 20px; cursor: pointer; transition: all .15s; line-height: 1; display: flex; align-items: center; justify-content: center; }
.mt-cnt-btn:hover:not(:disabled) { background: #e8323c; border-color: #e8323c; color: #fff; }
.mt-cnt-btn:disabled { opacity: .3; cursor: not-allowed; }
.mt-cnt-val { font-size: 22px; font-weight: 800; color: #0f2d52; min-width: 44px; text-align: center; }
.mt-calc-btn { width: 100%; padding: 14px; background: #f26405; color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.mt-calc-btn:hover { background: #d95a04; }

/* Fiyat sonucu */
.mt-price-result-card { background: #fff; border: 2px solid #f26405; border-radius: 14px; padding: 22px; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(242,100,5,.08); }
.mt-price-result-card h4 { font-size: 14px; font-weight: 700; color: #0f2d52; margin: 0 0 14px; }
.mt-breakdown-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 14px; }
.mt-breakdown-table td { padding: 6px 4px; border-bottom: 1px solid #f1f5f9; color: #4b5563; }
.mt-breakdown-table td:last-child { text-align: right; font-weight: 700; color: #0f2d52; white-space: nowrap; }
.mt-breakdown-table tr:last-child td { border-bottom: none; }
.mt-price-totals { padding-top: 14px; border-top: 2px dashed #f1f5f9; }
.mt-total-orig-line  { font-size: 15px; color: #94a3b8; text-decoration: line-through; margin-bottom: 4px; }
.mt-total-disc-line  { font-size: 13px; font-weight: 700; color: #e8323c; background: #fef2f2; display: inline-block; padding: 3px 12px; border-radius: 20px; margin-bottom: 8px; }
.mt-total-final-line { font-size: 34px; font-weight: 900; color: #0f2d52; line-height: 1.1; margin-bottom: 8px; }
.mt-total-final-line small { font-size: 14px; font-weight: 400; color: #94a3b8; }
.mt-error-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 14px 18px; color: #b91c1c; font-size: 13px; margin: 12px 0; }

/* Yolcu formları */
.mt-pax-form { border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; margin-bottom: 14px; background: #fafafa; }
.mt-pax-form-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.mt-pax-title-text { font-weight: 700; color: #0f2d52; font-size: 14px; }
.mt-pax-type-pill { padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.mt-pax-adult { background: #e0f2fe; color: #0369a1; }
.mt-pax-baby  { background: #fce7f3; color: #9d174d; }
.mt-pax-child { background: #fef9c3; color: #854d0e; }

/* İletişim */
.mt-contact-card { background: #fff8f4; border: 1.5px solid #f26405; border-radius: 14px; padding: 22px; margin: 20px 0; }
.mt-contact-card h3 { color: #0f2d52; margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.mt-contact-hint { font-size: 12px; color: #94a3b8; margin: 0 0 16px; }
.mt-form-row   { display: flex; gap: 14px; flex-wrap: wrap; }
.mt-form-group { flex: 1; min-width: 180px; }
.mt-form-group label { display: block; font-size: 12px; font-weight: 700; color: #374151; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .04em; }
.mt-req { color: #e8323c; }
.mt-form-group input { width: 100%; padding: 11px 13px; border: 1.5px solid #e2e8f0; border-radius: 9px; font-size: 14px; box-sizing: border-box; transition: border-color .2s; }
.mt-form-group input:focus { border-color: #f26405; outline: none; }
.mt-input-err { border-color: #e8323c !important; background: #fff5f5; }

.mt-next-btn { display: block; width: 100%; padding: 16px; background: #0f2d52; color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 16px; transition: background .2s; }
.mt-next-btn:hover { background: #f26405; }

/* Özet */
.mt-summary-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.mt-summary-detail-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; }
.mt-summary-detail-card h4 { margin: 0 0 14px; color: #0f2d52; font-size: 15px; font-weight: 700; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px; }
.mt-sum-row { display: flex; gap: 8px; font-size: 13px; padding: 5px 0; }
.mt-sum-label { color: #94a3b8; min-width: 80px; flex-shrink: 0; }
.mt-sum-val   { color: #1e293b; font-weight: 600; }
.mt-sum-pax   { margin-top: 12px; border-top: 1px solid #e2e8f0; padding-top: 12px; }
.mt-sum-pax-item { font-size: 13px; padding: 4px 0; color: #374151; }

/* Ödeme */
.mt-summary-payment { position: sticky; top: 20px; }
.mt-final-price-card { background: #fff; border: 2px solid #f26405; border-radius: 14px; padding: 22px; margin-bottom: 16px; text-align: center; box-shadow: 0 6px 20px rgba(242,100,5,.1); }
.mt-final-orig   { font-size: 15px; color: #94a3b8; text-decoration: line-through; margin-bottom: 2px; }
.mt-final-disc-badge { display: inline-block; background: #e8323c; color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.mt-final-label  { font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.mt-final-amount { font-size: 36px; font-weight: 900; color: #0f2d52; line-height: 1.1; margin-bottom: 10px; }

.mt-pay-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 18px; background: #15803d; color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 800; cursor: pointer; gap: 4px; transition: background .2s; box-shadow: 0 4px 14px rgba(21,128,61,.25); }
.mt-pay-btn:hover    { background: #166534; }
.mt-pay-btn:disabled { opacity: .5; cursor: not-allowed; }
.mt-pay-btn small    { font-size: 11px; font-weight: 400; opacity: .85; }
.mt-pay-note { font-size: 12px; color: #94a3b8; text-align: center; margin-top: 12px; line-height: 1.6; }

.mt-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: mtspin .7s linear infinite; vertical-align: middle; margin-right: 6px; }
@keyframes mtspin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 768px) {
    .mtc-grid { grid-template-columns: 1fr; padding: 0 12px; }
    .mt-steps { gap: 3px; }
    .mt-step-lbl { display: none; }
    .mt-step-item { padding: 8px 12px; }
    .mt-counters-grid { flex-direction: column; }
    .mt-incl-row { grid-template-columns: 1fr; }
    .mt-summary-layout { grid-template-columns: 1fr; }
    .mt-summary-payment { position: static; }
    .mt-form-row { flex-direction: column; }
}

/* Tur açıklaması */
.mt-tour-desc { background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:14px 18px; margin-bottom:16px; font-size:13px; color:#374151; line-height:1.7; }
.mt-tour-desc strong { color:#0f2d52; display:block; margin-bottom:6px; font-size:13px; }