/* ==========================================================================
   Tur detayı (/tur/{id}) — sayfa bileşenleri
   Eskiden tour-details.blade.php içinde ~125 inline style + 3 <style> bloğuydu.
   Değerler tt-tokens.css'ten; kart/başlık/buton tt-components.css'ten.
   ========================================================================== */

/* ---------- Başlık + bilgi barı ---------- */
.td-infobar { font-family: var(--tt-font); }
.td-infobar .min-w-0 { min-width: 0; }
.td-infobar__logo {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 8px; overflow: hidden;
    border-radius: 50%;
    background: var(--tt-surface-soft);
}
.td-infobar__logo img { width: 100%; height: 100%; object-fit: contain; }
.td-infobar__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 560px; }
.td-infobar__title,
.td-infobar__route { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-infobar__title { font-size: var(--tt-fs-body); font-weight: var(--tt-fw-head); line-height: 1.2; color: var(--tt-heading); }
.td-infobar__route { font-size: var(--tt-fs-small); color: var(--tt-muted); }
.td-infobar__rule { border-color: var(--tt-line); opacity: 1; }

.td-meta { display: flex; align-items: center; }
.td-meta__icon {
    width: 36px; height: 36px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--tt-surface-soft);
    color: var(--tt-body);
}
.td-meta__text { display: flex; flex-direction: column; gap: 2px; }
.td-meta__label { font-size: var(--tt-fs-micro); color: var(--tt-muted); }
.td-meta__value { font-size: var(--tt-fs-small); font-weight: var(--tt-fw-head); color: var(--tt-heading); white-space: nowrap; }
.td-meta__link { font-size: var(--tt-fs-small); font-weight: var(--tt-fw-head); color: var(--tt-brand); text-decoration: none; white-space: nowrap; }
.td-meta__link:hover { text-decoration: underline; }
.td-meta__sep { width: 1px; height: 32px; background: var(--tt-line); }

/* ---------- Galeri ---------- */
.td-gallery { padding: 8px; }
.td-gallery__frame { position: relative; overflow: hidden; border-radius: var(--tt-radius-card-inner); }
.main-slider-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--tt-radius-card-inner);
}
@media (min-width: 768px) {
    .main-slider-img-wrapper { aspect-ratio: 1312 / 560; }
}
.td-fill { width: 100%; height: 100%; }
.td-fill img,
img.td-fill { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.gallery-nav {
    position: absolute; top: 50%; z-index: 5;
    transform: translateY(-50%);
    width: var(--tt-touch); height: var(--tt-touch);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--tt-glass);
    box-shadow: var(--tt-shadow-card);
    color: var(--tt-ink);
    font-size: var(--tt-fs-lead);
    cursor: pointer;
    transition: background-color .2s, opacity .2s;
}
.gallery-nav:hover { background: var(--tt-paper); }
.gallery-nav-prev { left: 16px; }
.gallery-nav-next { right: 16px; }
.gallery-nav.swiper-button-disabled { opacity: 0; pointer-events: none; }

/* ---------- Açıklama ---------- */
.td-lede { position: relative; padding-left: 24px; }
.td-lede__rule { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--tt-line); }
.td-lede__body { margin: 0; font-size: var(--tt-fs-lead); line-height: 1.85; color: var(--tt-body); }

/* ---------- Tur programı (zaman çizelgesi) ---------- */
.td-timeline { position: relative; display: flex; flex-direction: column; gap: 40px; padding-left: 48px; }
.td-timeline__line { position: absolute; left: 17px; top: 12px; bottom: 12px; width: 1px; background: var(--tt-line); }
.td-timeline__item { position: relative; }
.td-timeline__dot {
    position: absolute; left: -38px; top: 8px; z-index: 2;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--tt-ink);
    border: 4px solid var(--tt-paper);
    box-shadow: 0 0 0 1px var(--tt-line);
}
.td-day__no { flex-shrink: 0; font-size: var(--tt-fs-card); font-weight: var(--tt-fw-body); color: var(--tt-muted-2); }
.td-day__title { margin: 0; font-size: var(--tt-fs-card); font-weight: var(--tt-fw-head); line-height: var(--tt-lh-snug); color: var(--tt-heading); }
.td-day__body { margin: 0; padding-left: 40px; font-size: var(--tt-fs-body); line-height: 1.7; color: var(--tt-body); }

/* ---------- Uçuşlar ---------- */
.td-eyebrow { font-size: var(--tt-fs-small); letter-spacing: 1px; text-transform: uppercase; color: var(--tt-muted); }
.td-flight__end { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.td-flight__label { font-size: var(--tt-fs-micro); letter-spacing: 1px; text-transform: uppercase; color: var(--tt-muted); }
.td-flight__city { font-size: var(--tt-fs-card); font-weight: var(--tt-fw-head); line-height: 1.2; color: var(--tt-heading); }
.td-flight__code { font-size: var(--tt-fs-small); font-weight: var(--tt-fw-medium); letter-spacing: .5px; color: var(--tt-muted); }
.td-flight__time { font-size: var(--tt-fs-small); color: var(--tt-heading); font-variant-numeric: tabular-nums; }
.td-flight__path { display: flex; align-items: center; flex-grow: 1; gap: 8px; min-width: 80px; max-width: 260px; color: var(--tt-heading); }
.td-flight__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--tt-heading); }
.td-flight__dash { flex-grow: 1; height: 0; border-top: 1px dashed var(--tt-line); }

/* ---------- Konaklama ---------- */
.td-hotel__img { flex-shrink: 0; width: 100%; max-width: 260px; height: 180px; overflow: hidden; border-radius: var(--tt-radius-card-inner); }
.td-hotel__name { margin: 0; font-size: var(--tt-fs-card); font-weight: var(--tt-fw-head); line-height: var(--tt-lh-snug); color: var(--tt-heading); }
.td-hotel__desc {
    margin: 0;
    font-size: var(--tt-fs-body); line-height: 1.6; color: var(--tt-body);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Hizmetler ---------- */
.td-service__head { border-bottom: 1px solid var(--tt-line); }
.td-service__dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; }
.td-service__dot--in { background: var(--tt-ok); }
.td-service__dot--out { background: var(--tt-danger); }
.td-service__title { margin: 0; font-size: var(--tt-fs-lead); font-weight: var(--tt-fw-head); line-height: var(--tt-lh-snug); letter-spacing: -.3px; color: var(--tt-heading); }
.td-service__body { font-size: var(--tt-fs-body); line-height: 1.7; color: var(--tt-body); }
.services-list ul,
.services-list ol { margin: 0; padding-left: 1.25em; text-align: left; }
.services-list li { margin: 0 0 .4em; padding: 0; text-indent: 0; text-align: left; }
.services-list p { margin: 0 0 .4em; }

/* ---------- Ekstra hizmetler ---------- */
.td-extras__head { background: var(--tt-surface-soft); border-bottom: 1px solid var(--tt-line); }
.td-extras__row + .td-extras__row { border-top: 1px solid var(--tt-line); }
.td-extra__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--tt-radius-field);
    background: var(--tt-surface-soft);
    color: var(--tt-muted);
}
.td-extra__title { font-size: var(--tt-fs-body); font-weight: var(--tt-fw-medium); color: var(--tt-heading); text-transform: uppercase; }
.td-extra__desc { font-size: var(--tt-fs-small); line-height: 1.6; color: var(--tt-body); }
.td-extra__ask { font-size: var(--tt-fs-small); color: var(--tt-muted); }
.td-extra__price { font-size: var(--tt-fs-card); font-weight: var(--tt-fw-head); color: var(--tt-heading); font-variant-numeric: tabular-nums; }

/* ---------- Fiyat kutusu (yan kolon) ---------- */
.td-aside { top: 100px; z-index: 10; }
.td-price__lead { margin: 0; font-size: var(--tt-fs-body); line-height: 1.6; color: var(--tt-body); }
.td-price__label { font-size: var(--tt-fs-micro); font-weight: var(--tt-fw-head); letter-spacing: 1px; text-transform: uppercase; color: var(--tt-muted); }
.td-price__main { font-size: var(--tt-fs-section); line-height: 1; color: var(--tt-heading); font-variant-numeric: tabular-nums; }
.td-price__name { font-size: var(--tt-fs-body); color: var(--tt-body); }
.td-price__value { font-size: var(--tt-fs-card); font-weight: var(--tt-fw-medium); color: var(--tt-heading); font-variant-numeric: tabular-nums; }
.td-divider { width: 100%; height: 1px; background: var(--tt-line-soft); }

.td-price-table { width: 100%; border-collapse: collapse; font-size: var(--tt-fs-small); font-variant-numeric: tabular-nums; }
.td-price-table thead tr { border-bottom: 2px solid var(--tt-line); }
.td-price-table th {
    padding: 8px 4px;
    text-align: right;
    font-size: var(--tt-fs-micro); font-weight: var(--tt-fw-head);
    letter-spacing: .03em; text-transform: uppercase;
    color: var(--tt-muted);
}
.td-price-table th:first-child,
.td-price-table td:first-child { text-align: left; }
.td-price-table tbody tr { border-bottom: 1px solid var(--tt-line-soft); }
.td-price-table td { padding: 10px 4px; text-align: right; font-weight: var(--tt-fw-head); color: var(--tt-heading); }
.td-price-table td:first-child { font-weight: var(--tt-fw-body); color: var(--tt-body); }
.td-price-table td.is-empty { font-weight: var(--tt-fw-body); color: var(--tt-disabled); }
.td-price-table .is-main { color: var(--tt-brand); font-weight: var(--tt-fw-head); }

.td-soldout { background: var(--tt-danger-bg); border-radius: var(--tt-radius-card); color: var(--tt-danger); }
.td-soldout__title { font-size: var(--tt-fs-lead); font-weight: var(--tt-fw-head); }
.td-soldout__text { font-size: var(--tt-fs-small); line-height: 1.5; }
