/**
 * NTZ Tema — Tekil Tur Sayfası Eklentileri
 * C1 galeri + lightbox, C2 harita, C4 SSS accordion, C5 yorumlar, C6 benzer turlar.
 */

/* ---- C1: Galeri grid ---- */
.ntz-galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.ntz-galeri-oge {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}
.ntz-galeri-oge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.ntz-galeri-oge:hover img {
    transform: scale(1.06);
}

/* ---- C1: Lightbox ---- */
.ntz-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 30px;
}
.ntz-lightbox.acik {
    display: flex;
}
.ntz-lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.ntz-lightbox-kapat {
    position: absolute;
    top: 18px;
    right: 26px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

/* ---- C2: Harita ---- */
.ntz-tur-harita {
    width: 100%;
}

/* ---- C4: SSS accordion ---- */
.ntz-sss-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ntz-sss-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 14px;
    background: #fff;
}
.ntz-sss-soru {
    cursor: pointer;
    font-weight: 600;
    padding: 10px 0;
    list-style: none;
    position: relative;
    padding-right: 24px;
}
.ntz-sss-soru::-webkit-details-marker {
    display: none;
}
.ntz-sss-soru::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #2563eb;
}
.ntz-sss-item[open] .ntz-sss-soru::after {
    content: "–";
}
.ntz-sss-cevap {
    padding-bottom: 10px;
    color: #475569;
}

/* ---- C5: Yorumlar ---- */
.ntz-yorumlar-section {
    margin-top: 0;
}
.ntz-yildizlar {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 18px;
}
.ntz-yorum {
    border-bottom: 1px solid #eef2f7;
    padding: 14px 0;
}
.ntz-yorum-ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.ntz-yorum-ad {
    font-weight: 600;
}
.ntz-yorum-tarih {
    color: #94a3b8;
    font-size: 13px;
}
.ntz-yorum-form label {
    display: block;
    font-weight: 600;
    margin: 12px 0 4px;
}
.ntz-yorum-form input[type="text"],
.ntz-yorum-form input[type="email"],
.ntz-yorum-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}
.ntz-yildiz-secim {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
    font-size: 26px;
}
.ntz-yildiz-secim input {
    display: none;
}
.ntz-yildiz-secim label {
    color: #cbd5e1;
    cursor: pointer;
    margin: 0;
}
.ntz-yildiz-secim input:checked ~ label,
.ntz-yildiz-secim label:hover,
.ntz-yildiz-secim label:hover ~ label {
    color: #f59e0b;
}
.ntz-hp-alan {
    position: absolute !important;
    left: -9999px !important;
}

/* ---- C6: Benzer turlar ---- */
.tur-benzer-section {
    margin-top: 40px;
}
.ntz-benzer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 16px;
}
.ntz-benzer-kart {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}
.ntz-benzer-kart:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    transform: translateY(-3px);
}
.ntz-benzer-gorsel img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}
.ntz-benzer-icerik {
    padding: 12px 14px;
}
.ntz-benzer-baslik {
    font-size: 16px;
    margin: 0 0 6px;
}
.ntz-benzer-tarih {
    display: block;
    color: #64748b;
    font-size: 13px;
}
.ntz-benzer-fiyat {
    display: inline-block;
    margin-top: 6px;
    font-weight: 700;
    color: #2563eb;
}
