/* Genel ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  min-height: 100vh;
  color: #c9d1d9;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url("https://images.pexels.com/photos/592077/pexels-photo-592077.jpeg") no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* Blur arkaplan */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(13, 17, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
}

/* Navbar */
nav {
  width: 90%;
  max-width: 1100px;
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #94dd69;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 12px;
  transition: 0.3s;
}

nav ul li a:hover {
  background: rgba(121, 255, 88, 0.2);
  color: #fff;
}

nav .github a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  transition: 0.3s;
}

nav .github a:hover {
  color: #94dd69;
}

/* Hero */
.hero {
  margin-top: 140px;
  text-align: center;
}

.hero img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  margin-bottom: 20px;
}

/* Glass kart */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  max-width: 600px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  text-align: center;
  margin: 10px 0;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

h2 {
  margin: 20px 0 10px;
  color: #94dd69;
}

p {
  margin-bottom: 20px;
  color: #c9d1d9;
}

a {
  text-decoration: none;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  margin: 8px;
  background: rgba(121, 255, 88, 0.15);
  color: #94dd69;
  border-radius: 12px;
  font-weight: bold;
  border: 1px solid rgba(121, 255, 88, 0.3);
  transition: all 0.3s ease;
}

.button:hover {
  background: rgba(121, 255, 88, 0.3);
  color: #ffffff;
}

footer {
  margin: 20px 0;
  color: #8b949e;
  font-size: 0.9rem;
}

hr {
  border: none;
  height: 2px;
  width: 46%;
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(4px);
  border-radius: 12px;
}

/* Glass kart container (yan yana stacking) */
.glass-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

.stats-container,
.extras-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;
}

.stats-container .glass,
.extras-container .glass {
  padding: 20px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.15);
  box-shadow:0 8px 32px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.stats-container img,
.extras-container img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Contributions büyütme */
.stats-container .glass img[src*="ghchart.rshah.org"] {
  transform: scale(1.3);
  transform-origin: top center;
}

/* Mobil için responsive */
@media (max-width: 768px) {
  .hero img {
    width: 120px;
    height: 120px;
  }

  .glass-container,
  .stats-container,
  .extras-container {
    grid-template-columns: 1fr;
  }
}
.profile-achievements {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-img {
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  width: 160px;
  height: 160px;
}

.achievements-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px; /* Profil foto ile taşmayı önler */
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
}

.achievements {
  height: 80px;
  margin: 0 4px;
}
.achievements-container {
  display: flex;
  flex-wrap: nowrap;
  max-width: 600px;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Scrollbar teması */
.achievements-container::-webkit-scrollbar {
  height: 8px; /* yatay scrollbar yüksekliği */
}

.achievements-container::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
}

.achievements-container::-webkit-scrollbar-thumb {
  background: rgba(148,221,105,0.5); /* tema yeşili */
  border-radius: 16px;
}

.achievements-container::-webkit-scrollbar-thumb:hover {
  background: rgba(148,221,105,0.8);
}
.achievements-container {
  display: flex;
  flex-wrap: nowrap;
  max-width: 600px;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
}

/* WebKit (Chrome, Edge, Safari) */
.achievements-container::-webkit-scrollbar {
  height: 8px; 
}

.achievements-container::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
}

.achievements-container::-webkit-scrollbar-thumb {
  background: rgba(148,221,105,0.5); 
  border-radius: 16px;
}

.achievements-container::-webkit-scrollbar-thumb:hover {
  background: rgba(148,221,105,0.8);
}

/* Firefox */
.achievements-container {
  scrollbar-width: thin; /* ince scrollbar */
  scrollbar-color: rgba(148,221,105,0.5) rgba(255, 255, 255, 0); 
}

