@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,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  font-family: 'Telegraf';
  box-sizing: border-box;
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url('../BackgroundImage/Background.jpg') center center/cover no-repeat;
  z-index: -1;
  background-image: url('../BackgroundImage/Background.jpg');
  background-size: cover;
  background-position: center;
  animation: zoomInBg 6s ease-in-out forwards;
}

@keyframes zoomInBg {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.3);
  }
}

.main-header {
  width: 100vw;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 60px 0 60px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.header-left {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.header-center {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  margin-top: 0;
  justify-content: flex-start;
  height: 54px;
  /* Yükseklik ve hizalama için */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.menu-toggle-container {
  position: absolute;
  top: 65px;
  right: 80px;
  z-index: 9999;
  pointer-events: auto;
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 32px;
  max-width: 1100px;
  margin: 100px auto 0 auto;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 32px 48px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.info-card h3 {
  color: #f67b1d;
  /* h3 başlığının rengini kırmızı yapar */
}

/* Üstte ve altta geniş ve yanlamasına kutucuklar */
.info-card.wide {
  grid-column: 1 / span 2;
  min-height: 50px;
  min-width: 0;
  /* Yanlamasına daha geniş görünmesi için */
}

/* Ortadaki kare kutucuklar */
.info-card:not(.wide) {
  min-height: 50px;
  min-width: 0;
}

@keyframes fadeInBox {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInDivider {
  0% {
    opacity: 0;
    width: 0;
  }

  100% {
    opacity: 1;
    width: 80px;
  }
}

@keyframes fadeInDesc {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.about-quote {
  font-size: 4rem;
  color: #e43e2b;
  font-weight: bold;
  vertical-align: middle;
  margin: 0 8px;
  opacity: 0.8;
  font-family: 'Telegraf';
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 700px) {
  .main-header {
    padding: 18px 6px 0 6px;
  }

  .info-cards {
    width: 92vw;
    max-width: 400px;
    margin: 90px auto 0 auto;
    /* üstten boşluk, yatayda ortalı */
    padding: 0;
    display: block;
  }

  .info-card,
  .info-card.wide {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    margin: 0 0 20px 0;
    /* <<< DÜZELTİLMİŞ HALİ */
    padding: 18px 10px;
    border-radius: 14px;
    font-size: 0.98rem;
  }

  .info-card.wide h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .about-quote {
    font-size: 2rem;
    margin: 0 4px;
  }
}

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

  .main-header {
    padding: 20px 12px 0 12px;
  }

  .main-logo {
    width: 280px;
    height: 200px;
  }

  .castle-icon {
    width: 75px;
    height: 75px;
  }

  .menu-icon {
    width: 42px;
    height: 42px;
    margin-top: 10px;
    margin-right: 20px;
  }

}

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

  .main-header {
    width: 100vw;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 36px 60px 0 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
  }

  .main-logo {
    width: 200px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
    margin-top: 0;
  }

  .castle-icon {
    width: 74px;
    height: 84px;
    display: block;
  }

  .menu-icon {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    position: relative;
    z-index: 9999;
    pointer-events: auto;
    background: none;
    border: none;
    pointer-events: auto !important;
    cursor: pointer;
    z-index: 9999;
  }

  .menu-icon span {
    display: block;
    width: 38px;
    height: 5px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
    transition: all 0.2s;
    pointer-events: none;
  }
}