/* ==== HERO SECTION ==== */
.hero-section {
    width: 100%;
    padding: 3rem 2rem;
    background: linear-gradient(to bottom, #e7e2e2 0%, #1db4da 100%);
    background-attachment: fixed;
    color: #fff;
    display: flex;
    justify-content: center;
}

.left-align {
    justify-content: center;
}

.right-align {
    justify-content: center;
}

.hero-container {
    width: 100%;
    max-width: 2000px;
    height: 750px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 26px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 3rem;
}

/* Arka Planlar */
.hero1 {
    background-image: url('../../assets/images/camii-test.png');
}

.hero2 {
    background-image: url('../../assets/images/services3.jpeg');
}

/* YÖN AYARLARI */
.right-content {
    justify-content: flex-end;
}

.left-content {
    justify-content: flex-start;
}

.hero3::before,
.hero4::before {
  pointer-events: none;
}

/* İçerik Kutusu */
.content-box {
    background-color: white;
    padding: 3rem;
    border-radius: 26px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.2);
    width: auto;          /* %100 yerine içeriğe göre auto */
    max-width: 400px;
}

/* İç Başlık ve Paragraf */
.content-box h1 {
    font-size: 1.9rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 1rem;
}

.content-box p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Buton */
.hero-btn {
    display: inline-block;
    background-color: #e53935;
    color: white;
    font-weight: 600;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
    background-color: #c62828;
    transform: scale(1.05);
}
/* HERO 3 (Yeni tasarım için görsel arka plan) */
.hero3 {
    background-image: url('../../assets/images/engelli-birey-tras-kesilmis.png'); /* Yeni görselin adı */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    
  }
  
  /* Koyu → koyu kırmızı gradient layer */
  .hero3::before {
    content: "";
    position: absolute;
    inset: 0;
    
    opacity: 0.75;
    border-radius: 26px;
    z-index: 1;
  }
  


  /* Gallery Hero */
.hero4 {
    background-image: url('../../assets/images/yardim-eden-amca.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    filter: brightness(0.85);
  }
  
  /* Hafif siyah gölge */
  .hero4::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    z-index: 1;
  }

  @media (max-width: 1024px) {
    .hero-container {
      width: 90%;
      height: auto;
      padding: 2rem;
      flex-direction: column;
      align-items: center;
    }
  
    .content-box {
      margin: 2rem 0 0 0;
      max-width: 90%;
      padding: 2rem;
      text-align: center;
    }
  
    .content-box h1 {
      font-size: 2.2rem;
    }
  
    .content-box p {
      font-size: 1rem;
    }
  
    .hero-btn {
      margin-top: 1rem;
      font-size: 1rem;
      padding: 0.8rem 1.5rem;
    }

    .hero-section {
      justify-content: center; /* SOL-SAĞ değil, TAM ORTA */
    }
  
    .hero-container {
      width: 90%;
      height: auto;
      padding: 2rem;
      flex-direction: column; /* Flex-column: Görsel üst, yazı alt */
      align-items: center;
      text-align: center;
    }
  
    .content-box {
      margin-top: 2rem;
      max-width: 90%;
      padding: 2rem;
      text-align: center;
      background-color: rgba(255,255,255,0.95); /* opsiyonel: yazı kutusunu daha okunur yapar */
      backdrop-filter: blur(100px);
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }
  
    .content-box h1 {
      font-size: 2rem;
    }
  
    .content-box p {
      font-size: 1rem;
    }
  
    .hero-btn {
      margin-top: 1rem;
      font-size: 1rem;
      padding: 0.8rem 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .hero-container {
      position: relative;
      height: 50vh;
      width: 100%;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }
  
    .content-box {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      width: 85%;
      max-width: 320px;
      background: rgba(255, 255, 255, 0.9);
      padding: 1rem 1.2rem;
      text-align: center;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.9);
    }
  
    .content-box h1 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }
  
    .content-box p {
      font-size: 0.7rem;
      margin-bottom: 0rem;
    }
  
    .hero-btn {
      font-size: 0.7rem;
      padding: 0.6rem 1.3rem;
      background-color: #e53935;
      color: #fff;
      border-radius: 6px;
      font-weight: 600;
      text-decoration: none;
    }
  
    .hero-btn:hover {
      background-color: #c62828;
    }
  }