add_action('wp_footer', function() {
    echo '<div id="foto-lightbox" class="fixed inset-0 z-[9998] hidden items-center justify-center p-4" style="background:rgba(0,0,0,0.85)">
  <div class="relative bg-[#1a1a2e] border border-white/10 rounded-2xl overflow-hidden max-w-2xl w-full shadow-2xl">
    <button id="foto-kapat" class="absolute top-3 right-4 text-white/60 hover:text-white text-3xl font-light z-10 leading-none">&times;</button>
    <img id="foto-buyuk" src="" alt="" class="w-full max-h-72 object-cover" />
    <div class="p-6">
      <div id="foto-kategori" class="inline-block bg-purple-600/80 px-3 py-1 rounded-full text-xs font-bold text-white mb-3"></div>
      <h2 id="foto-baslik" class="text-2xl font-bold text-white mb-3"></h2>
      <div class="flex flex-wrap gap-4 text-sm text-gray-400 mb-4">
        <span class="flex items-center gap-1">
          <svg width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="18" rx="2"/><path d="M16 2v4M8 2v4M3 10h18"/></svg>
          <span id="foto-tarih"></span>
        </span>
        <span class="flex items-center gap-1">
          <svg width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/><circle cx="12" cy="10" r="3"/></svg>
          <span id="foto-konum"></span>
        </span>
        <span class="font-bold text-white text-lg" id="foto-fiyat"></span>
      </div>
      <p id="foto-aciklama" class="text-gray-400 text-sm leading-relaxed mb-5"></p>
    </div>
  </div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function() {
  var lightbox = document.getElementById("foto-lightbox");
  var kapatBtn = document.getElementById("foto-kapat");
  document.querySelectorAll(".tiklanabilir-foto").forEach(function(img) {
    img.addEventListener("click", function() {
      document.getElementById("foto-buyuk").src                = this.src;
      document.getElementById("foto-baslik").textContent       = this.dataset.title    || "";
      document.getElementById("foto-tarih").textContent        = this.dataset.date     || "";
      document.getElementById("foto-konum").textContent        = this.dataset.location || "";
      document.getElementById("foto-fiyat").textContent        = this.dataset.price    || "";
      document.getElementById("foto-kategori").textContent     = this.dataset.category || "";
      document.getElementById("foto-aciklama").textContent     = this.dataset.desc     || "";
      lightbox.classList.remove("hidden");
      lightbox.classList.add("flex");
      document.body.style.overflow = "hidden";
    });
  });
  function kapat() {
    lightbox.classList.add("hidden");
    lightbox.classList.remove("flex");
    document.body.style.overflow = "";
  }
  kapatBtn.addEventListener("click", kapat);
  lightbox.addEventListener("click", function(e) {
    if (e.target === lightbox) kapat();
  });
  document.addEventListener("keydown", function(e) {
    if (e.key === "Escape") kapat();
  });
});
</script>';
});<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://oirevent.com/wp-sitemap.xsl" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://oirevent.com/etkinlikler/universiteye-hosgeldin/</loc><lastmod>2026-01-08T08:56:45+00:00</lastmod></url><url><loc>https://oirevent.com/etkinlikler/new-year-festival/</loc><lastmod>2026-01-09T08:15:50+00:00</lastmod></url><url><loc>https://oirevent.com/etkinlikler/all-white-party/</loc><lastmod>2026-03-19T18:45:08+00:00</lastmod></url><url><loc>https://oirevent.com/etkinlikler/buyuk-universite-bulusmasi-5/</loc><lastmod>2026-04-13T20:55:02+00:00</lastmod></url></urlset>
