@charset "UTF-8";
body, body * {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  isolation: isolate;
  pointer-events: none;
}
.bg video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(0.6);
}
.bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(30% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 168%), linear-gradient(to top, black, transparent);
  z-index: 1;
}
.bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/bg-overlay.webp") left top/auto 100% no-repeat;
  z-index: 2;
  filter: brightness(1.5);
  transition: opacity 0.4s ease-in-out;
}

.container {
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: flex-start;
  justify-content: center;
  width: clamp(0%, 880px, 100%);
  margin: 0 auto;
  max-width: 880px;
  flex: 1;
  visibility: hidden;
}

.logo {
  height: 3rem;
}

.slogan {
  width: 24rem;
  max-width: 100%;
}
@supports (mix-blend-mode: hard-light) {
  .slogan {
    mix-blend-mode: hard-light;
  }
}

.location {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.location h2 {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.8rem;
  font-weight: normal;
}
.location h2 img {
  height: 1.2em;
}
.location ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 8px;
  padding: 0;
  margin: 0;
}
.location ul li {
  list-style: none;
  display: flex;
}
.location ul li a {
  width: 100%;
  padding: 3rem 1rem 5rem;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
  /*@supports (mix-blend-mode: hard-light) {
      mix-blend-mode: hard-light;
  }*/
}
.location ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: -1;
  background: var(--bg, rgba(67, 0, 0, 0.768627451));
  border-radius: 0.65rem;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 8rem);
          mask-image: linear-gradient(to top, transparent, #000 8rem);
  transition: background-color 0.25s ease-in-out;
  will-change: background-color;
}
.location ul li a > img {
  height: 6rem;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: filter 0.35s ease-in-out;
}
.location ul li a h3 {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: normal;
  transition: filter 0.35s ease-in-out;
}
.location ul li a h3 img {
  height: 1.2em;
  aspect-ratio: 1;
  -o-object-fit: contain;
     object-fit: contain;
}
.location ul li a > span {
  position: absolute;
  top: calc(100% - 4.5rem);
  left: 50%;
  opacity: 0;
  transform: translate(-50%, 70%) scaleY(0);
  transform-origin: center bottom;
  transition: all 0.18s ease-in-out;
  font-size: 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.25rem;
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.8);
}
.location ul li a > span svg {
  height: 1.6em;
  fill: rgba(255, 255, 255, 0.8);
}
.location ul li a:hover {
  transform: translateY(-1rem);
}
.location ul li a:hover::before {
  background: rgba(56, 0, 0, 0.77);
}
.location ul li a:hover > span {
  transform: translate(-50%, 0) scaleY(1);
  opacity: 1;
}
.location ul li a.blur > img, .location ul li a.blur h3 {
  filter: blur(2px);
}

.footer {
  text-align: center;
  font-size: 0.8rem;
  width: 100%;
  opacity: 0.8;
  padding: 1.5rem 1rem;
  margin-top: auto;
  will-change: transform, opacity;
}

/* İlk yükleme anında parlamayı/bozulmayı engellemek için */
.container {
  visibility: hidden;
}

.footer {
  opacity: 0;
}

.logo,
.slogan,
.location h2,
.location ul li {
  will-change: transform, opacity;
}

@media screen and (max-width: 1180px) {
  .bg::after {
    opacity: 0.5;
  }
  .container {
    padding: 3rem 2rem;
  }
}
@media screen and (max-width: 640px) {
  .container {
    gap: 3.5rem;
  }
  .slogan {
    width: 17rem;
  }
  .location ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 420px) {
  .location ul {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}