body{
    text-align: center;
}

.carousel-item {
        max-height: 850px;
        position: relative;
    }
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(131, 1, 88, 0.7);
    padding: 20px;
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.carousel-caption h2 {
    font-size: 60px;
    margin: 0;
    color: white;
}

.sidebar_ici_fixed{
    position: fixed;
    width: 250px;
    height: 100%;
}

#sidebar ul li a {
    text-align: left;
    margin-left: 20px;
}


.portfolio .item{
    position: relative;
    padding: 0px;
}

.portfolio .item .caption{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding-top: 25%;
    opacity: 1;
    transition: opacity 0.3s ease;
    font-size: 24px;
}

.item:hover .caption {
  opacity: 0;
  cursor: pointer;
  z-index: 0;
}


.portfolio .item img{
    width: 100%;
    height: auto;
}

.xidmetler .item {
    position: relative;
    padding: 0px;
    text-align: left;
    padding-top: 100px;
    padding-bottom: 120px;
    padding-left: 60px;
    box-sizing: border-box;
    overflow: hidden; /* Resmin boyutunu kontrol etmek için */
}

.xidmetler .item .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease; /* Geçiş efekti */
    z-index: -1; /* İçerikten arkada olmasını sağlar */
}

.xidmetler .item h4, .xidmetler .item h3, .xidmetler .item p {
    color: white;
}
.xidmetler .item h3 {
    text-transform: uppercase;
}

.xidmetler .item h4 i {
    margin-right: 40px;
}

.xidmetler .item:hover .background-image {
    transform: scale(1.2); /* Arka plan resminin boyutunu %20 büyüt */
}


.redline{
    padding: 10px;
    margin-top: 80px;
    margin-bottom: 100px;
    display:inline-block;
    width: 60%;
    min-width: 300px;
}

.redline hr{
    width: 250px;
    border-bottom: 2px solid red;
}

.portfolio .item_all{
    position: relative;
    height: 150px;
}

.portfolio .item_all img{
    position: relative;
    width: 100%;
    height: 100px;
}



.haqqimizda{
    max-width: 1200px;
    text-align: center;
    margin: 0px auto;
}

.haqqimizda .item img{
    height: 50px;
    margin: 0px auto;
}

.haqqimizda .item .redline{
    min-width: auto;
    width: auto;
}

.elaqe textarea, .elaqe input{
    background-color: rgb(0, 0, 0, 0.5);
}

.elaqe button{
    background-color: rgb(255, 255, 255, 0.95);
    width: 100%;
    font-weight: bold;
}

.elaqe form{
    min-width: 40%;
}

.elaqe_sosial{
    max-width: 1200px;
    text-align: center;
    margin: 0px auto;
    margin-top: 100px;
    margin-bottom: 100px;
    font-size: 25px;
}

.elaqe_sosial .item a{
    color: gray;
}

.elaqe_sosial .item a:hover{
    color: black;
}

.elaqe_sosial .fa{
    color: #c11d73;
    font-size: 25px;
}

@media (max-width: 991.98px) {
    .elaqe form{
        min-width: 90%;
    }
}




.section {
  height: 200px; /* Sayfa boyunca tam yükseklik */
  background-color: black; /* Section arka plan rengi */
}

.section_elaqe {
  height: 400px; /* Sayfa boyunca tam yükseklik */
  background-color: black; /* Section arka plan rengi */
}

.parallax {

  height: 100%; /* Section yüksekliği kadar */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
}

.itembg-1{
      background-attachment: fixed; /* Arka plan resminin sabit kalmasını sağlar */
  background-size: 100% auto;
  background-position: center;
      background-image: url('../images/img545.jpg'); /* Arka plan resmi */
}
.itembg-2{
      background-attachment: fixed; /* Arka plan resminin sabit kalmasını sağlar */
  background-size: 100% auto;
  background-position: center;
      background-image: url('../images/image54645.jpg'); /* Arka plan resmi */
}

.itembg-3{
      background-attachment: fixed; /* Arka plan resminin sabit kalmasını sağlar */
  background-size: 100% auto;
  background-position: center;
      background-image: url('../images/Contact.jpg'); /* Arka plan resmi */
}


.parallax a {
    color: white;
    font-size: 26px;
    border-color: white;
    border:2px solid white;
}

#portfolioModal {
  display: none; /* Modal başlangıçta gizli olsun */
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Modal arka plan rengi ve saydamlık */
  text-align: center;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Ortalama */
  max-height: 80vh; /* Yüksekliği en fazla %80 viewport yüksekliği kadar olacak şekilde ayarla */
  max-width: 80vw; /* Genişliği en fazla %80 viewport genişliği kadar olacak şekilde ayarla */
  background-color: rgba(255, 255, 255, 0.5); /* Resmin kenar kısmının saydamlığı */
  width: auto; /* Resmin orijinal genişliğini koru */
  height: auto; /* Resmin orijinal yüksekliğini koru */
}

#portfolioModal .close{
    cursor: pointer;
    color: gray;
    right: 10px;
    top: 10px;
    font-size: 60px;
}

/* Oklar için stiller */
.prev, .next {
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  width: 50px; /* Genişlik ayarı */
  height: 50px; /* Yükseklik ayarı */
  line-height: 50px; /* Metnin yüksekliğiyle hizalama */
  font-size: 30px; /* Font boyutu */
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center; /* Metni yatay olarak ortala */
  border-radius: 50%; /* Yuvarlak kenarlar */
  z-index: 1001; /* Diğer içeriğin üzerinde olması için z-index */
}

/* Sağ ok */
.next {
  right: 45%;
}

/* Sol ok */
.prev {
  left: 45%;
}

.footer i {
    color: #c11d73;
    font-size: 18px;
}