/* =====================================================================
   ALANYATRIPS — Tur detay sayfası
   ===================================================================== */

.tour__head { padding-top: 16px; margin-bottom: 22px; }
.tour__cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.tour__title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.03; max-width: 900px; text-wrap: balance; }
.tour__rating { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--mist); font-size: 15px; }

.stars { --r: 5; position: relative; display: inline-block; width: 90px; height: 16px; background: linear-gradient(90deg, var(--brass) calc(var(--r) / 5 * 100%), #DCD2C2 calc(var(--r) / 5 * 100%)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 16'%3E%3Cg%3E%3Cpath d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3Cpath transform='translate(18)' d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3Cpath transform='translate(36)' d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3Cpath transform='translate(54)' d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3Cpath transform='translate(72)' d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3C/g%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 16'%3E%3Cg%3E%3Cpath d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3Cpath transform='translate(18)' d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3Cpath transform='translate(36)' d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3Cpath transform='translate(54)' d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3Cpath transform='translate(72)' d='M8 0l2.4 5 5.6.8-4 3.9.9 5.5L8 12.6 3.1 15.2 4 9.7 0 5.8 5.6 5z'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }

/* ---------- Galeri ---------- */
.gallery { position: relative; display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(320px, 46vw, 540px); border-radius: var(--radius); overflow: hidden; }
.gallery__item { position: relative; padding: 0; border: 0; background: var(--sea); cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.gallery__item:hover img { transform: scale(1.03); filter: brightness(1.05); }
.gallery__item--main { grid-row: span 2; }
.gallery--n1 { grid-template-columns: 1fr; }
.gallery--n1 .gallery__item--main { grid-row: span 2; }
.gallery--n2 { grid-template-columns: 2fr 1fr; }
.gallery--n2 .gallery__item:nth-child(2) { grid-row: span 2; }
.gallery--n3 { grid-template-columns: 2fr 1fr; }
.gallery--n4 .gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__all { position: absolute; right: 14px; bottom: 14px; z-index: 2; box-shadow: var(--shadow); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 20, 27, .96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(8, 20, 27, .9); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 10px; max-height: 100vh; padding: 60px 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.lightbox__figure figcaption { color: #CFDADB; font-size: 14px; text-align: center; }
.lightbox__close, .lightbox__nav { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__nav { justify-self: center; }
.lightbox__count { position: absolute; left: 20px; top: 26px; font-size: 14px; color: #CFDADB; }

/* ---------- İçerik + yan kolon ---------- */
.tour__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; margin-top: 36px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; list-style: none; margin: 0 0 28px; padding: 0; }
.facts li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius-md); font-weight: 700; }
.facts .ico { color: var(--sea); width: 22px; height: 22px; }
.facts small { display: block; font-size: 12px; font-weight: 600; color: var(--mist); }
.tour__lead { font-size: 19px; line-height: 1.65; color: #33454C; }
.tour__section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--stone); }
.tour__section h2 { font-family: var(--serif); font-size: 34px; margin-bottom: 18px; }

.prose { font-size: 17px; line-height: 1.75; color: #22363E; }
.prose h2, .prose h3 { font-family: var(--serif); margin: 1.4em 0 .5em; line-height: 1.15; }
.prose h3 { font-size: 26px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--sea); }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brass); color: var(--mist); font-style: italic; }
.prose--plan ol { list-style: none; counter-reset: step; padding: 0; }
.prose--plan ol > li { counter-increment: step; position: relative; padding: 0 0 18px 48px; margin: 0; }
.prose--plan ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sea-soft); color: var(--sea); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.prose--plan ol > li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--stone); }

.inc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.inc h2 { font-size: 28px; }
.inc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inc__list li { display: flex; gap: 10px; align-items: flex-start; }
.inc__list--yes .ico { color: #2F7A4C; margin-top: 3px; }
.inc__list--no .ico { color: var(--danger); margin-top: 3px; }

.table-scroll { overflow-x: auto; }
.pickups { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius-md); overflow: hidden; }
.pickups th, .pickups td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--stone-2); }
.pickups thead th { border-top: 0; background: var(--sand); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.pickups small { display: block; color: var(--mist); font-size: 13px; }
.pickups__time { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.video { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink); margin-bottom: 14px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; border: 0; background: radial-gradient(circle at 50% 50%, var(--ink-2), var(--ink)); color: #fff; display: grid; place-items: center; align-content: center; gap: 10px; font-weight: 700; cursor: pointer; }
.video__play .ico { width: 64px; height: 64px; color: var(--gold); }

.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info__box { padding: 18px 20px; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius-md); }
.info__box h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.info__box p { margin: 0; color: #33454C; }

.faq { display: grid; gap: 10px; }
.faq__item { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius-md); }
.faq__item summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brass); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 20px 18px; color: #33454C; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.review { margin: 0; padding: 18px 20px; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius-md); }
.review footer { font-size: 13px; color: var(--mist); font-weight: 600; }
.review__reply { margin: 12px 0 0; padding: 10px 12px; background: var(--sand-2); border-radius: 10px; font-size: 14px; }

/* ---------- Rezervasyon kutusu ---------- */
.tour__side { position: sticky; top: 100px; }
.book { padding: 24px; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 18px; scroll-margin-top: 110px; }
.book__price { display: flex; flex-direction: column; }
.book__amount { font-size: 34px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.book__amount small { font-size: 14px; font-weight: 500; color: var(--mist); }
.book__ages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone-2); }
.book__ages li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--stone-2); }
.book__ages small { display: block; color: var(--mist); font-size: 12px; }
.book__slot:empty { display: none; }
.book__actions { display: grid; gap: 10px; }
.book__actions .btn { width: 100%; }
.book__help { margin: 0; font-size: 13px; color: var(--mist); }

@media (max-width: 1000px) {
    .tour__grid { grid-template-columns: 1fr; gap: 28px; }
    .tour__side { position: static; order: -1; }
}
@media (max-width: 700px) {
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 420px; }
    .gallery__item--main { grid-column: span 2; grid-row: auto; }
    .gallery__item:nth-child(n+4) { display: none; }
    .gallery--n1 { grid-template-rows: 1fr; height: 280px; }
    .inc { grid-template-columns: 1fr; }
    .lightbox[open] { grid-template-columns: 1fr; }
    .lightbox__nav { position: absolute; bottom: 20px; }
    .lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
}

/* Alınış bölgeleri (saat girilmemişse liste olarak) */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; }

/* Yorumlar: başlık + "Yorum yaz", herkese açık form, dosya listesi, onaylı yorumların fotoğraf/videoları */
.rev-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rev-head h2 { margin: 0; }
.rev-box { margin: 16px 0 24px; padding: 20px; border: 1px solid var(--stone); border-radius: var(--radius); background: var(--paper); }
.rev-form { display: grid; gap: 14px; }
.rev-form h3, .rev-done h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.rev-done p { margin: 8px 0 0; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.rate-input { position: relative; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; border: 0; }
.rate-input legend { width: 100%; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.rate-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-input label { width: 36px; height: 36px; cursor: pointer; background: var(--stone); transition: background-color .15s, transform .15s;
    clip-path: polygon(50% 4%, 61.8% 38%, 97% 38%, 68.5% 59%, 79.4% 94%, 50% 72.5%, 20.6% 94%, 31.5% 59%, 3% 38%, 38.2% 38%); }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { background: var(--brass); }
.rate-input input:focus-visible + label { outline: 2px solid var(--sea); outline-offset: 2px; }
.rev-media { display: grid; gap: 8px; }
.rev-media__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.rev-media__pick { justify-self: start; cursor: pointer; }
.rev-media__pick:focus-within { outline: 2px solid var(--sea); outline-offset: 2px; }
.rev-media__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rev-media__list:empty { display: none; }
.rev-media__item { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border: 1px solid var(--stone); border-radius: 10px; background: #fff; }
.rev-media__item img, .rev-media__vid { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; flex: none; }
.rev-media__vid { display: grid; place-items: center; background: var(--ink); color: #fff; }
.rev-media__name { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rev-media__rm { border: 0; background: transparent; color: var(--danger); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rev-progress { height: 6px; background: var(--stone); border-radius: 3px; overflow: hidden; }
.rev-progress span { display: block; height: 100%; width: 0; background: var(--sea); transition: width .2s; }
.review__media { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.review__media a { display: block; }
.review__media img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.review__media video { width: 240px; max-width: 100%; height: auto; border-radius: 8px; background: #000; }
@media (prefers-reduced-motion: reduce) { .rate-input label, .rev-progress span { transition: none; } }
