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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #f0f4f8;
  color: #1e293b;
}

html {
  scroll-padding-top: 120px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  zoom: 0.92;
}

img,
picture,
video {
  max-width: 100%;
  height: auto;
}

/* Header */
.ust-menu {
  background: linear-gradient(180deg, #0f2d4a 0%, #0a2238 48%, #081c30 100%);
  box-shadow: 0 4px 20px rgba(15, 45, 74, 0.35);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ust-bant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.marka {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: white;
}

.marka:hover {
  opacity: 0.9;
}

.marka-logo {
  height: 54px;
  width: auto;
  border-radius: 6px;
}

.marka-baslik {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.marka-baslik strong {
  font-size: 21px;
  font-weight: 700;
  color: #f5c518;
}

.marka-alt {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.menu-liste {
  display: flex;
  list-style: none;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px 12px;
}

.menu-liste > li > a {
  color: #b8c5d6;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.menu-liste > li > a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.menu-liste > li > a.aktif {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

/* Alt menü */
.alt-menu {
  position: relative;
}

.alt-menu > a::after {
  content: " ▾";
  font-size: 11px;
}

.alt-liste {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  list-style: none;
  background: #0f2d4a;
  min-width: 260px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 1100;
}

.alt-liste::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 8px;
}

.alt-menu:hover .alt-liste,
.alt-menu:focus-within .alt-liste {
  display: block;
}

@media (hover: none) {
  .alt-menu.acik .alt-liste {
    display: block;
    position: static;
    margin-top: 4px;
    max-height: none;
    box-shadow: none;
  }
}

.alt-liste a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #d1dae6;
  text-decoration: none;
}

.alt-liste a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.alt-liste a.aktif {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
}

/* Sosyal ikonlar */
.sosyal-medya {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sosyal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s;
}

.sosyal-link svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.sosyal-link.telefon:hover {
  background: #3b82f6;
}

.telefon-menu {
  position: relative;
}

.telefon-menu summary {
  list-style: none;
  cursor: pointer;
}

.telefon-menu summary::-webkit-details-marker {
  display: none;
}

.telefon-menu[open] > summary.telefon {
  background: #3b82f6;
}

.telefon-liste {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(15, 45, 74, 0.2);
  border: 1px solid rgba(15, 45, 74, 0.08);
  padding: 6px;
  z-index: 1100;
}

.telefon-liste a {
  display: block;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0f2d4a;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}

.telefon-liste a:hover {
  background: #f4f7fb;
  color: #2563eb;
}

.telefon-liste a small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sosyal-link.whatsapp:hover {
  background: #25d366;
}

.sosyal-link.gmail:hover {
  background: #ea4335;
}

/* Sayfa içeriği */
.icerik {
  padding: 40px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.icerik h1 {
  margin-bottom: 16px;
  font-size: 1.9rem;
  color: #0f2d4a;
}

.icerik p {
  margin-bottom: 12px;
  color: #475569;
  line-height: 1.7;
}

.icerik a {
  color: #1a4a72;
}

/* Footer */
.alt-bilgi {
  background: #081c30;
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
  margin-top: auto;
}

.alt-bilgi-icerik {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.alt-bilgi-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alt-marka-ust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.alt-marka-ust .marka-logo {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.alt-marka p {
  font-size: 0.82rem;
  line-height: 1.6;
}

.alt-bilgi h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.alt-bilgi ul {
  list-style: none;
}

.alt-bilgi li {
  margin-bottom: 10px;
}

.alt-bilgi a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
}

.alt-bilgi a:hover {
  color: #fff;
}

.telif {
  text-align: center;
  padding: 18px 24px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .alt-bilgi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .alt-bilgi-grid {
    grid-template-columns: 1fr;
  }
}

.menu-dugme {
  display: none;
}

@media (max-width: 768px) {
  .menu-dugme {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-dugme span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .ust-menu.menu-acik .menu-dugme span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .ust-menu.menu-acik .menu-dugme span:nth-child(2) {
    opacity: 0;
  }

  .ust-menu.menu-acik .menu-dugme span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .ust-bant {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .marka {
    width: auto;
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
  }

  .marka-logo {
    height: 46px;
  }

  .marka-baslik strong {
    font-size: 16px;
  }

  .marka-alt {
    font-size: 11px;
  }

  .sosyal-medya {
    width: auto;
    flex-shrink: 0;
  }

  .ust-menu nav {
    display: none;
  }

  .ust-menu.menu-acik nav {
    display: block;
  }

  .menu-liste {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .menu-liste > li > a {
    display: block;
    padding: 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .alt-liste {
    position: static;
    max-height: none;
    margin: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    padding: 0 0 8px;
  }

  .alt-menu:hover .alt-liste,
  .alt-menu:focus-within .alt-liste {
    display: none;
  }

  .alt-menu.acik .alt-liste {
    display: block;
  }

  html {
    scroll-padding-top: 72px;
  }

  #iletisim {
    scroll-margin-top: 72px;
  }
}
