main{
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 5vh;
}

.hero {
  padding: 0;
  height: 100vh;
  width: 100%;
  background: rgb(71, 80, 92);
}
.hero .swiper-button-next,
.hero .swiper-button-prev {
  color: #ccc !important;
}
.hero .swiper {
  width: 100%;
  height: 100%;
}
.hero .swiper-pagination-bullet {
  background: white;
  opacity: 1;
}

.hero .swiper-pagination-bullet-active {
  background: white;
  opacity: 1;
 }
.hero .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.caption {
  opacity: 0;
  transform: translateY(-50%) !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  color: white;
  pointer-events: none;
  user-select: none;
  font-weight: 600;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.caption.visible {
  opacity: 1;
  transform: translateY(0);
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0.6) contrast(1.1) saturate(1.2);
  object-fit: cover;
}
/* BÖLÜMLER */

section#hizmetler{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header-section{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}
  
/* HİZMET KARTLARI */
.cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 0.65rem 0.65rem 1rem 0.65rem;
  text-align: center;
  transition: transform 0.3s ease;
  gap: 0.75rem;
}
.card p{
  color: #666;
}
.card h3{
  font-weight: 600;
}
.card:hover {
  transform: translateY(-5px);
}

.card img{
  justify-self: center;
  width: 100%;
  border-radius: 1rem;
}
.card .show-button{
  cursor: pointer;
  border-radius: 1.5rem;
  border: 1px solid #666;
  justify-self: center;
  color: #666;
  text-decoration: none;
}

.card .show-button:hover{
  border: 1px solid #029b30;
  background: #029b30;
  color: #fff;
  text-decoration: none;
}

#neden-biz {
  margin: auto;
  position: relative;
  background-image: url(./../../img/why-we.jpg);
  background-size: cover;
  background-position: top;
  overflow: hidden;
}
#neden-biz .text-box {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: black;
  font-weight: 600;
}
section#why-we .content{
  border-radius: 0 0 1rem 1rem;
  border: 1px solid #ccc;
  border-top: none; 
  padding: 1rem 1rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
section#why-we .content .blocks .block{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8em;
}
section#why-we .content .icon{
  width: 25%;
  padding: 1em;
  background-color: #002549;
  border-radius: 50%;
}
section#why-we .content .icon img{
  width: 100%;
  filter: invert(1);
}
section#why-we .content #title{
  font-size: 1.1rem;
  color: #002549;
  font-weight: 600;
  text-align: center;
}
section#why-we .content #spot{
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}



@media screen and (max-width:1256px) and (min-width:912px) {
  .card{
    width: 35%;
  }
  #neden-biz{
    width: 100%;
    border-radius: 0;
  }
  section#why-we .content{
    width: 90%;
  }
  .caption {
    font-size: 1.5rem;
  }
  .caption-big{
    font-size: 2rem;
  }
}
@media screen and (min-width:1256px) {
  .card{
    width: 30%;
  }
  #neden-biz{
    max-width: 80%;
    border-radius: 1rem;
  }
  section {
    padding: 2rem;
  }
  section#why-we .content{
    width: 75%;
  }
  .caption {
    font-size: 2rem;
  }
  .caption-big{
    font-size: 2.5rem;
  }
}


@media screen and (min-width:912px) {
  .header-section .line{
    width: 25%;
    height: 2px;
    background: #002549;
  }
  .header-section .header{
    padding: .75rem 1.5rem;
    background-color: #002549;
    border-radius: .5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
  }
  .cards{
    flex-direction: row;
  }
  .card .show-button{
    padding: 0.5rem 1rem;
  }
  #neden-biz{
    height: 400px;
  }
  #neden-biz .text-box {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 1rem 1rem 0 0;
  }
  
  section#why-we .content .blocks{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media screen and (max-width:912px) {
  .hero .swiper-button-next::after,
  .hero .swiper-button-prev::after {
    font-size: 1.2rem;
  }
  
  .caption {
    font-size: 1rem;
  }
  .caption-big{
    font-size: 1.25rem;
  }
  
  .header-section .line{
    width: 15%;
    height: 2px;
    background: #002549;
  }
  .header-section .header{
    padding: .5rem 1rem;
    background-color: #002549;
    border-radius: .5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
  }
  .cards{
    padding: 0 10%;
    flex-direction: column;
  }
  
  .card .show-button{
    padding: 0.3rem .6rem;
    font-size: .9rem;
  }
  .card h3{
    font-size: 1rem;
  }
  .card p{
    font-size: .9rem;
  }
  #neden-biz{
    height: 200px;
  }
  
  #why-we .content #text {
    font-size: .9rem;
    text-align: center;
  }
  
  section#why-we .content .blocks{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
  }
   section#why-we .content .blocks .block{
    width: 40%;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  }
  section#why-we .content .icon {
    width: 50px;
    height: 50px;
    padding: 0.5em;
    background-color: #002549;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  section#why-we .content .icon img {
    width: 100%;
    height: auto;
    filter: invert(1);
  }
}

@media screen and (max-width:912px) and (min-width:412px){
  #neden-biz .text-box {
    padding: .5em 1em;
    font-size: 1rem;
    text-align: center;
    border-radius: 1rem 1rem 0 0;
  }
}


@media screen and (max-width:412px){
  #neden-biz .text-box {
    width: 100%;
    padding: .5em 0;
    border-radius: 0;
    text-align: center;
  }
}

@media screen and (max-width:576px) {
  section#why-we .content .blocks .block{
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  }
}