/* Genel Ayarlar */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0f0f0f;
  color: #ccc;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ccc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #999;
}

/* Hero alanı: yatay yerleşim */
.hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 40px;
  flex-wrap: wrap; /* Mobil uyumlu */
  max-width: 1400px;
  margin: 0 auto;
}

/* Görsel alanı */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profile-img {
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #666;
  box-shadow: 0 0 20px #222;
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Buraya eklendi */
}

.profile-img:hover {
  transform: scale(1.20);
  transition: transform 0.3s ease;
  box-shadow: 0 0 30px #444; /* İsteğe bağlı daha parlak görünüm */
}

/* Yazı alanı */
.hero-text {
  flex: 1;
  max-width: 1000px;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.hero-text p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.6;
}


@media screen and (max-width: 768px) {
  .hero-row {
    flex-direction: column;
    text-align: center;
  }

  .profile-img {
    width: 280px;
    height: 280px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}


/* Hakkımda bölümü */
.about-section {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

/* About blokları: yatay dizilim */
.about-block {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 0 60px;
}

.about-block.reverse {
  flex-direction: row-reverse;
}

.about-image img {
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 20px #222;
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Buraya eklendi */
}

.about-image img:hover {
  transform: scale(1.20);
  box-shadow: 0 0 30px #444; /* İsteğe bağlı daha parlak görünüm */
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}





.projects-section {
  padding: 80px 40px;
  color: #ccc;
  background-color: #121212;
  text-align: center;
}

.projects-section h2 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 25px;
}

.projects-section p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #999;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}


.certificates-section {
  padding: 80px 40px;
  background-color: #121212;
  color: #ccc;
  text-align: center;
}

.certificates-section h2 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 20px;
}

.certificates-section p {
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 40px;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.certificate-card {
  background-color: #1c1c1c;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(150, 150, 150, 0.2);
}

.certificate-card {
  background-color: #1e1e1e;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  width: 300px;
  text-align: center;
}

.certificate-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.certificate-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.certificate-card p {
  font-size: 1rem;
  color: #aaa;
}


.certificate-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}


.contact-section {
  padding: 80px 40px;
  background-color: #121212;
  color: #ccc;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #aaa;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.1rem;
  align-items: center;
}

.social-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #aaa;
}

footer {
  background-color: #121212;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

@media (max-width: 768px) {
  footer {
    font-size: 0.8rem;
    padding: 15px 10px;
  }
}
