/* === GENEL RESET === */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* === HERO === */

.hak-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hak-hero .hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hak-hero .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
  padding: 20px;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.hak-hero .hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hak-hero .hero-text p {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-top: 0.8rem;
  margin-bottom: 0;
}

/* Fade effect */
.hero-text.animate {
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Mobil uyum */
@media (max-width: 768px) {
  .hak-hero .hero-text h1 {
    font-size: 2rem;
  }

  .hak-hero .hero-text p {
    font-size: 1rem;
  }
}



/* === HAKKIMIZDA === */
.section-title {
  color: #005aa7;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.hak-content-text {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
}

.image-box {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  border: 2px dashed #ccc;
  border-radius: 10px;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* === VİZYON & MİSYON === */
.vizyon-misyon-section {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.circle-box {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px dashed #ccc;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin: 0 auto 1rem;
}

.circle-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.typewriter {
  /* Varsayılan tek-satırlı kısıtlamayı kaldır */
  white-space: normal;         /* Birden fazla satıra izin ver */
  word-wrap: break-word;       /* Uzun kelimelerde satır kaydırma */
  
  /* Taşan içeriğin hep gözükmesi için */
  overflow: visible;           /* Taşan bölümü gizleme (overflow:hidden’i iptal ediyor) */
  width: auto;                 /* Metin uzunluğuna göre genişlesin */
  
  /* Eğer typewriter animasyonunu da korumak istiyorsanız, aşağıdakileri kullanın */
  /* 
  overflow: hidden;            Taşan bölümü gizler, ama satır kaydırma olduğu için dikeyde görünür 
  width: 0;                    Animasyon başlangıcı 
  animation: typeWriter 2.5s steps(60,end) forwards, blinkCaret 0.75s step-end infinite;
  */

  /* İsteğe bağlı: imleç efektini kaldırmak isterseniz */
  /* border-right: none; */
}

@keyframes typeWriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCaret {
  50% { border-color: transparent; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .image-box {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }

  .circle-box {
    width: 140px;
    height: 140px;
  }

  .typewriter {
    white-space: normal;
    width: 100%;
    animation: none;
    border-right: none;
  }

  .vizyon-misyon-section .col-md-6 {
    margin-bottom: 2rem;
  }

  .nav-bar {
    flex-direction: column;
    padding: 20px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: center;
  }

  .nav-contact-btn a {
    display: block;
    width: 100%;
  }
}
.circle-box {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px dashed #ccc;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.circle-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.vizyon-text, .misyon-text {
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1rem;
  color: #444;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .circle-box {
    width: 140px;
    height: 140px;
  }

  .vizyon-text, .misyon-text {
    font-size: 0.95rem;
  }
}
