/* Genel sayfa stili */
body {
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  color: #333;
  margin: 0;
  padding: 0;
}








/* ------------------------------------------------------------------------------------ */

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  width: 97%;
  background: #000; /* siyah */
  color: #fff;
  border-radius: 30px;
  align-items: center;
  text-align: center;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-left .logo {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.nav-left .site-desc {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  align-items: center;
   background: linear-gradient(135deg, #5a25d4, #a8edea);
   width: 220px;
  height: 30px;
  border-radius: 50px;
}


.nav-left .site-desc:hover {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  align-items: center;
   background: rgb(18, 18, 143);
   color: yellow;
   width: 220px;
  height: 30px;
  border-radius: 50px;
}



.nav-right a {
  background: linear-gradient(135deg, #5a25d4, #a8edea);
  color: white;
  padding: 10px 16px;
  margin: 0 5px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-right a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
   background: rgb(18, 18, 143);
   color: yellow;
}






/* Hamburger buton */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Mobil görünüm */
@media (max-width: 768px) {
  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #5a25d4;
    text-align: center;
    margin-top: 10px;
    border-radius: 8px;
  }

  .nav-right a {
    display: block;
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-right.active {
    display: flex;
  }
}



/* ------------------------------------------------------------------------------------ */









/* Başlık */
header {
  background-color: #4CAF50;
  color: white;
  padding: 20px;
  text-align: center;
}

/* İçerik */
main {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

h2 {
  color: #f4faf5;
  background-color: blueviolet;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 10px;
   text-align: center;      /* Yazıyı ortalar */
    border-radius: 40px;     /* Köşeleri yuvarlatır */
}

/* Liste görünümü */
ul {
  background-color: #802a2a;
  color: white;
  border-radius: 40px;
  border-color: blue;
  padding: 15px 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

li {
  margin: 10px 0;
  line-height: 1.6;

}

li strong {
  color: yellow;
  font-size: larger;
  font-weight: bolder;
text-decoration-line: underline;         /* Altını çiz */

  text-decoration-color: white;   
      /* Çizgi beyaz */

text-decoration-thickness: 3px;       /* Çizgi kalınlığı 3px */

        /* Çizgiyi 5px aşağı kaydır */
}

/* Buton stili */
button {
  display: block;
  margin: 30px auto;
  padding: 10px 20px;
  font-size: 1.1rem;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color .3s;
}

button:hover {
  background-color: #45a049;
}

/* Alt bilgi */
footer {
  text-align: center;
  padding: 15px;
  background-color: #5dde40;
color: white;
 border-radius: 50px;
  margin-top: 40px;
}
/* Liste stilleri */
li {
  margin: 10px 0;
  line-height: 1.6;
  list-style-type: none; /* Nokta işaretini kaldır */
}

/* Linkler beyaz kalsın */
a.resim-link {
  color: white; 
  text-decoration: none;  /* alt çizgi yok */
}

a.resim-link:hover {
  text-decoration: underline; /* üstüne gelince altı çizilsin */
}

/* ----- Modal (zoom açılır pencere) ----- */
.modal {
  display: none; /* Başta görünmez */
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 250%;
  height: 250%;
  overflow: auto;
  background-color: rgba(105, 46, 46, 0.8);
}

/* Resim içeriği */
.modal-icerik {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  animation: zoom 0.4s;
}

/* Kapat (×) düğmesi */
.kapat {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Zoom animasyonu */
@keyframes zoom {
  from {transform: scale(0.5);}
  to {transform: scale(1);}
}