/* Genel Ayarlar */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
}

/* Arka Plan */
.bg {
    background-image: url("199534.jpg");
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
 color: red; /* Yazıyı kırmızı yapar */
            text-transform: uppercase; /* Harfleri büyük yapar */
            font-family: 'Poppins', sans-serif; /* Poppins fontunu kullanır */
            font-size: 48px; /* Yazı boyutunu büyütür */
            font-weight: 600; /* Yazıyı kalın yapar */
            letter-spacing: 2px; /* Harfler arasındaki mesafeyi artırır */
    padding: 15px;
    text-align: center;
    font-size: 24px;
    z-index: 10;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    z-index: 10;
}

/* Toggle Butonu */
.toggle-button {
    position: fixed;
    top: 70px;
    left: 20px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
}

.toggle-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* İçerik Kutusu – mobil öncelikli */
.content {
  margin: 90px auto 70px;     /* üst başlıktan ve alttaki footer’dan boşluk */
  padding: 18px;
  background-color: rgba(255,255,255,.92);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,.18);
  width: 92%;                 /* mobilde genişlik */
  max-width: 720px;           /* çok geniş ekranlarda sınır */
}



.content h2 {
  margin: 0 0 6px;
  color: #333;
  font-size: 26px;
  line-height: 1.2;
}

.content p {
  margin: 0 0 12px;
  color: #555;
  line-height: 1.65;
  font-size: 16px;
}

@media (min-width: 992px) {
  .content h2 { font-size: 30px; }
  .content p  { font-size: 17px; }
}


/* Buton */
/* Mobil */
.volunteer-button {
  display: inline-block;
  margin: 10px 0 18px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
}

/* Masaüstü düzeni */
@media (min-width: 992px) {
  .content {
    /* sağ tarafa oturan sabit genişlikli bir kutu gibi dursun */
    width: 38rem;             /* ihtiyaca göre 34–42rem arası oynatabilirsin */
    margin: 100px 24px 80px auto;  /* sağda dursun */
  }
  .volunteer-button {
    float: right;             /* başlığın sağına gelsin */
    margin: 0 0 12px 16px;    /* h2 ile araya boşluk */
  }
}


.volunteer-button:hover {
    background-color: #0056b3;
}

/* İçerik Wrapper */
.content-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sadece volunteer-page sınıfı için stil tanımlamaları */
.volunteer-page {
    height: 100%;
    min-height: 100vh; /* Tarayıcı yüksekliğini kaplaması için */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    color: #333;
    background-image: url("199534.jpg");
    background-size: cover; /* Arka plan resmini ekranı tamamen kaplayacak şekilde ölçekler */
    background-position: center; /* Resmi yatay ve dikey olarak ortalar */
    background-repeat: no-repeat; /* Resmin tekrarlamasını önler */
}


.volunteer-page .bg {
    background-image: url("199534.jpg");
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    filter: brightness(0.7);
}

.volunteer-page .header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 24px;
    z-index: 10;
}

.volunteer-page .footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    z-index: 10;
}

.volunteer-page .content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin: 110px auto 90px;
}

.volunteer-page .volunteer-areas {
    flex: 1;
    padding: 20px;
}

.volunteer-page .volunteer-areas ul {
    padding: 0;
    list-style: none;
}

.volunteer-page .volunteer-areas li {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

.volunteer-page .volunteer-form-container {
    flex: 1;
    padding: 20px;
}

.volunteer-page .volunteer-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.volunteer-page .volunteer-form input,
.volunteer-page .volunteer-form select,
.volunteer-page .volunteer-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.volunteer-page .volunteer-form button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.volunteer-page .volunteer-form button:hover {
    background-color: #0056b3;
}

/* =========================
   GÖNÜLLÜ OL – MOBİL DÜZEN
   ========================= */
@media (max-width: 992px) {
  /* sayfayı üstten başlat, ortalamayı bırak */
  .volunteer-page {
    justify-content: flex-start;
    align-items: stretch;
  }

  /* 2 sütun yerine tek sütun, kenarlardan rahat boşluk */
  .volunteer-page .content-wrapper {
    flex-direction: column;     /* <— tek sütun */
    width: 92%;
    margin: 90px auto 90px;     /* header & footer boşluğu */
    gap: 18px;
    padding: 16px;
  }

  .volunteer-page .volunteer-areas,
  .volunteer-page .volunteer-form-container {
    padding: 0;                 /* iç dolguyu sadeleştir */
  }

  /* Form elemanları rahat tıklansın (iOS zoom’u önler) */
  .volunteer-page .volunteer-form input,
  .volunteer-page .volunteer-form select,
  .volunteer-page .volunteer-form textarea {
    width: 100%;
    font-size: 16px;
  }

  /* Footer içeriği kapatmasın */
  .volunteer-page .footer {
    position: static;
  }

  /* Üst şerit ve “Müziği Çal” butonu mobilde biraz küçülsün */
  .header { font-size: 20px; padding: 12px; }
  .toggle-button { top: 62px; left: 14px; padding: 8px 14px; font-size: 14px; }
}





