/* Genel yapı */
body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f5f5f5;
}


/* Üst banner */
.banner {
  background-color: #f5f5f5;
  color: #1a2e66;
  padding: 10px;
  font-weight: bold;
  text-align: center;
}

/* Menü */
.menu {
  background-color: #ff6f3c;
  padding: 10px 20px;
}

/* Hamburger buton (mobil için) */
.menu-toggle {
  background-color: #ffa559;
  border: none;
  font-size: 24px;
  color: white;
  display: none;
  cursor: pointer;
  padding: 10px;
}

/* Menü öğeleri */
.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.menu-items li {
  position: relative;
}

.menu-items a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  display: block;
  font-weight: bold;
}

.menu-items li:hover > a {
  background-color: #f57c00;
}

/* Alt menü */
.submenu {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffa559;
  min-width: 160px;
  z-index: 1000;
  margin: 0;
  padding: 0;
}

.submenu li a {
  padding: 10px 20px;
  white-space: nowrap;
}

/* Hover ile alt menü */
.dropdown:hover .submenu {
  display: block;
}

/* Mobil görünüm */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-items {
    flex-direction: column;
    display: none;
  }

  .menu-items.show {
    display: flex;
  }

  .submenu {
    position: static;
  }

  .dropdown:hover .submenu {
    display: none;
  }

  .dropdown:focus-within .submenu {
    display: block;
  }
}

.slider {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

/* Görseller */
.slider img,
.slider video {
  width: 100%;
  height: auto;
  display: none;
  object-fit: cover;
}

.slider img.active,
.slider video.active {
  display: block;
  animation: fade 1s ease-in-out;
}


@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}



/* WhatsApp Buton alanı */
.whatsapp-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* Buton stili */
.whatsapp-button {
  display: inline-block;
  background-color: #1a2e66; /* lacivert */
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover efekti */
.whatsapp-button:hover {
  background-color: #0f1d47;
  transform: scale(1.03);
}

.instagram-feed {
  margin-top: 40px;
  padding: 20px;
  background-color: #f5f5f5; /* sayfanın arka plan rengiyle uyumlu */
  text-align: center;
}

.site-footer {
  background-color: #1a2e66; /* lacivert */
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.site-footer h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: white;
}

.site-footer p {
  margin: 5px 0;
  font-size: 14px;
  color: #f5f5f5;
}

.footer-social {
  margin: 20px 0;
}

.footer-social a {
  color: white;
  font-size: 24px;
  margin: 0 12px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  color: #ff6f3c; /* Turuncu hover rengi */
  transform: scale(1.2);
}

.footer-copy {
  font-size: 13px;
  margin-top: 20px;
  color: #ccc;
}


.teacher-cards-modern {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: #f5f5f5;
}

.teacher-card-modern {
  display: flex;
  background-color: #fef6f0; /* açık krem / siteye uygun açık renk */
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08); /* yumuşak ama belirgin gölge */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(255, 165, 89, 0.25); /* site turuncusuna uygun hover gölge */
}



.teacher-photo img {
  width: 260px;
  height: 100%;
  object-fit: cover;
}

.teacher-text {
  padding: 20px 25px;
  flex: 1;
}

.teacher-text h3 {
  margin-top: 0;
  color: #1a2e66; /* lacivert */
  font-size: 22px;
}

.teacher-text p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.teacher-text p strong {
  color: #ff6f3c; /* doygun turuncu */
}

/* Mobil uyum */
@media (max-width: 768px) {
  .teacher-card-modern {
    flex-direction: column;
    text-align: center;
  }

  .teacher-photo img {
    width: 100%;
    height: auto;
  }

  .teacher-text {
    padding: 15px;
  }
}

/* === OGRETMENLERIMIZ === */

/* Geri Sayım */
.countdown-bar {
  background-color: #a4d8ff;
  color: white;
  text-align: center;
  font-weight: bold;
  padding: 10px;
}

/* Menü (bu navbar sadece ogretmenlerimiz.html'e özgü ise) */
.navbar {
  background-color: #ffb84c;
  display: flex;
  justify-content: start;
  gap: 30px;
  padding: 10px 30px;
  font-weight: bold;
}

.navbar a {
  color: white;
  text-decoration: none;
}

/* Öğretmen Kartı */
.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  max-width: 100%;
  margin: 0 auto;
  background-color: #f5f5f5;
}


.teacher-container {
  width: 100%;
  max-width: 850px; /* Sayfada dar görünmesini sağlar */
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #fef6f0;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}



.teacher-image img {
  width: 220px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.teacher-info {
  flex: 1;
  max-width: 600px;
}

.teacher-info h2 {
  font-size: 26px;
  color: #1a2e66;
  margin-bottom: 10px;
}

.teacher-info .title {
  color: #ff6f3c;
  font-weight: bold;
  margin-bottom: 10px;
}

.teacher-info p {
  font-size: 16px;
  color: #222;
}

/* Üst görsel */

.contact-hero {
  background: url('public/site_gorselleri/iletisim_banner.jpg') center/cover no-repeat;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-hero h1 {
  color: white;
  font-size: 48px;
  font-weight: bold;
}

/* İki sütun */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  background-color: #f5f5f5;
  padding: 50px 5%;
}



.contact-left, .contact-right {
  flex: 1;
  min-width: 300px;
}

/* Instagram ve WhatsApp */
.btn-subscribe, .btn-whatsapp {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 20px;
  background-color: #1a2e66;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}
.btn-whatsapp {
  background-color: #25D366;
}
.btn-whatsapp i {
  margin-right: 8px;
}
.whatsapp-box {
  margin-top: 40px;
}

.contact-left p {
  text-align: center;
}

.btn-subscribe,
.btn-whatsapp {
  display: block;
  margin: 10px auto;
  text-align: center;
  width: 200px; /* eşit genişlik istersen */
}


/* Form alanı */
.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-right input,
.contact-right textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f5f5f5; /* sitenizin arka plan rengi */
  color: #222;
}


.btn-submit {
  padding: 14px 24px;
  background-color: #1a2e66;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 50%;             /* sağ alanın %50'si kadar olur */
  max-width: 300px;       /* büyük ekranlarda taşmaz */
  align-self: center;     /* dikeyde ortalar */
}


.btn-submit:hover {
  opacity: 0.9;
}
