@font-face {
  font-family: 'Telegraf';
  src: url('../Fonts/TelegrafRegular_272984568a25d8528fe2de8b20b29011.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Telegraf';
  src: url('../Fonts/Telegraf UltraBold 800.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Telegraf';
  src: url('../Fonts/Telegraf UltraLight 200.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

body {
  margin: 0;
  font-family: 'Telegraf';
  background: linear-gradient(180deg, #f6d8a6 0%, #f6880b 30%, #f41d05 100%);
  min-height: 100vh;
  position: relative;
}

/* Beyaz derinlik efektleri */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 75px;
  z-index: 1000;
  pointer-events: none;
}

body::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
}

body::after {
  right: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.1) 70%, rgba(255, 255, 255, 0.4) 100%);
}

.yayin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: #fdf7ec;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.header-left .castle-icon {
  height: 58px;
}

.yayin-nav {
  display: flex;
  gap: 150px;
  font-size: 1.6rem;
  font-weight: 500;
}

.yayin-nav a {
  color: #000000;
  text-decoration: none;
  transition: color 0.2s;
}

.yayin-nav a.active,
.yayin-nav a:hover {
  color: #000000;
  font-weight: 700;
}

.header-search input {
  border: none;
  border-radius: 20px;
  padding: 8px 28px;
  font-size: 1.2rem;
  background: #fbf3e5;
  outline: none;
  width: 140px;
  transition: box-shadow 0.2s;
}

.header-search input:focus {
  box-shadow: 0 0 0 2px #e43e2b33;
}

.header-right .main-logo {
  height: 54px;
}

main {
  padding: 0 0 40px 0;
}

.basvuru-icerik {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1450px;
  margin: 60px auto 0 auto;
  gap: 40px;
}

.basvuru-sol {
  flex: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.basvuru-metin {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 60px 0 0;
  font-size: 1.15rem;
  color: #fff6e7;
  line-height: 1.7;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 1000px;
}

.basvuru-metin p {
  margin: 0 0 18px 0;
}

.basvuru-metin b {
  color: #fff6e7;
  font-size: 1.08em;
  font-weight: 700;
}

.basvuru-sag {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  margin-top: 215px;
}

.basvuru-buyuk {
  font-size: 6.5rem;
  font-weight: 900;
  color: #fff6e7;
  text-align: right;
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 8px;
  word-break: break-all;
  text-shadow: 0 2px 16px #e43e2b33;
}

.basvuru-mail {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  color: #fff6e7;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0;
  margin-top: 18px;
}

.mail-ikon {
  font-size: 1.7rem;
}

.mail-adres {
  font-family: 'Telegraf';
  font-size: 1.15rem;
}

.kategori-dropdown {
  position: relative;
  display: inline-block;
}

.kategori-menu {
  display: none !important;
  position: absolute;
  left: 0;
  top: 120%;
  background: #fff6e7;
  box-shadow: 0 4px 24px #e43e2b22;
  padding: 18px 32px;
  min-width: 420px;
  z-index: 10;
  flex-direction: row;
  gap: 36px;
  justify-content: center;
  align-items: center;
}

.kategori-menu a {
  font-size: 1.25rem;
  color: #222;
  font-family: 'Telegraf';
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.kategori-menu a:hover {
  color: #000000;
  font-weight: 700;
}

.kategori-menu.open {
  display: flex !important;
}

/* TELEFON (max-width: 700px) */
@media (max-width: 700px) {

  body::before,
  body::after {
    width: 25px;
  }

  /* --- GÜNCELLENMİŞ HEADER KODLARI --- */
  .yayin-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    gap: 15px;
    box-sizing: border-box;
  }

  .header-left {
    order: 1;
  }

  .header-right {
    order: 2;
    text-align: right;
  }

  .header-search {
    width: 100%;
    order: 3;
  }

  .yayin-nav {
    width: 100%;
    order: 4;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .header-left .castle-icon,
  .header-right .main-logo {
    height: 48px;
    position: static;
    margin: 0;
  }

  .header-search input {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background: #f0e8da;
    font-size: 1.1rem;
    padding: 10px 15px;
  }

  /* --- SAYFA İÇERİK KODLARI --- */
  .kategori-dropdown,
  #kategoriBtn {
    z-index: 1002 !important;
    position: relative;
  }

  .basvuru-icerik {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin: 24px 0 0 0;
    max-width: 98vw;
    padding: 0 2vw;
  }

  .basvuru-sol {
    padding: 0;
    align-items: stretch;
  }

  .basvuru-metin {
    padding: 0;
    font-size: 1rem;
    max-width: 100vw;
  }

  .basvuru-sag {
    margin-top: 0;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .basvuru-buyuk {
    font-size: 3rem;
    text-align: right;
    margin-bottom: 12px;
  }

  .basvuru-mail {
    font-size: 1rem;
    margin-top: 8px;
  }

  .kategori-menu.open {
    display: flex !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: 0 !important;
    top: 110% !important;
    background: #fff6e7 !important;
  }

  .kategori-menu {
    min-width: 180px;
    padding: 8px 8px;
    gap: 12px;
    font-size: 1rem;
    flex-direction: column;
    left: 0;
    top: 110%;
    z-index: 200 !important;
  }
}

/* TABLET DİKEY (min-width: 701px) and (max-width: 1366px) and (orientation: portrait) */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: portrait) {
  html {
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
  }

  body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
  }

  .yayin-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    width: 90vw;
    gap: 0;
  }

  .header-left .castle-icon {
    height: 68px;
    margin-left: -20px;
  }

  .yayin-nav {
    gap: 75px;
    font-size: 1.05rem;
    font-weight: 500;
    flex-wrap: nowrap;
    margin-bottom: 0;
  }

  .header-search {
    position: static;
    z-index: 1;
    width: auto;
    background: transparent;
  }

  .header-search input {
    font-size: 1.15rem;
    width: 100px;
    min-width: 100px;
    height: 28px;
    padding: 8px 28px;
    z-index: 1;
    position: static;
    background: #fbf3e5;
    display: inline-block;
    margin: 0;
  }

  .header-right {
    position: static;
    margin-top: 0;
  }

  .header-right .main-logo {
    position: static;
    margin-top: -10px;
    margin-right: -15px;
    height: 55px;
  }

  .kategori-menu {
    min-width: 220px;
    padding: 12px 12px;
    gap: 18px;
    font-size: 1.1rem;
    flex-direction: column;
    left: 0;
    top: 110%;
    z-index: 200 !important;
  }

  .kategori-menu.open {
    display: flex !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: 0 !important;
    top: 110% !important;
    background: #fff6e7 !important;
  }

  .basvuru-icerik {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin: 24px 0 0 0;
    max-width: 98vw;
    padding: 0 2vw;
  }

  .basvuru-sol {
    padding: 0;
    align-items: stretch;
  }

  .basvuru-metin {
    padding: 0;
    font-size: 1rem;
    max-width: 100vw;
  }

  .basvuru-sag {
    margin-top: 0;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .basvuru-buyuk {
    font-size: 3rem;
    text-align: right;
    margin-bottom: 12px;
  }

  .basvuru-mail {
    font-size: 1rem;
    margin-top: 8px;
  }
}

/* TABLET YATAY (min-width: 701px) and (max-width: 1366px) and (orientation: landscape) */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: landscape) {
  html {
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
  }

  body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
  }

  .yayin-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    width: 100vw;
    gap: 0;
  }

  .header-left .castle-icon {
    height: 68px;
    margin-left: -20px;
  }

  .yayin-nav {
    gap: 100px;
    font-size: 1.4rem;
    font-weight: 500;
    flex-wrap: nowrap;
    margin-bottom: 0;
  }

  .header-search {
    position: static;
    z-index: 1;
    width: auto;
    background: transparent;
  }

  .header-search input {
    font-size: 1.2rem;
    width: 140px;
    min-width: 140px;
    height: 28px;
    padding: 8px 28px;
    z-index: 1;
    position: static;
    background: #fbf3e5;
    display: inline-block;
    margin: 0;
  }

  .header-right {
    position: static;
    margin-top: 0;
  }

  .header-right .main-logo {
    position: relative;
    top: -10px;
    margin-right: 40px;
    height: 84px;
  }

  .kategori-menu {
    min-width: 420px;
    padding: 18px 32px;
    gap: 36px;
    font-size: 1.25rem;
    flex-direction: row;
    left: 0;
    top: 120%;
    z-index: 10;
  }

  .basvuru-icerik {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1450px;
    margin: 60px auto 0 10px;
    gap: 40px;
  }

  .basvuru-sol {
    flex: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .basvuru-metin {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 60px 0 0;
    font-size: 1.15rem;
    color: #fff6e7;
    line-height: 1.7;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 1000px;
  }

  .basvuru-sag {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: 40px;
    margin-right: -50px;
  }

  .basvuru-buyuk {
    font-size: 6rem;
    font-weight: 900;
    color: #fff6e7;
    text-align: right;
    line-height: 0.95;
    letter-spacing: 2px;
    margin-bottom: 8px;
    word-break: break-all;
    text-shadow: 0 2px 16px #e43e2b33;
  }

  .basvuru-mail {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    color: #fff6e7;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0;
    margin-top: 18px;
  }
}

/* EN SONDA GLOBAL OLARAK DA EKLE */
.kategori-menu.open {
  display: flex !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: absolute !important;
  left: 0 !important;
  top: 110% !important;
  background: #fff6e7 !important;
}