/* === RESET & TEMEL === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Outfit', sans-serif;
  background: #fafafa;
  color: #333;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
a:hover {
  color: #e63946;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === HEADER === */
.header {
  background: #fff;
  border-bottom: 2px solid #e63946;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* --- ÜST KISIM --- */
.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.header-top .logo {
  height: 80px;
}
.header-top .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e63946;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fff;
  border: 2px solid #e63946;
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

/* Menü listesi */
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* Menü linkleri */
.nav-list a {
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.25rem;
  white-space: nowrap;
  color: #333;
}
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e63946;
  transition: width 0.3s;
}
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* === DROPDOWN CONTAINER === */
.dropdown {
  position: relative;
}

/* Başlık linki (toggle) */
.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.dropdown > a:hover {
  color: #e63946;
}

/* Ok işaretine dönüş animasyonu */
.dropdown > a .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

/* Menü başlangıçta gizli */
/* Menü başlangıçta gizli */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;             /* BAŞLIĞIN TAM ALTINA */
  left: 0;
  background: #fff;
  border: 1px solid #e63946;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

/* Hover’la gösterme */
@media (hover: hover) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Menü öğeleri */
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu li + li {
  margin-top: 0.25rem;
}
.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #333;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover {
  background: rgba(230,57,70,0.1);
  color: #e63946;
}

/* Masaüstü hover ile gösterme */

/* Dokunmatik cihazlarda tıklama için "open" sınıfı kullan */
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown.open > a .arrow {
  transform: rotate(180deg);
}

/* Fazla geniş ekranlarda taşmayı önle */
.dropdown-menu {
  max-height: 70vh;
  overflow-y: auto;
}

/* Mobilde menüyü akışın içinde göster */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    max-height: none;
  }
  .dropdown-menu li + li {
    margin-top: 0;
  }
  .dropdown-menu li a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
  }
}
 
/* Küçük fade-in animasyonu */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* CTA butonu */
.header-cta {
  background: #e63946;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(230,57,70,0.3);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  margin-left: auto;
}
.header-cta:hover {
  background: #d62828;
  transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-top .logo {
    height: 40px;
  }
  .header-top .logo-text {
    font-size: 1.25rem;
  }
  .navbar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  .header-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
}


/* === SOSYAL MEDYA İKONLARI (Opsiyonel) === */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-icons a {
  font-size: 18px;
  color: #333;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #e74c3c;
}


    /* ===== EĞİTİMLER SECTION ===== */
    #egitimler {
      padding: 60px 20px;
      background: #f9f9f9;
    }
    #egitimler .container {
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }
    #egitimler h2 {
      font-family: 'Outfit', sans-serif;
      font-size: 2.8rem;
      color: #e63946;
      margin-bottom: 10px;
    }
    #egitimler p.lead {
      font-size: 1.1rem;
      color: #555;
      margin-bottom: 40px;
    }

    .edu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }
    .edu-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .edu-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    }
    .edu-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      display: block;
    }
    .edu-card-body {
      padding: 1.5rem;
      text-align: left;
    }
    .edu-card-body h3 {
      font-size: 1.5rem;
      color: #e63946;
      margin-bottom: 0.75rem;
    }
    .edu-card-body p {
      font-size: 1rem;
      color: #444;
      line-height: 1.5;
      margin-bottom: 1rem;
    }
    .edu-card-body a.btn {
      display: inline-block;
      background: #e63946;
      color: #fff;
      padding: 0.6rem 1.2rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 600;
      transition: background 0.2s;
    }
    .edu-card-body a.btn:hover {
      background: #c62828;
    }

    /* Responsive */
    @media (max-width: 768px) {
      #egitimler h2 { font-size: 2.4rem; }
      .edu-card-body h3 { font-size: 1.3rem; }
    }
  

/* FOOTER */
.footer {
   background-color: red;
  color: #fff;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a,
.footer-col p,
.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 15px;
}

.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.social-icons a {
  background: #fff;
  color: #333;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.social-icons a:hover {
  background: #ff3333;
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  background: #c0392b;
  font-size: 14px;
}
