/* =========================================================
   29 Ekim Cumhuriyet Bayramı pop-up'ı (2026)
   Bayram bitince bu dosya, bayram.js ve cumhuriyet-bayrami-2026.jpg
   ile index.html'deki iki satır (link + script) silinebilir.
   ========================================================= */

.bayram-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 8, 8, .8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .45s ease;
}
.bayram-overlay.is-open { opacity: 1; }

.bayram-card {
  position: relative;
  width: min(100%, calc(88vh * 2 / 3));
  width: min(100%, calc(88dvh * 2 / 3));
  max-width: 560px;
  margin: 0;
  background: var(--bg, #101010);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transform: translateY(18px) scale(.97);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}
.bayram-overlay.is-open .bayram-card { transform: none; }

.bayram-card img {
  display: block;
  width: 100%;
  height: auto;
}

.bayram-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(16, 16, 16, .72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #F3F1ED;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.bayram-close:hover,
.bayram-close:focus-visible {
  background: var(--accent, #E27751);
  border-color: var(--accent, #E27751);
  color: var(--on-accent, #231914);
  outline: none;
}

html.bayram-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .bayram-overlay,
  .bayram-card { transition: none; }
}
