/* Genel Arka Plan */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #5a25d4, #a8edea);
  overflow-x: hidden;
  position: relative;
  color: white;
}




/* ------------------------------------------------------------------------------------ */

/* === 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;
  }
}



/* ------------------------------------------------------------------------------------ */

/* Iframe kapsayıcı */
.iframe-container {
  position: relative;
  width: 100%;
  max-width: 800px;   /* büyük ekranda en fazla 800px olacak */
  margin: 0 auto;     /* ortalamak için */
  aspect-ratio: 16/9; /* oran koruma */
}

/* iframe ayarları */
.iframe-container iframe {
  width: 100%;
  height: 170%;
  border: none;
  display: block;
  border-radius: 10px; /* isteğe bağlı, köşeleri yumuşatır */
}


/* Hareketli arka plan ışık efekti */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  animation: move 12s linear infinite alternate;
  pointer-events: none;
}
@keyframes move {
  0% { transform: translate(-20%, -20%) scale(1.2);}
  100% { transform: translate(20%, 20%) scale(1.4);}
}

.container {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 2s ease-in-out;
  
}

/* Başlık */
h1.glow {
  font-size: 3em;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 10px #ffd700, 0 0 20px #ff0080, 0 0 30px #00eaff;
  animation: glowAnim 3s infinite alternate;
}
@keyframes glowAnim {
  from { text-shadow: 0 0 10px #ffd700, 0 0 20px #ff0080; }
  to { text-shadow: 0 0 20px #00eaff, 0 0 40px #ffd700; }
}

h2 {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #ffe;
  opacity: 0.9;
  text-align: center;
  background: rgb(21, 21, 121);
  color: yellow;
border-radius: 50px;

}

/* Kart düzeni */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 20px;
}

.card {
  background: rgba(255,255,255,0.1);
  border-radius: 60px;
  padding: 20px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  backdrop-filter: blur(6px);
}
.card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.4em;
  color: #ffe066;
}
.card p {
  margin: 0;
  font-size: 1em;
  opacity: 0.85;
}

/* Animasyon */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Mobil uyum */
@media (max-width: 768px) {
  h1.glow { font-size: 2em; }
  .card-grid { grid-template-columns: 1fr; }
}

.card.active-glow {
  box-shadow: 0 0 25px #ff0, 0 0 50px #ff0080;
}

/* === YORUM ALANI === */
.feedback-section {
  margin-top: 50px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 60px;
}

.feedback-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 15px;
  padding: 15px;
  background: rgba(255,255,255,0.15);
  border-radius: 60px;
}

.feedback-name {
  font-weight: bold;
  margin-bottom: 5px;
  color: #ffe066;
}

.feedback-message {
  font-style: italic;
  opacity: 0.9;

}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  gap: 15px;
}

.pagination button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #ffd700;
  color: #333;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pagination button:disabled {
  background: #999;
  cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
  background: #ffb400;
}

#pageInfo {
  font-weight: bold;
  font-size: 1.1em;
}
/* Animasyon */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Mobil uyum */
@media (max-width: 768px) {
  h1.glow { font-size: 2em; }
  .card-grid { grid-template-columns: 1fr; }
}
.card.active-glow {
  box-shadow: 0 0 25px #ff0, 0 0 50px #ff0080;
}