/* Ulukat Tema · Hero · v0.1.0 */

.uhr {
  --uhr-ease: cubic-bezier(.2, .8, .2, 1);
  --uhr-fawn: #dba66e;
  position: relative; background: #000; overflow: hidden; isolation: isolate;
  touch-action: pan-y;
}
.uhr-slides { display: grid; }
.uhr-slide {
  grid-area: 1 / 1; position: relative; z-index: 0;
  padding: 210px 0 220px;
  opacity: 0; transition: opacity .5s ease;
}
.uhr-slide.is-active { opacity: 1; z-index: 1; }

/* ── ARKA PLAN ── */
.uhr-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; perspective: 400px; }
.uhr-bg::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .45; z-index: 2; }
.uhr-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s;
}
.uhr-slide.is-active .uhr-img { opacity: 1; transition-delay: 1.5s; }

.uhr-tiles { position: absolute; inset: 0; z-index: 1; }
.uhr-tiles i {
  position: absolute; display: block; background-repeat: no-repeat;
  opacity: 0; transform: rotateY(50deg) scale(.5); transform-origin: bottom;
  transition: opacity 1s cubic-bezier(.71, .05, .09, .91), transform 1s cubic-bezier(.71, .05, .09, .91);
}
.uhr-slide.is-active .uhr-tiles i { opacity: 1; transform: none; }

/* ── İÇERİK ── */
.uhr-kap { max-width: 1194px; margin: 0 auto; padding: 0 12px; }
.uhr-ic { text-align: center; }

.uhr-ust {
  margin: 0 0 18px; color: var(--uhr-fawn);
  font: 500 50px/1.5 var(--ul-font); letter-spacing: 2px;
  perspective: 2000px; transform-style: preserve-3d;
}
.uhr-baslik {
  max-width: 750px; margin: 0 auto 50px; color: #fff;
  font: 700 100px/1 'Lora', Georgia, serif;
  perspective: 2000px; transform-style: preserve-3d;
  overflow-wrap: break-word;
}
.uhr-btn-wrap { perspective: 2000px; transform-style: preserve-3d; }

/* ── BUTON ── */
.uhr-btn {
  display: inline-block; color: #fff; text-decoration: none;
  font: 600 18px/1.5 'Lora', Georgia, serif;
  border: 2px solid #fff; border-radius: 100px;
  transition: background-color .5s var(--uhr-ease), color .5s var(--uhr-ease);
}
.uhr-btn-ic { display: inline-block; padding: 11px 35px; transition: transform 1s cubic-bezier(.165, .84, .44, 1); }
.uhr-btn-t { position: relative; z-index: 1; overflow: hidden; display: inline-flex; line-height: 1.5; }
.uhr-btn-on,
.uhr-btn-arka { display: block; transition: transform 1s var(--uhr-ease), opacity 1s var(--uhr-ease); }
.uhr-btn-arka { position: absolute; top: 0; left: 0; width: 100%; color: #b57b51; opacity: 0; transform: translateY(100%); }
.uhr-btn:hover { background: #fff; color: #fff; }
.uhr-btn:hover .uhr-btn-on { opacity: 0; transform: translateY(-100%); }
.uhr-btn:hover .uhr-btn-arka { opacity: 1; transform: none; }
.uhr-btn:focus-visible { outline: 2px solid var(--ul-gold); outline-offset: 4px; }

/* ── NOKTALAR ── */
.uhr-kontrol {
  position: absolute; left: 0; right: 0; bottom: calc(16% - 18.5px); z-index: 3;
  display: flex; justify-content: center; align-items: center;
}
.uhr-nokta {
  position: relative; width: 27px; height: 44px; padding: 0; margin: 0;
  border: 0; background: none; cursor: pointer;
}
.uhr-nokta::before,
.uhr-nokta::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; transition: all .5s var(--uhr-ease);
}
.uhr-nokta::before { width: 7px; height: 7px; background: #fff; }
.uhr-nokta::after { width: 27px; height: 27px; border: 2px solid #fff; box-sizing: border-box; opacity: 0; }
.uhr-nokta.is-active::before { background: #b57b51; }
.uhr-nokta.is-active::after { opacity: 1; }
.uhr-nokta:focus-visible { outline: 2px solid var(--ul-gold); outline-offset: 2px; border-radius: 8px; }

.uhr-dur {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.uhr-dur:focus-visible {
  position: static; width: auto; height: auto; margin: 0 0 0 16px; clip: auto; overflow: visible;
  padding: 8px 14px; border-radius: 999px; border: 2px solid #fff; background: rgba(0, 0, 0, .5);
  color: #fff; font: 600 13px/1 var(--ul-font); cursor: pointer; outline: 2px solid var(--ul-gold); outline-offset: 2px;
}

/* ── SATIR ANİMASYONU ── */
.uhr-satir { display: block; transform-origin: 50% 0; }

/* ── DUYARLI ── */
@media (max-width: 1599px) { .uhr-baslik { font-size: 90px; } }
@media (max-width: 1399px) { .uhr-baslik { font-size: 80px; } }
@media (max-width: 1199px) { .uhr-baslik { font-size: 70px; } .uhr-ust { font-size: 45px; } }
@media (max-width: 991px)  { .uhr-baslik { font-size: 60px; } .uhr-ust { font-size: 40px; } }
@media (max-width: 767px)  { .uhr-baslik { font-size: 50px; } .uhr-ust { font-size: 35px; } }
@media (max-width: 575px)  { .uhr-baslik { font-size: 40px; } .uhr-ust { font-size: 30px; } }
@media (min-width: 576px)  { .uhr-kap { max-width: 564px; } }
@media (min-width: 768px)  { .uhr-kap { max-width: 744px; } }
@media (min-width: 992px)  { .uhr-kap { max-width: 984px; } }
@media (min-width: 1200px) { .uhr-kap { max-width: 1194px; } }

@media (prefers-reduced-motion: reduce) {
  .uhr-tiles { display: none; }
  .uhr-slide, .uhr-img { transition: opacity .2s linear !important; transition-delay: 0s !important; }
}
