/* Global styles */
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;

}

.icerik {

    margin-top: 3.4%;
}
  /* Üst Navbar (İletişim ve sosyal ikonlar) */
  .top-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    background-color: #121212;
    transition: transform 0.3s ease;
  }
  .top-navbar .contact-info span,
  .top-navbar .social-icons a {
    font-size: 0.875rem;
  }
  /* Ana Menü Navbar'ı */
  #mainNavbar {
    position: fixed;
    top: 37px; /* Üst navbar yüksekliğine göre ayarlandı */
    width: 100%;
    z-index: 1040;
    transition: top 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
  }
  .navbar-alt {
    padding: 0.75rem 1rem;
  }
  .navbar-alt .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
  }
  .navbar-alt .navbar-brand img {
    height: 40px;
  }
  .navbar-alt .nav-link {
    font-size: 1rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
  }
  .navbar-alt .nav-link:hover {
    color: #f8b400;
  }
  /* Kullanıcı butonları */
  .navbar-alt .btn {
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.875rem;
  }
  .navbar-alt .btn:hover {
    opacity: 0.9;
  }
  /* İçerik boşluğu */
  .content {
    padding-top: 110px; /* Üst navbar + ana menü yüksekliğine göre ayarlandı */
  }
  /* Scroll sırasında ana menüye ekstra gölge eklemek */
  .scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    background: #fff;
  }
/* Navbar Linkleri */
.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 600;
    color: #333 !important;
    position: relative;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

/* Hover Efekti (Alt Çizgi) */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #f8b400; /* Altın sarısı çizgi */
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

/* Hover Efekti: Alt Çizgi Genişler */
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Aktif Linkin Rengi */
.navbar-nav .nav-link.active {
    color: #d90429 !important; /* Logoya uyumlu kırmızı */
    font-weight: 700;
}

/* Aktif Linkin Alt Çizgisi */
.navbar-nav .nav-link.active::after {
    width: 100%;
    background-color: #d90429; /* Logoya uyumlu kırmızı çizgi */
}

/* Mobil Menü Açıldığında Arka Plan */
.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Logo ve Yazı */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: #222;
    transition: color 0.3s ease-in-out;
}

/* Logo Görünümü */
.navbar-brand img {
    width: 30px;    
    height: 38px;
    border-radius: 50%;
    background: #f8f9fa;
    padding: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Logo Hover Efekti */
.navbar-brand:hover img {
    transform: scale(1.1);
}

/* Yazı Kısmı */
.navbar-brand .brand-text {
    font-size: 18px;
    font-weight: 600;
    margin-left: 10px;
    color: #333;
}

/* Öne Çıkan Kırmızı Renk */
.navbar-brand .brand-text span {
    color: #d90429;
    font-weight: 700;
}

/* Yukarı Çık Butonu */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 22px;
    text-align: center;
    line-height: 46px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

/* Hover Efekti */
#scrollTopBtn:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
}

/* Butonu Aktif Hale Getir */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}


.navbar-light {
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
}

.navbar-light .contact-info span {
    color: #333;
}

.navbar-light .social-icons a {
    font-size: 1.2rem;
    color: #555;
    text-decoration: none;
}

.navbar-light .social-icons a:hover {
    color: #007bff;
}



h2 {
    color: #333;
}

.card-body {
    background-color: #fff;
}

.text-primary {
    color: #f39c12 !important;
}

.btn-danger {
    background-color: #e74c3c;
    border: none;
}



.price {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Genel Slogan Stili */
.slogan {
    font-size: 1.5rem; /* Daha büyük yazı boyutu */
    font-weight: 700; /* Kalın metin */
    color: white; /* Beyaz renk */
    background: rgba(0, 0, 0, 0.6); /* Şeffaf arka plan */
    padding: 10px 20px; /* İç dolgu */
    border-radius: 10px; /* Yuvarlatılmış köşeler */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Gölge efekti */
    display: inline-block; /* Arka planın metne göre boyutlanması */
    animation: fadeIn 1.5s ease-in-out; /* Görünme animasyonu */
}

/* Başlık Stili */
.slogan-title {
    font-size: 2rem; /* Daha büyük başlık */
    font-weight: 900; /* Daha kalın yazı */
    color: #ffc107; /* Parlak sarı renk */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Metin gölgesi */
    margin-bottom: 20px; /* Alt boşluk */
    animation: slideIn 1s ease-in-out; /* Kayma animasyonu */
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



.coursess{
    margin-bottom: 0; /* Fazla boşluğu kaldırır */
    padding-bottom: 0; /* Fazla boşluğu kaldırır */
}

.custom-title {
    font-size: 2.1rem; /* Büyük ve dikkat çekici */
    font-weight: 700; /* Kalın yazı stili */
    position: relative; /* Dekoratif çizgi için gerekli */
    color: #333; /* Koyu gri */
}

.custom-title::after {
    content: ''; /* Dekoratif çizgi */
    width: 80px; /* Çizgi genişliği */
    height: 4px; /* Çizgi kalınlığı */
    background-color: #dc3545; /* Çizgi rengi (turuncu tonlarında) */
    position: absolute; /* Çizginin başlıkla hizalanması */
    left: 50%; /* Ortalamak için */
    transform: translateX(-50%); /* Ortalamayı tamamlar */
    bottom: -10px; /* Başlığın altına yerleştir */
}

.custom-title span {
    color: #dc3545; /* "Kurslar" kelimesini vurgular */
}

.custom-title:hover {
    color: #dc3545; /* Hover efektiyle renk değişimi */
    transition: color 0.3s ease; /* Geçiş animasyonu */
}


.search-bar {
    margin: 20px 0;
}

#searchInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}
    .course-details {
        list-style-type: none; /* Klasik madde işaretlerini kaldırır */
        padding-left: 0; /* Padding'i sıfırlayarak düzenli bir görünüm elde ederiz */
    }

    .course-details li {
        position: relative; /* Madde işaretlerini özelleştirmek için konumlandırma */
        padding-left: 30px; /* Madde işaretinin biraz uzak olması için padding */
        margin-bottom: 10px; /* Maddeler arasında boşluk */
        font-size: 16px; /* Yazı boyutunu belirle */
        color: #444; /* Yazı rengi */
    }

    .course-details li::before {
        content: '\2022'; /* Unicode madde işareti (•) */
        position: absolute;
        left: 0; /* Madde işaretinin sola hizalanması */
        top: 0;
        color: #e74c3c; /* Kırmızı bir madde işareti */
        font-size: 20px; /* Madde işaretinin boyutu */
    }

    .card-body p {
        font-size: 14px;
        color: #555; /* Açıklamaların rengi */
    }

    .price {
        font-size: 18px;
        font-weight: bold;
        color: #e74c3c; /* Fiyat rengi kırmızı */
    }

    .card-footer .btn {
        font-weight: bold;
    }

    /* Responsive düzenleme */
    @media (max-width: 767px) {
        .course-details li {
            font-size: 14px;
        }

        .content {
            padding-top: 70px;
          }
          .icerik {
            margin-top: 100px;
        }
        .top-navbar {
          display: none !important;
        }
        #mainNavbar {
          top: 0 !important;
        }
    }

    .navbar-brand {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    
    .navbar-brand .logo {
        max-height: 40px; /* Logonun yüksekliğini ayarlayın */
        margin-right: 10px; /* Logo ve yazı arasındaki boşluk */
        background-color: rgba(0, 0, 0, 0.5); /* Siyah arka plan ve %50 transparanlık */
        padding: 5px; /* Logoya biraz iç boşluk ekleyin */
        border-radius: 5px; /* Köşeleri yuvarlayın */
    }
    
    .brand-text {
        font-size: 1.5rem; /* Yazı boyutunu ayarlayın */
        font-weight: bold;
    }
    
    .hocam {
        color: red; /* "Hocam" yazısının rengi */
    }
    
    .enler {
        color: white; /* "Enler" yazısının rengi */
    }
    
    
    .registration-container {
        padding: 40px; /* İçerik etrafında daha fazla boşluk */
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        max-width: 700px; /* Daha geniş görünüm için artırıldı */
        width: 90%; /* Küçük ekranlarda genişliğin esnemesi için */
        margin: 50px auto; /* Ortalamayı sağlamak için */
        background-color: #343a40; /* Formun arka plan rengini koyu yap */
    }

    .registration-container h2 {
        text-align: center;
        margin-bottom: 20px;
        font-weight: bold;
        color: #fff; /* Beyaz yazı rengi */
    }

    .form-control {
        background-color: #fff; /* Beyaz arka plan */
        border: none;
        color: #343a40; /* Koyu yazı rengi */
    }

    .form-control:focus {
        box-shadow: 0 0 5px #fff; /* Beyaz odak rengi */
        border-color: #fff;
    }

    .btn-dark {
        background-color: #495057; /* Koyu arka plan */
        border: none;
    }

    .btn-dark:hover {
        background-color: #6c757d; /* Daha açık koyu arka plan */
    }
    .logo-container {
        text-align: center; /* Ortalıyor */
    }

    .logo-img {
        max-width: 150px; /* Maksimum genişlik ayarı */
        width: 25%; /* Mobil uyum için yüzdeye dayalı genişlik */
        height: auto; /* Görüntü orantısını koruyor */
        margin: 0 auto; /* Ortalamayı güçlendiriyor */
        display: block; /* Blok olarak davranmasını sağlıyor */
    }

    


    .main-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;
        padding: 20px;
    }

    .login-container {
        background-color: #dc3545; /* Danger background */
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        width: 100%;
        max-width: 700px;
    }

    .login-container h2 {
        text-align: center;
        margin-bottom: 20px;
        font-weight: bold;
        color: #fff; /* White text */
    }

    .form-control {
        background-color: #fff; /* White background */
        border: none;
        color: #343a40; /* Dark text */
    }

    .form-control:focus {
        box-shadow: 0 0 5px #fff; /* White focus */
        border-color: #fff;
    }

    .btn-dark {
        background-color: #343a40; /* Dark background */
        border: none;
    }

    .btn-dark:hover {
        background-color: #495057; /* Lighter dark */
    }

    .btn-link {
        color: #fff; /* White text */
        text-decoration: underline;
    }

    .btn-link:hover {
        color: #f8d7da; /* Light red */
    }
footer {
    background-color: #2c3e50;
}

.hero .carousel-item {
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: white;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Daha net görünürlük */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.hero .btn {
  font-size: 1.1rem;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-image, .ratio iframe {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.hero-image:hover, .ratio iframe:hover {
  transform: scale(1.02);
}


  
  /* Carousel Caption - İçeriğin Tam Ortalanması */
/* Carousel Caption - İçeriğin Daha Alt Kısımda Konumlandırılması */
.carousel-caption {
    position: absolute;
    top: 65%; /* İçeriği biraz daha aşağıya almak için */
    left: 50%;
    transform: translate(-50%, -60%); /* Yatayda ortalama, dikeyde de ayarlama */
    width: 100%;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
  }
  
  .carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

  /* Slogan Başlığı */
  .slogan-title {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(90deg, #ffffff, #f8b400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-in-out;
  }
  
  /* Slogan Metni */
  .slogan {
    font-size: 1.2rem;
    font-weight: 500;
    color: #f8b400;
  }
  
  /* Butonlar */
  .carousel-caption .btn {
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .carousel-caption .btn-danger {
    background: linear-gradient(135deg, #d90429, #f87171);
    border: none;
  }
  
  .carousel-caption .btn-danger:hover {
    background: linear-gradient(135deg, #f87171, #d90429);
    transform: scale(1.05);
  }
  .carousel-inner, 
  .carousel-item {
      min-height: 100vh;
      display: flex;
      align-items: center;
  }

  /* Responsive Mobil Ayarlar */
  @media (max-width: 768px) {
    .slogan-title {
      font-size: 1.7rem;
      margin-bottom: 0.75rem;
    }
    .slogan {
      font-size: 1rem;
      margin-bottom: 1.5rem;
    }
    .carousel-caption .btn {
      padding: 8px 18px;
      font-size: 14px;
    }
    .carousel-item {
      height: auto;
      padding: 80px 0; /* Boşlukları ayarlamak için */
  }

  h1 {
      font-size: 2rem;
      text-align: center;
  }

  p {
      font-size: 1rem;
      text-align: center;
  }

  .btn-lg {
      display: block;
      text-align: center;
      width: 100%;
      max-width: 250px;
      margin: 0 auto;
  }

  .col-lg-6 {
      text-align: center;
  }

  .ratio-16x9 {
      max-width: 100%;
  }
  .row.align-items-center {
    flex-direction: column;
    gap: 1rem;
  }
  .d-flex.justify-content-end {
    justify-content: center !important;
  }
  .carousel-caption .btn {
    padding: 8px 18px;
    font-size: 14px;
  }
  }
/* Satın Al ve Detaylar Butonları */
.purchaseBtn, .detailsBtn {
    flex: 1; /* Butonları eşit genişlikte yapar */
    padding: 5px 0; /* Dikey boşluğu artırarak daha büyük görünmelerini sağlar */
    font-size: 1 rem; /* Font boyutunu artırır */
    font-weight: bold;
    border-radius: 4px; /* Hafif yuvarlatılmış köşeler */
    transition: all 0.3s ease-in-out;
    text-align: center; /* Metni ortalar */
}

/* Satın Al Butonu */
.purchaseBtn {
    background: linear-gradient(to right, #e74c3c, #c0392b);
    color: white;
    border: none;
}

.purchaseBtn:hover {
    background: linear-gradient(to right, #c0392b, #e74c3c);
    transform: scale(1.05);
}

/* Detaylar Butonu */
.detailsBtn {
    background: white;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.detailsBtn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.05);
}

/* Butonları eşit hizalı yap */
.button-container {
    display: flex;
    gap: 10px; /* Butonlar arasında mesafe bırak */
    justify-content: center; /* Ortaya hizala */
    width: 100%;
}




    /* Kayıt Kartı */
    .registration-container {
        background: #ffffff;
        padding: 2.5rem;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 500px;
      }
      .logo-container {
        margin-bottom: 1.5rem;
      }
      .logo-container img {
        max-width: 120px;
      }
      h2 {
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: #1e293b;
      }
      /* Form Stilleri */
      #registrationForm .form-control,
      #registrationForm .form-select {
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        padding: 0.75rem 1rem;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
      }
      #registrationForm .form-control:focus,
      #registrationForm .form-select:focus {
        border-color: #ff7e5f;
        box-shadow: 0 0 5px rgba(255, 126, 95, 0.5);
      }
      #registrationForm .mb-3 {
        margin-bottom: 1rem;
      }
      /* Düğme Stilleri */
      #registrationForm button[type="submit"] {
        border: none;
        border-radius: 8px;
        padding: 0.75rem;
        font-size: 1rem;
        font-weight: 600;
        transition: background-color 0.3s ease;
      }
  

      .forgot-password-container {
        max-width: 400px;
        margin: 0 auto;
        padding: 2rem;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
    }


/* Arama Kutusu - İkon Stili */
.input-group-text {
  background: transparent;
  color: #aaa;
  border-right: 0;
}


.form-control:focus,
.form-select:focus {
  border-color: #f8b400;
  box-shadow: 0 0 0 0.2rem rgba(248, 180, 0, 0.25);
  outline: none;
}

/* Select Elemanları */
.form-select {
  padding: 0.5rem 1rem;
}

/* Input Group Birleştirme */
.input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

