* {
  box-sizing: border-box;
  font-family: "Comic Relief", system-ui;
  font-weight: 700;
  font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.is-loading .zoom-scene {
  visibility: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4efe7;
  color: #fff;
  font-size: 18px;
}

/* #region scroll*/
.scrolldown-wrapper {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.scroll-text {
  text-align: center;
  color: black;
  font-size: clamp(12px, 1.5vw, 16px);
  letter-spacing: 1px;
  margin-bottom: 0px;
  white-space: nowrap;
  opacity: 0.8;
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
  animation: scrollTextPulse 1.6s ease-in-out infinite;
}

@keyframes scrollTextPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}


.chevrons {
  padding: 6px 0 0 0;
  margin-left: -3px;
  margin-top: 8px;
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chevrondown {
  margin-top: -6px;
  position: relative;
  border: solid var(--color);
  border-width: 0 3px 3px 0;
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(225deg);
}

.chevrondown:nth-child(even) {
  animation: pulse54012 500ms ease infinite alternate;
}

.chevrondown:nth-child(odd) {
  animation: pulse54012 500ms ease infinite alternate 250ms;
}

@keyframes pulse54012 {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.5;
  }
}
/* #endregion */

/* #region zoom*/
.zoom-scene {
  height: 100dvh;
  position: relative;
}

.zoom-scene__sticky {
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background: #111;
}

/* arka görsel */
.zoom-scene__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-align: center;
  align-content: center;
}

.zoom-scene__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

/* öndeki frame */
.zoom-scene__frame-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.zoom-scene__frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}
/* #endregion */

/* #region invitation-hotspot*/

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255,255,255,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0);
  }
}

/* .page-transition {
  position: fixed;
  inset: 0;
  background: #111; 
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
} */


.hotspot-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
}

/* PNG burada pulse alır */
.hotspot-icon img {
  width: 250px;
  height: auto;
  animation: iconPulse 1.4s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}
/* #endregion */

/* #region modal-popup*/ 
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
}

.modal-content {
  position: relative;
  width: auto;
  height: auto;
  max-width: min(736px, 92vw);
  max-height: 92dvh;
  opacity: 0;
  transform: scale(0.92);
}

.modal-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.modal-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(736px, 92vw);
  max-height: 92dvh;
  border-radius: 22px;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 50;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-hotspot {
  position: absolute;
  z-index: 20;
  display: block;
  opacity: 0;
  cursor: pointer;
}

.modal-hotspot-1 {
  left: 50%;
  top: 76%;
  width: 50%;
  height: 19%;
}
/* #endregion */

/* #region mobile*/
@media (max-width: 768px) {

  .zoom-scene__bg {
  width: 80%;
  height: 80%;
  }

  .hotspot-icon {
    left: 50%;
    top: 70%;
  }

   .modal-overlay {
    padding: 12px;
  }

  .modal-content {
    max-width: 94vw;
    max-height: 92dvh;
  }

  .modal-image {
    max-width: 94vw;
    max-height: 92dvh;
    border-radius: 18px;
  }

  .modal-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

   .modal-hotspot-1 {
    height: 21%;
  }

}
/* #endregion */