/* === 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;
  }
}





/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-icons a {
  color: #333;
  font-size: 18px;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #e74c3c;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: #fff;
  padding: 60px 20px;
}
.gallery-section .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.gallery-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  color: #e63946;
  margin-bottom: 1.5rem;
}

/* İkişerli grid düzeni */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Her bir öğe */
.gallery-item {
  background: #fafafa;
  border: 1px solid #e63946;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Resim */
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Alt başlık */
.gallery-item figcaption {
  padding: 0.75rem;
  background: #fff;
  font-weight: 600;
  color: #e63946;
  font-size: 1rem;
  text-align: center;
}

/* Küçük ekranlarda 1 sütuna düşsün */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== FORM-SECTION & GENERAL CONTENT ===== */
.form-section,
.about,
.mission-vision,
.stats,
.team-section {
  padding: 60px 0;
}
.form-section h2,
.about h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}
.form-section p,
.about p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

/* ===== FORM-SECTION & GENERAL CONTENT ===== */


.form-section p,
.about p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

/* ===== MISSION & VISION SPECIAL STYLES ===== */
.form-section.mission-vision {
  background: linear-gradient(135deg, #ffe5e0, #ffd1c1);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(230,57,70,0.3);
  padding: 80px 20px;
  margin-bottom: 40px;
  text-align: center; /* 🔥 Tüm içeriği ortalar */
}

.form-section.mission-vision .container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  min-width: 0;
}

.form-section.mission-vision .box {
  background: rgba(255,255,255,0.9);
  border: 2px solid #e63946;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(230,57,70,0.2), 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;               /* 🔥 Ekle */
  flex-direction: column;     /* 🔥 Dikey sıralama */
  align-items: center;        /* 🔥 Yatayda ortala */
  justify-content: center;    /* 🔥 Dikeyde ortala */
  text-align: center;         /* 🔥 İçerik metinlerini ortala */
  flex: 1 1 300px;
  max-width: 500px;
}

.form-section.mission-vision .box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: inset 0 0 30px rgba(230,57,70,0.3), 0 10px 30px rgba(0,0,0,0.15);
}

.form-section.mission-vision .box h3 {
  color: #e63946;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-section.mission-vision .box p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
}

@media (max-width: 768px) {
  .form-section.mission-vision .container {
    flex-direction: column;
    align-items: center;
  }

  .form-section.mission-vision .box {
    width: 100%;
    max-width: 90%;
  }
}


/* ===== COMMUNITY SECTION ===== */
.form-section.community {
  background: linear-gradient(135deg, #e0ffea, #c1ffd5);
  padding: 60px 20px;
}
.form-section.community h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  background: linear-gradient(90deg, #28a745, #85e085);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.form-section.community ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}
.form-section.community ul li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 2rem;
}
.form-section.community ul li::before {
  content: '🌟';
  position: absolute;
  left: 0;
  top: 0;
  color: #28a745;
  font-size: 1.2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .form-section.mission-vision .box {
    margin: 20px 0;
  }
  .form-section.values ul,
  .form-section.community ul {
    grid-template-columns: 1fr;
  }
}



/* ===== TEAM SECTION ===== */
.team-section {
  background: #f9fafb;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}
.team-section .card {
  width: 200px;
}
.team-section .card img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 10px;
}
.team-section .card .name,
.team-section .card .title {
  margin-bottom: 5px;
}



@media (max-width: 768px) {
  .team-section {
    gap: 30px;
  }
  .stat h2 {
    font-size: 2rem;
  }
}

/* ===== VALUES & EDUCATION APPROACH SECTION ===== */
.values-section {
  background: #fff;
  padding: 60px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.values-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  color: #e63946;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}
.values-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #e63946;
  margin: 8px auto 2rem;
  border-radius: 2px;
}

/* Liste kartları */
.values-section ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.values-section ul li {
  background: #fdfdfd;
  border: 2px solid #e63946;
  border-radius: 8px;
  padding: 1rem;
  color: #333;
  font-size: 1rem;
  text-align: center;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.values-section ul li:hover {
  background: #e63946;
  color: #fff;
  transform: translateY(-4px);
}

/* Paragraf kartı */
.values-section p {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  background: #f9f9f9;
  border-left: 4px solid #e63946;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* ===== STATISTICS SECTION ===== */
.stats {
    background: #fff;
    padding: 4rem 1rem;
    text-align: center;
  }

  .stats .container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
   min-width: 0;
  }

  .stat {
    flex: 1 1 250px;
    padding: 2rem;
    border: 2px solid #e63946;
    border-radius: 12px;
    background: #fefefe;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .stat h2 {
    font-size: 3rem;
    color: #e63946;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .stat p {
    font-size: 1.2rem;
    color: #555;
    margin: 0;
    font-weight: 500;
    text-align: center;

  }

  /* Mobil uyum */
  @media (max-width: 768px) {
    .stats .container {
      flex-direction: column;
      align-items: center;
    }

    .stat {
      width: 100%;
      max-width: 400px;
    }
  }

/* Değerlerimiz bölümü kart içi metinler kalın olsun */
.values-section ul li {
  font-weight: 700; /* liste maddelerini kalın yapar */
}

/* Paragraflar biraz daha koyu */
.values-section p {
  font-weight: 600;
}

/* İstatistik açıklamaları kalın vursun */
.stats .stat p {
  font-weight: 600;
}

/* FOOTER */
.footer {
 background-color: red;
  color: #fff;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  min-width: 0;
}

.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;
}
