/* Giriş ekranı ayarları */
#intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-out;
    backdrop-filter: blur(10px); /* Blur efekti */
}

#logo {
    width: 250px;
    height: auto;
    z-index: 10000;
}

/* Ana içerik başlangıçta gizli */
#main-content {
    visibility: hidden;
}

/* Giriş ekranı kaybolduktan sonra */
#intro.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-out;
}

/* Ana içerik aktif olduğunda */
#main-content.active {
    visibility: visible;
    transition: visibility 0s 1s; /* Giriş efekti bittikten sonra görünsün */
}

/* Gradient background for h5 and p */
.gradient-bg {
    background: linear-gradient(
      to right, 
      rgba(0, 0, 0, 0),   /* Sol kenar tamamen transparan */
      rgba(0, 0, 0, 1),   /* Ortada siyah */
      rgba(0, 0, 0, 0)    /* Sağ kenar tamamen transparan */
    );
    padding: 10px; /* Biraz boşluk ekliyoruz */
    color: rgb(255, 255, 255); /* Metnin görünürlüğü için beyaz yapıyoruz */
    border-radius: 5px; /* Kenarları hafif yuvarlak yapıyoruz */
  }
  .carousel {
    overflow: visible !important; /* Bu ayar menüyü engellemeyecek */
    position: relative; /* Konumlandırmayı etkiler, eğer zaten değilse ekleyin */
    z-index: 1; /* Carousel için daha düşük bir z-index değeri */
}


.carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Resmi kapsayıcıya uyacak şekilde keser */
}
.container{
    display: block;

    margin-top: 30px;
    background-color: rgba(240, 248, 255, 0.5);
    padding:3em;
    border-radius: 1em;
    border-left: 2px solid rgb(0, 149, 82);
    border-right: 2px solid rgb(0, 149, 82);
    box-shadow: 10px 10px 10px rgb(0, 53, 101);
}
.carousel-caption h5 {
    font-size: 1.6em;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    color: var(--text-color, #ffffff);
    line-height: 1.5;
    letter-spacing: 0.9px;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.831);
}
.carousel-caption p {
    font-size: 1.3em;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    color: var(--text-color, #ffffff);
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.831);
}
.img {
    
    border-radius: 6px !important;
    border: 3px outset rgba(0, 53, 101,1);
}
.secondcontainer {
    margin-top: 20px;
    background-color: rgba(18, 11, 3, 0.55);
    width: 100%;
    
    height: auto;
    border-radius: 1em;
    position: relative;
    border: 3px solid rgb(0, 53, 101);
    box-shadow: 10px 1px 10px rgba(0, 52, 101, 0.267);
    overflow: visible; 
}
.thirdcontainer{
    margin-top: 20px;
    background-color: rgba(18, 11, 3, 0.55);
    width: 100%;
    display: flex;
    justify-content: center;
     align-items: center;
    height: auto;
    border-radius: 1em;
    position: relative;
    border: 3px solid rgb(0, 53, 101);
    box-shadow: 10px 1px 10px rgba(0, 52, 101, 0.267);
    overflow: visible;
    flex-wrap: wrap;
    gap: 70px; /* Kartlar arasında boşluk */
    text-align: center;
}

  
  .section-title {
    width: 100%;
    font-size: 24px;
    font-weight:lighter;
    margin-bottom: 20px;
    color: aliceblue;
    font-family: "Lucida Handwriting";
    margin-top: 2em;
    
    
  }
  
  .card {
    background-color: transparent; /* Transparan arka plan */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: aliceblue;
  }
  

  @media (max-width: 768px) {
    .carousel-inner img {
        width: 110%; /* Mobilde biraz daha büyük yapalım */
        height: auto;
        object-fit: cover;
    }
}

/* İsterseniz resmin boyutunu tüm cihazlarda daha esnek hale getirebilirsiniz */
.carousel-inner img {
    max-width: 100%;
    max-height: 100%;
}