/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

body {
  background: linear-gradient(135deg, #000428, #004e92);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00f0ff;
}

.profile-name {
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
}

.menu a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #00f0ff;
  transition: 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu a:hover {
  color: #00f0ff;
}

/* Sayfa */
.page {
  display: none;
  padding: 120px 40px 40px;
  min-height: 100vh;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Ana Sayfa */
.welcome-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  text-align: center;
  animation: fadeIn 1.2s ease;
}

.welcome-text h1 {
  font-size: 40px;
  font-weight: 600;
  color: #ffffff;
}

/* Sosyal Medya */
.socials {
  position: fixed;
  bottom: 40px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.socials img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.socials img:hover {
  transform: scale(1.1);
}
.socials img {
  filter: none; /* filter-i deaktiv et */
}


/* Kart Yapısı */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

.card img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  border: 2px solid #00f0ff;
}

.card .info {
  flex: 1;
}

.card .info h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #00f0ff;
}

.card .info p {
  font-size: 16px;
  line-height: 1.6;
}

.center-text {
  text-align: center;
  justify-content: center;
  flex-direction: column;
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 1s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    text-align: center;
  }

  .card img {
    width: 100%;
    max-width: 300px;
  }

  .welcome-text h1 {
    font-size: 28px;
  }

  .menu a {
    margin-left: 10px;
    font-size: 14px;
  }
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid #00f0ff33;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.project-card h3 {
  font-size: 20px;
  color: #00f0ff;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 15px;
  color: #e0e0e0;
}
.project-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}
