@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --primary: #fe724c;
  --primary-dark: #d6512c;

  --text-dark: #122b51;
  --text-light: #6b7d92;

  --bg: #ffffff;
  --surface: #f4f4f4;
  --list-number: rgb(100, 100, 100);

  --max-width: 1200px;
}

.dark {
  --primary: #ff825f;
  --primary-dark: #e05b35;

  --text-dark: #f1f5f9;
  --text-light: #a8b3c2;

  --bg: #0f172a;
  --surface: #1e293b;
  --list-number: rgb(255, 255, 250);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg);
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

.konteyner {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.bolme-basliq {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 4rem;
  color: var(--text-dark);
  text-align: center;
}

.bolme-metn {
  color: var(--text-light);
  line-height: 1.75rem;
  text-align: center;
}

.duyme {
  padding: 0.75rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  background-color: var(--primary);
  border-radius: 5px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
}

.duyme:hover {
  background-color: var(--primary-dark);
}

.menyu {
  position: fixed;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg);
  gap: 2rem;
  z-index: 9;
  transition: background-color 0.3s ease;
}

.logo img {
  max-width: 120px;
}

.menyu-duymeleri {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menyu-duymeleri .duyme {
  padding: 0.25rem 1rem;
  font-size: 1.5rem;
}

.menyu-duymeleri .duyme span:nth-child(2) {
  display: none;
}

.menyu-duymeleri .duyme:nth-child(1) {
  color: var(--text-dark);
  background-color: var(--surface);
}

.menyu-duymeleri .duyme:nth-child(1):hover {
  color: #ffffff;
  background-color: var(--primary);
}

.basliq {
  position: relative;
  isolation: isolate;
  display: grid;
  padding-top: 5rem;
}

.basliq::before,
.basliq::after {
  position: absolute;
  content: "";
  width: 100%;
  max-width: 40rem;
  aspect-ratio: 1;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  border: 6rem solid var(--surface);
  border-radius: 100%;
  z-index: -1;
}

.basliq::after {
  max-width: 80rem;
}

.basliq-sekil {
  overflow: hidden;
}

.basliq-metn {
  padding: 1rem;
}

.basliq-metn h1 {
  margin-bottom: 1rem;
  font-size: 4rem;
  line-height: 5rem;
  color: var(--text-dark);
  text-align: center;
}

.basliq-metn .bolme-metn {
  margin-bottom: 3rem;
}

.tetbiq-linkleri {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.tetbiq-linkleri img {
  max-width: 125px;
}

.mesqler {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  display: grid;
}

.mesq-sekil-qab {
  overflow: hidden;
}

.mesq-sekiller {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: sola-surus 30s linear infinite;
}

@keyframes sola-surus {
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.mesq-sekiller img {
  max-width: 350px;
  border-radius: 1rem;
}

.mesq-metn {
  padding: 2rem 1rem;
}

.hekayə {
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.hekaye-sekil img {
  max-width: 500px;
  margin-inline: auto;
}

.hekaye-metn .bolme-metn {
  margin-bottom: 1rem;
}

.hekaye-link {
  margin-top: 2rem;
  text-align: center;
}

.hekaye-link a {
  font-weight: 500;
  color: var(--text-dark);
}

.hekaye-link a:hover {
  color: var(--primary);
}

.ozellik-siyahisi {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.ozellik-siyahisi li {
  display: flex;
  gap: 1rem;
}

.ozellik-siyahisi span {
  display: inline-flex;
  justify-content: flex-end;
  width: 8rem;
  font-size: 4rem;
  font-weight: 600;
  line-height: 4rem;
  color: var(--list-number);
}

.ozellik-siyahisi h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.ozellik-siyahisi p {
  color: var(--text-light);
  line-height: 1.75rem;
}

.izleme {
  max-width: 1024px;
}

.izleme .bolme-metn {
  max-width: 750px;
  margin-inline: auto;
}

.izleme-sekil {
  margin-top: 4rem;
}

.uzvluk {
  background-color: var(--surface);
  display: grid;
  transition: background-color 0.3s ease;
}

.uzvluk-sekil {
  height: 100%;
}

.uzvluk-sekil img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.uzvluk-metn {
  padding: 5rem 1rem;
}

.uzvluk-metn .bolme-metn {
  font-weight: 500;
}

.uzvluk-metn .bolme-metn span {
  font-size: 1.5rem;
  color: #ffc529;
}

.uzvluk-duyme {
  margin-top: 2rem;
  text-align: center;
}

.altbilgi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 4rem 2rem;
}

.altbilgi-logo img {
  max-width: 125px;
}

.altbilgi-linkleri {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.altbilgi-linkleri a {
  color: var(--text-light);
}

.altbilgi-linkleri a:hover {
  color: var(--primary);
}

.sosial-linkler {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.sosial-linkler a {
  font-size: 1.2rem;
  color: var(--text-light);
}

.sosial-linkler a:hover {
  color: var(--primary);
}

.altbilgi-copy {
  padding: 1rem;
  color: var(--text-light);
  background-color: var(--surface);
  text-align: center;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

@media (width > 768px) {
  .menyu {
    position: relative;
    padding: 2rem 1rem;
    background-color: transparent;
  }

  .menyu-duymeleri .duyme {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .menyu-duymeleri .duyme span:nth-child(1) {
    display: none;
  }

  .menyu-duymeleri .duyme span:nth-child(2) {
    display: block;
  }

  .basliq {
    padding-top: 0;
    grid-template-columns:
      minmax(0, 1fr) minmax(0, calc(var(--max-width) / 2))
      minmax(0, calc(var(--max-width) / 2)) minmax(0, 1fr);
    align-items: center;
  }

  .basliq-sekil {
    grid-column: 2 / 3;
  }

  .basliq-metn :is(h1, .bolme-metn) {
    text-align: left;
  }

  .tetbiq-linkleri {
    justify-content: flex-start;
  }

  .mesqler {
    grid-template-columns:
      minmax(0, 1fr) minmax(0, calc(var(--max-width) / 2))
      minmax(0, calc(var(--max-width) / 2)) minmax(
        0,
        calc(var(--max-width) / 2)
      )
      minmax(0, 1fr);
    align-items: center;
  }

  .mesq-sekil-qab {
    grid-row: 1 / 2;
    grid-column: 3 / 6;
  }

  .mesq-metn {
    grid-column: 2 / 3;
  }

  .mesq-metn :is(.bolme-basliq, .bolme-metn) {
    text-align: left;
  }

  .hekayə {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .hekaye-metn :is(.bolme-basliq, .bolme-metn, .hekaye-link) {
    text-align: left;
  }

  .ozellik-siyahisi {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }

  .ozellik-siyahisi li:nth-child(2),
  .ozellik-siyahisi li:nth-child(4) {
    margin-top: 3rem;
  }

  .uzvluk {
    grid-template-columns:
      minmax(0, 1fr) minmax(0, calc(var(--max-width) / 2))
      minmax(0, calc(var(--max-width) / 2)) minmax(0, 1fr);
    align-items: center;
  }

  .uzvluk-sekil {
    grid-column: 1 / 3;
  }

  .uzvluk-metn :is(.bolme-basliq, .bolme-metn, .uzvluk-duyme) {
    text-align: left;
  }

  .altbilgi {
    flex-direction: row;
  }

  .altbilgi-logo {
    flex: 1;
  }

  .altbilgi-linkleri {
    flex-direction: row;
  }

  .sosial-linkler {
    flex: 1;
    justify-content: flex-end;
  }
}

@media (width > 1024px) {
  .basliq-metn h1 {
    font-size: 4.75rem;
    line-height: 5.5rem;
  }

  .ozellik-siyahisi {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 4rem;
  }

  .uzvluk-metn {
    padding: 5rem 2rem;
  }

  .altbilgi-linkleri {
    gap: 2rem;
  }
}
