.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100svh;
  min-height: 620px;
  padding-top: clamp(112px, 15svh, 144px);
  overflow: hidden;
  text-align: center;
  color: rgb(var(--hero-koyu));
  background:
    radial-gradient(60% 55% at 50% 78%, rgba(var(--hero-sicak), 0.12), transparent 70%),
    radial-gradient(70% 60% at 18% 22%, rgba(var(--hero-koyu), 0.06), transparent 70%),
    linear-gradient(180deg, rgba(var(--hero-koyu), 0.05) 0%, rgba(var(--hero-koyu), 0) 420px),
    #F7F8FA;
}

.hero__yazi {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
}

.hero__ust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #B85309;
}

.hero__ust i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme);
  box-shadow: 0 0 0 4px rgba(var(--hero-sicak), 0.18);
}

.hero__baslik {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: none;
  background-image: linear-gradient(100deg, rgb(var(--hero-koyu)) 0%, rgb(var(--hero-koyu)) 35%, color-mix(in srgb, rgb(var(--hero-koyu)) 72%, white) 48%, color-mix(in srgb, rgb(var(--hero-koyu)) 80%, rgb(var(--hero-sicak))) 55%, rgb(var(--hero-koyu)) 68%, rgb(var(--hero-koyu)) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: baslikParilti 9s ease-in-out infinite alternate;
  padding: 0.14em 0;
  margin: -0.14em 0;
}

.hero__baslik span {
  font-weight: 400;
}

@keyframes baslikParilti {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

.hero__giris {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: rgba(var(--hero-koyu), 0.72);
}

.hero__dugmeler {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__dugme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hero__dugme--ana {
  background: rgb(var(--hero-koyu));
  color: #fff;
}

.hero__dugme--ana:hover {
  color: #fff;
  background: var(--theme);
}

.hero__dugme--ana i {
  transition: transform 0.3s ease;
}

.hero__dugme--ana:hover i {
  transform: translateX(3px);
}

.hero__dugme--ikincil {
  background: rgba(255, 255, 255, 0.72);
  color: rgb(var(--hero-koyu));
  box-shadow: inset 0 0 0 1px rgba(var(--hero-koyu), 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero__dugme--ikincil:hover {
  color: rgb(var(--hero-koyu));
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(var(--hero-koyu), 0.24);
}

.hero__iller {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.hero__iller span {
  margin-right: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #6E6E73;
}

.hero__iller a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(var(--hero-koyu), 0.14);
  font-size: 14px;
  font-weight: 600;
  color: rgb(var(--hero-koyu));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero__iller a:hover {
  color: rgb(var(--hero-koyu));
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(var(--hero-koyu), 0.28);
}

.hero__dugme:focus-visible,
.hero__iller a:focus-visible,
.hero__kisayol:focus-visible {
  outline: 2px solid var(--theme);
  outline-offset: 3px;
}

.hero__sahne {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1120px;
  min-height: 0;
  margin-top: 10px;
}

.hero__sahne::before {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 50%;
  width: min(760px, 120%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--hero-sicak), 0.22), rgba(var(--hero-sicak), 0.06) 60%, transparent);
  transform: translateX(-50%);
}

.hero__foto {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: 170%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(#000 75%, transparent);
  mask-image: linear-gradient(#000 75%, transparent);
}

.hero__kisayollar {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__kisayol {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 8px 8px 8px;
  border-radius: 999px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(var(--hero-koyu), 0.10) 60%, rgba(var(--hero-sicak), 0.35)) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 2px rgba(var(--hero-koyu), 0.06), 0 12px 32px -8px rgba(var(--hero-koyu), 0.18);
  color: rgb(var(--hero-koyu));
  text-align: left;
  white-space: nowrap;
  pointer-events: auto;
  animation: kisayolSuzul 6s ease-in-out infinite;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.hero__kisayol:hover {
  color: rgb(var(--hero-koyu));
  box-shadow: 0 1px 2px rgba(var(--hero-koyu), 0.06), 0 18px 40px -8px rgba(var(--hero-koyu), 0.26);
  animation-play-state: paused;
}

.hero__simge {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--hero-koyu), 0.06);
  color: rgb(var(--hero-koyu));
  font-size: 15px;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.hero__kisayol:hover .hero__simge {
  background: rgba(var(--hero-sicak), 0.14);
  color: var(--theme);
}

.hero__etiket {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.hero__etiket small {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(var(--hero-koyu), 0.6);
}

.hero__ok {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  border-radius: 50%;
  background: rgb(var(--hero-koyu));
  color: #fff;
  font-size: 12px;
  transition: background-color 0.35s ease;
}

.hero__ok i {
  transition: transform 0.35s ease;
}

.hero__kisayol:hover .hero__ok {
  background: var(--theme);
}

.hero__kisayol:hover .hero__ok i {
  transform: translateX(2px) rotate(-45deg);
}

.hero__kisayol--1 {
  top: 20%;
  left: 7%;
}

.hero__kisayol--2 {
  top: 54%;
  left: 2%;
  animation-delay: -1.5s;
}

.hero__kisayol--3 {
  top: 20%;
  right: 7%;
  animation-delay: -3s;
}

.hero__kisayol--4 {
  top: 54%;
  right: 2%;
  animation-delay: -4.5s;
}

@keyframes kisayolSuzul {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 991px) {
  .hero {
    padding-top: 116px;
  }

  .hero__yazi {
    gap: 16px;
  }

  .hero__baslik {
    font-size: clamp(40px, 10.5vw, 64px);
  }

  .hero__baslik span {
    display: block;
  }

  .hero__foto {
    height: 166vw;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero__kisayol {
    min-height: 48px;
    gap: 10px;
    padding: 6px;
  }

  .hero__simge {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .hero__etiket small {
    display: none;
  }

  .hero__ok {
    width: 28px;
    height: 28px;
    margin-left: 0;
    font-size: 11px;
  }

  .hero__kisayol--1 {
    top: 18%;
    left: 4%;
  }

  .hero__kisayol--2 {
    top: 52%;
    left: 2%;
  }

  .hero__kisayol--3 {
    top: 18%;
    right: 4%;
  }

  .hero__kisayol--4 {
    top: 52%;
    right: 2%;
  }
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: 104px 0 32px;
  }

  .hero__yazi,
  .hero__dugmeler {
    display: contents;
  }

  .hero__ust {
    order: 1;
  }

  .hero__baslik {
    order: 2;
    margin: 12px 20px 0;
    font-size: clamp(30px, 8.4vw, 44px);
  }

  .hero__dugme {
    justify-content: center;
    width: calc(100% - 40px);
    max-width: 340px;
  }

  .hero__dugme--ana {
    order: 3;
    margin-top: 14px;
  }

  .hero__sahne {
    order: 4;
    flex: none;
    height: max(300px, calc(100svh - 296px));
    margin-top: 14px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 86%, transparent);
    mask-image: linear-gradient(#000 86%, transparent);
  }

  .hero__foto {
    width: min(92vw, 400px);
    height: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__giris {
    order: 5;
    width: calc(100% - 40px);
    max-width: 340px;
    margin: 4px 20px 0;
  }

  .hero__dugme--ikincil {
    order: 6;
    margin-top: 16px;
  }

  .hero__iller {
    order: 7;
    margin: 18px 12px 0;
  }

  .hero__kisayollar {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero__iller {
    gap: 6px;
  }

  .hero__iller span {
    width: 100%;
    margin: 0 0 2px;
    text-align: center;
  }

  .hero__iller a {
    min-height: 44px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hero__dugme {
    min-height: 46px;
    padding: 0 18px;
    font-size: 15px;
  }
}

@media (max-width: 389px) {
  .hero__dugme {
    padding: 0 14px;
    font-size: 14px;
  }

  .hero__iller {
    gap: 4px;
  }

  .hero__iller a {
    padding: 0 9px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__baslik,
  .hero__kisayol {
    animation: none;
  }
}
