/* =====================================================
   📱 TAM ORTALI, SABİT, PROFESYONEL MOBİL ALT MENÜ (FINAL)
   ===================================================== */

/* 🔸 Mobilde üst header gizle */
@media (max-width: 768px) {
  .header {
    display: none !important;
  }
}

/* ✅ Sağa sola kaymayı kapat */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🔹 Mobil Alt Bar */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0; /* ✅ soldan başla */
  right: 0; /* ✅ sağdan bitir — böylece tam ortalı */
  width: 100%;
  height: 70px;
  background: rgba(18, 18, 22, 0.95);
  backdrop-filter: blur(20px);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  display: flex;
  justify-content: space-evenly; /* 🔹 eşit aralıklarla ortala */
  align-items: center;
  z-index: 999999;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  touch-action: none; /* 🔒 sağ-sol kaymayı engelle */
}

/* 🔹 Menü Linkleri */
.mobile-nav a {
  flex: 1;
  text-align: center;
  color: #c8c8c8;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 0;
  transition: all 0.25s ease;
  user-select: none;
}

/* 🔹 İkonlar */
.mobile-nav a i {
  font-size: 20px;
  transition: all 0.25s ease;
  opacity: 0.9;
}

/* 🔹 Hover / Aktif Renk */
.mobile-nav a:hover,
.mobile-nav a:active {
  color: #aee6ff;
}

.mobile-nav a:hover i,
.mobile-nav a:active i {
  color: #7ed8ff;
  transform: translateY(-3px);
  opacity: 1;
}

/* 🔹 Aktif Sekme */
.mobile-nav a.active {
  color: #aee6ff;
}

.mobile-nav a.active i {
  color: #7ed8ff;
}

/* 🔹 Yönetici Link (yanıp sönme) */
.mobile-nav a.admin-link i {
  color: #ff4c4c;
  animation: adminPulse 1.5s infinite ease-in-out;
}

/* 🔹 Yönetici animasyon efekti */
@keyframes adminPulse {
  0%, 100% {
    color: #ff4c4c;
    text-shadow: 0 0 10px rgba(255, 60, 60, 0.6);
    transform: scale(1);
  }
  50% {
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
    transform: scale(1.2);
  }
}

/* 🔹 Küçük ekran uyumu */
@media (max-width: 480px) {
  .mobile-nav {
    height: 65px;
    border-radius: 18px 18px 0 0;
  }

  .mobile-nav a span {
    font-size: 10px;
  }

  .mobile-nav a i {
    font-size: 18px;
  }
}
/* --- YÖNETİCİ BUTONU --- */
.admin-button {
  position: fixed;
  top: 22px;
  right: 25px;
  background: linear-gradient(135deg, #ff0000, #a10000);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 9999;
  animation: blinkRed 1.2s infinite;
  transition: all 0.3s ease;
  box-shadow: 0 0 14px rgba(255, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.admin-button i {
  font-size: 15px;
}

.admin-button:hover {
  background: linear-gradient(135deg, #ff4d4d, #ff0000);
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.8);
}

@keyframes blinkRed {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.8);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 24px rgba(255, 0, 0, 1);
  }
}

/* 🔹 Sadece masaüstünde göster, mobilde gizle */
@media (max-width: 768px) {
  .admin-button {
    display: none !important;
  }
}
@keyframes float {
  0% { transform: translateY(0); opacity: 0.6; }
  100% { transform: translateY(-30px); opacity: 1; }
}
/* === ULTRA PROFESYONEL LOGO TARZI === */
.logo-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 25px rgba(0,255,255,0.2),
    inset 0 0 12px rgba(0,255,255,0.1);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.logo-frame:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 40px rgba(0,255,255,0.4),
    inset 0 0 20px rgba(0,255,255,0.2);
}
.logo-glass {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(0,255,255,0.08), rgba(0,0,0,0.2));
  backdrop-filter: blur(14px);
  pointer-events: none;
}
.footer-logo {
  width: 130px;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 0 25px rgba(0,255,255,0.5));
  z-index: 2;
  transition: transform 0.4s ease;
}
.logo-frame:hover .footer-logo {
  transform: scale(1.07);
}
.neon-ring {
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, #00eaff, #0078ff, #00eaff);
  filter: blur(12px);
  opacity: 0.4;
  animation: spin 5s linear infinite;
  z-index: 1;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.brand {
  margin-top: 1.3rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 0 18px rgba(0,255,255,0.5);
}
.site-footer {
  background: transparent;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-family: "Poppins", sans-serif;
  padding: 4rem 1rem;
}
.site-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: #00eaff;
}
/* Sayfalama kapsayıcı */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
}

/* Sayfa numaraları */
.pagination button {
  background: transparent;
  border: 1px solid #666;
  color: #fff;
  font-size: 16px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pagination button:hover {
  background: #ffffff10;
  border-color: #00ffcc;
  color: #00ffcc;
}

.pagination button.active {
  background: #00ffcc;
  color: #000;
  font-weight: 600;
  border-color: #00ffcc;
}
