
/* Genel Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;

  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  background: linear-gradient(135deg, #ffe6f0 0%, #fff3e0 50%, #f9f9fb 75%, #d9f0f0 100%),
              url('/images/arka_plan.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; 
} 
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/arka_plan.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.1; /* ← işte burada şeffaflık ayarlanır */
  z-index: -1;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/arka_plan.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
}




header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  max-width: 1100px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.8rem;
  color: #FF6F91; /* Pembe */
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #FFD93D; /* Sarı */
}

main {
  flex: 1;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 2rem;
}

section {
  margin-bottom: 3rem;
}

/* Hero Bölümü */
.hero {
  background: linear-gradient(135deg, #FF6F91, #FFD93D);
  color: white;
  padding: 4rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 15px rgba(255,111,145,0.3);
  animation: fadeInDown 1s ease forwards;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.btn-primary {
  background-color: #FFD93D;
  color: #333;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 5px 10px rgba(255,217,61,0.3);
}

.btn-primary:hover {
  background-color: #FFB800;
  color: #222;
}

/* About Us */
 .about-us, .about-us-page {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 
    0 0 10px rgba(255, 185, 0, 0.4),
    0 0 20px rgba(255, 170, 0, 0.3),
    0 0 30px rgba(255, 160, 0, 0.2);
  animation: fadeInUp 1s ease forwards;
  transition: box-shadow 0.3s ease;
}




.about-us h2, .about-us-page h1 {
  color: #FF6F91;
  margin-bottom: 1rem;
}

/* Paket Kartları */
.package-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.package-card {
  background: white;
  padding: 1.8rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(102,178,255,0.1);
  width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 20px rgba(255,111,145,0.3);
}

.package-card h3 {
  margin-bottom: 0.8rem;
  color: #FF6F91;
}

.package-card p {
  flex-grow: 1;
  color: #555;
  margin-bottom: 1.2rem;
}

.btn-secondary {
  background-color: #66B2FF;
  color: white;
  padding: 0.6rem 1.3rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #3388FF;
}

/* Paket detay sayfası */
.package-detail-page {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(102,178,255,0.1);
  animation: fadeIn 1s ease forwards;
}

.package-detail-page h1 {
  margin-bottom: 0.5rem;
}

.package-detail-page p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.curriculum-list {
  list-style: inside disc;
  margin-bottom: 2rem;
  color: #333;
}

.curriculum-list li {
  margin-bottom: 0.6rem;
  font-weight: 500;
}

/* İletişim Formu */
.contact-page {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(255,217,61,0.1);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease forwards;
}

.contact-page h1 {
  color: #FFD93D;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1.2rem;
  border: 2px solid #FFD93D;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #FF6F91;
  outline: none;
}

.success-message {
  background-color: #D4EDDA;
  color: #155724;
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

/* Footer */
footer {
  background: #fff;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #666;
}

/* Animasyonlar */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  /* Paket kartlarını tek sütun yapıp ortala */
  .package-cards {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;  /* Kenarlardan biraz boşluk bırak */
    box-sizing: border-box;
  }

  /* Paket kart genişliği maksimum genişlikte, taşmayı önle */
  .package-card {
    width: 100%;       /* Tam genişlikte */
    max-width: 320px;  /* Maksimum 320px genişlik */
    box-sizing: border-box;
  }

  /* Navbar sütun yapısını koru, ama genişlik sınırla */
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
    width: 100%;
  }

  /* body veya main paddingini azaltarak taşma engelle */
  body, main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}



