/* Genel Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Ana gövde */
  body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
  }
  
  /* Container */
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  /* Navbar */
  .site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }
  
  .navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
    text-decoration: none;
  }
  
  .navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem; /* önce 1.2rem idi, artık daha rahat */
  }
  
  .navbar .nav-links a {
    text-decoration: none;
    color: #444;
    transition: color 0.2s ease;
  }
  
  .navbar .nav-links a:hover {
    color: #0077cc;
  }
  
  #lang-switcher {
    padding: 0.4rem;
    font-size: 1rem;
  }

  /* Logo */

  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* Hero */
  .hero {
    text-align: center;
    margin-top: 3rem;
  }
  
  .profile-img {
    max-width: 220px;
    width: 100%;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #222;
  }
  
  .hero p {
    font-size: 1.1rem;
    color: #555;
  }
  
  /* Footer */
  .site-footer {
    background-color: #ffffff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid #ddd;
  }
  
  .site-footer p {
    margin-bottom: 0.5rem;
    color: #777;
  }
  
  .site-footer .social-links a {
    margin: 0 0.5rem;
    font-size: 1.5rem;
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
  }
  
  .site-footer .social-links a:hover {
    color: #0077cc;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-links {
      flex-direction: column;
      width: 100%;
      gap: 0.6rem;
    }
  
    .hero h1 {
      font-size: 1.7rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
  }
  

  /* History */

  .timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .timeline-entry {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .timeline-entry:hover {
    transform: translateY(-3px);
  }
  
  .timeline-entry img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .timeline-entry p {
    padding: 1.2rem;
    font-size: 1rem;
    color: #444;
  }
  
  /* Responsive düzen */
  @media (min-width: 768px) {
    .timeline-entry {
      display: flex;
      flex-direction: row;
      align-items: center;
    }
  
    .timeline-entry img {
      width: 300px;
      flex-shrink: 0;
    }
  
    .timeline-entry p {
      flex-grow: 1;
      font-size: 1.05rem;
      padding: 1.5rem;
    }
  }
  

  /* Education */
  .education-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
  }
  
  .school-block {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  .school-block h2 {
    margin-bottom: 0.5rem;
    color: #222;
  }
  
  .school-block p {
    color: #555;
    margin-bottom: 1rem;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  
  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
  }

  /* Project Design */

  .project-section {
    margin-top: 2rem;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .project-card img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .project-info {
    padding: 1rem;
  }
  
  .project-info h3 {
    margin-bottom: 0.5rem;
    color: #222;
  }
  
  .project-info p {
    color: #555;
    font-size: 0.95rem;
  }


  /* Software Development */

  .intro-text {
    margin-top: 2rem;
    padding: 1rem 0;
  }
  
  .intro-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #444;
  }
  
  .certificates {
    margin-top: 3rem;
  }
  
  .certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
  }
  
  .certificate-card {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
    text-align: center;
  }
  
  .certificate-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    object-fit: contain;
    max-height: 180px; /* sınır koyuyoruz */
  }
  
  .certificate-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }
  
  .certificate-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .certificate-card a {
    font-size: 0.85rem;
    color: #0077cc;
    text-decoration: none;
  }
  
  
  