body {
  margin: 0;
  background: black;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px;
}

body.slide-down {
  transform: translateY(-100%);
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero img {
  animation: zoomIn 1s ease-out forwards;
}

.navbar {
  position: fixed;
  top: 1vw;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 760px);
  padding: clamp(0.65rem, 1.2vw, 0.85rem) clamp(0.8rem, 1.8vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1vw;
  box-shadow: 0 2vw 8vw rgba(0, 0, 0, 0.28);
  z-index: 10;
}

@media (min-width: 1200px) {
  .navbar {
    width: min(50vw, 40vw);
    padding: clamp(0.2rem, 1vw, 0.3rem) clamp(0.15rem, 1.5vw, 0.95rem);
  }
}

@media (max-width: 868px) {
  .language-selector {
    top: auto !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    left: auto !important;
    transform: none !important;
  }

  .toggle-wrapper {
    font-size: 1em;
  }

  .navbar {
    width: 85vw;
  }
}
.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3vw;
  height: 3vw;
  border-radius: 0.7vw;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-brand img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5vw;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  padding: 0.5vw 0.8vw;
  display: inline-block;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1vw;
  flex-shrink: 0;
}

.nav-button {
  border-radius: 0.8vw;
  padding: clamp(0.6rem, 1vw, 0.8rem) clamp(0.9rem, 1.7vw, 1rem);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-primary {
  background: white;
  color: black;
  font-weight: 700;
  padding: 0.6vw 1vw;
  min-width: 90px;
  text-align: center;
}

.language-selector {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 0.2em;
  padding: 0.15em;
  background: linear-gradient(to right, #1a1a1a, #2c2c2c);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  font-size: 1.5em;
}

.toggle-checkbox {
  appearance: none;
  position: absolute;
  z-index: 1;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  font: inherit;
  opacity: 0;
  cursor: pointer;
}

.toggle-container {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 0.1em;
  width: 4em;
  height: 1.6em;
  background-color: #222222;
  box-shadow: inset 0 0 0.1em rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.toggle-background {
  display: none;
}

.toggle-checkbox:checked+.toggle-container>.toggle-background {
  left: 50%;
}

.toggle-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0.2em;
  border-radius: 0.1em;
  width: 1.6em;
  height: 1.2em;
  background: linear-gradient(to bottom, #ffffff, #d9d9d9);
  box-shadow: 0 0 0.2em rgba(255, 255, 255, 0.3);
  transition: left 0.3s ease;
  z-index: 2;
}

.toggle-checkbox:checked+.toggle-container>.toggle-button {
  left: 2.2em;
}

.toggle-checkbox:checked+.toggle-container {
  background-color: #222222;
}

.toggle-labels {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  pointer-events: none;
  z-index: 3;
}

.toggle-label-en,
.toggle-label-tr {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.38em;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.toggle-label-en {
  color: white;
}

.toggle-label-tr {
  color: white;
}

.toggle-checkbox:checked~.toggle-labels .toggle-label-en {
  color: white;
}

.toggle-checkbox:checked~.toggle-labels .toggle-label-tr {
  color: white;
}

.toggle-checkbox:not(:checked)~.toggle-labels .toggle-label-en {
  color: #111;
}

.toggle-checkbox:checked~.toggle-labels .toggle-label-tr {
  color: #111;
}

.hero {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8vh;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(255, 255, 255) 1.4px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), black, transparent);
  mask-image: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), black, transparent);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: black;
  z-index: 1;
  opacity: 0.6;
}

.hero img {
  position: relative;
  z-index: 2;
  animation: zoomIn 1s ease-out forwards;
}

img {
  display: block;
  width: 90%;
  max-width: 90vw;
  height: auto;
}