@media (max-width: 480px) {
  /* Genel Container */
  #container {
    padding-top: 0;
  }

  /* HEADER */
  #header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 10px;
    text-align: center;
  }

  #yazı {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  #menü {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  #menü a {
    font-size: 1.1em;
    padding: 5px 10px;
  }

  #menü-right {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  #menü-right button {
    font-size: 0.95em;
    padding: 6px 12px;
  }

/* HAKKIMDA Mobil */
#hakkimda {
  flex-direction: column;
  align-items: center;
  margin-top: 400px; /* ✅ Menüden daha da aşağı başlasın */
  padding: 20px;
  gap: 20px;
  text-align: center;
  height: auto;
}

#hakkimda-sol {
  display: flex;
  justify-content: center; /* Yatay ortala */
  align-items: center;     /* Dikey ortala */
  width: 80% !important;
  margin: 0 auto;
  padding: 10px;
}

.profil-resim {
  width: 100%;
  height: auto;
  margin-top: 35px;
}

#hakkimda-sag {
  width: 100% !important;
  padding: 0 20px;
  margin-top: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hakkimda-sag h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
  padding: 0;
  text-align: center;
  width: 100%;
}

#hakkimda-sag p {
  font-size: 1em;
  line-height: 1.7;
  text-align: justify; /* veya 'center' istersen ortala */
  padding: 0 10px;
  margin: 0;
  max-width: 90%;
}



  /* YETENEKLER */
  .bos-alan {
    margin-top: 60px;
    height: auto;
    padding-bottom: 40px;
  }

  .modern-yetenek-kapsayici {
    width: 90%;
    margin: 0 auto;
  }

  .modern-yetenek {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  /* PROJELER */
  #projeler {
    padding: 50px 15px;
    margin-top: 80px;
  }
.timeline-item {
  flex-direction: column;
  height: auto;
  margin-bottom: 80px;
  gap: 20px; /* ✅ Text ile image arasında boşluk */
}

.timeline-item .text {
  margin-bottom: 15px; /* ✅ Yazı kutusunun altına boşluk */
}

.timeline-item .image {
  margin-top: 10px; /* ✅ Görselin üstüne boşluk */
}
.timeline-item .image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
  /* İLETİŞİM */
  #iletisim {
    padding: 40px 10px;
    height: auto;
  }

  #iletisim h2 {
    font-size: 1.4em;
    margin-bottom: 20px;
  }

  .iletisim-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .iletisim-info {
    width: 100%;
    padding: 20px;
  }

  .iletisim-form {
    width: 100%;
    padding: 20px;
  }

  .contact-item {
    justify-content: center;
    margin-left: 0;
  }

  #qr-code {
    display: flex;
    justify-content: center;
  }

#qr-code img {
  width: 150px;   /* ✅ Küçültüldü */
  height: 150px;
  margin: 0 auto;
  margin-left: 20px;
}

  .iletisim-form form {
    align-items: center;
  }
.iletisim-form input,
.iletisim-form textarea {
  width: 100%; /* ✅ Tüm genişliği kaplasın */
  box-sizing: border-box;
  font-size: 1em;
}

  /* SOSYAL MEDYA */
  .social-media {
    flex-direction: column;
    gap: 15px;
    padding: 30px 0;
  }

/* CV PANEL (Mobil) */
#cv-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: whitesmoke;
  color: black;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transition: right 0.5s ease;
  z-index: 9999; /* ✅ Menünün üstüne çıksın */
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

/* Açıldığında ekranı kaplasın */
#cv-panel.open {
  right: 0;
}

}
@media (max-width: 480px) {
  body.dark-mode #container {
    padding-top: 0;
  }

  /* HEADER */
  body.dark-mode #header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 10px;
    text-align: center;
    background-color: #1a1a1a;
  }

  body.dark-mode #yazı {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: white;
  }

  body.dark-mode #menü a {
    font-size: 1.1em;
    padding: 5px 10px;
    color: white;
  }

  body.dark-mode #menü-right button {
    font-size: 0.95em;
    padding: 6px 12px;
    background-color: white;
    color: black;
  }

  /* HAKKIMDA */
  body.dark-mode #hakkimda {
    flex-direction: column;
    align-items: center;
    margin-top: 400px;
    padding: 20px;
    gap: 20px;
    text-align: center;
    height: auto;
    background-color: #1a1a1a;
  }

  body.dark-mode #hakkimda-sol {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80% !important;
    margin: 0 auto;
    padding: 10px;
  }

  body.dark-mode .profil-resim {
    width: 100%;
    height: auto;
    margin-top: 35px;
  }

  body.dark-mode #hakkimda-sag {
    width: 100% !important;
    padding: 0 20px;
    margin-top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.dark-mode #hakkimda-sag h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: white;
  }

  body.dark-mode #hakkimda-sag p {
    font-size: 1em;
    line-height: 1.7;
    text-align: justify;
    padding: 0 10px;
    margin: 0;
    max-width: 90%;
    color: white;
  }

  /* YETENEKLER */
  body.dark-mode .bos-alan {
    margin-top: 60px;
    height: auto;
    padding-bottom: 40px;
    background-color: #1a1a1a;
  }

  body.dark-mode .modern-yetenek-kapsayici {
    width: 90%;
    margin: 0 auto;
  }

  body.dark-mode .modern-yetenek {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    background-color: #222;
  }

  body.dark-mode .modern-yetenek i,
  body.dark-mode .modern-yetenek span {
    color: white;
  }

  body.dark-mode .modern-bar {
    background-color: #333;
  }

  body.dark-mode .modern-fill {
    background-color: white;
  }

  /* PROJELER */
  body.dark-mode #projeler {
    padding: 50px 15px;
    margin-top: 80px;
    background-color: #1a1a1a;
  }

  body.dark-mode .timeline-item {
    flex-direction: column;
    height: auto;
    margin-bottom: 80px;
    gap: 20px;
  }

  body.dark-mode .timeline-item .text {
    margin-bottom: 15px;
    background-color: #111;
    color: white;
    padding: 20px;
    border-radius: 10px;
  }

  body.dark-mode .timeline-item .image {
    margin-top: 10px;
  }

  body.dark-mode .timeline-item .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* İLETİŞİM */
  body.dark-mode #iletisim {
    padding: 40px 10px;
    height: auto;
    background-color: #1a1a1a;
    color: white;
  }

  body.dark-mode #iletisim h2 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: white;
  }

  body.dark-mode .iletisim-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  body.dark-mode .iletisim-info,
  body.dark-mode .iletisim-form {
    width: 100%;
    padding: 20px;
    background-color: #222;
    color: white;
  }

  body.dark-mode .contact-item {
    justify-content: center;
    margin-left: 0;
  }

  body.dark-mode .contact-item p,
  body.dark-mode .contact-item i {
    color: white;
  }

  body.dark-mode #qr-code {
    display: flex;
    justify-content: center;
  }

  body.dark-mode #qr-code img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-left: 20px;
  }

  body.dark-mode .iletisim-form form {
    align-items: center;
  }

  body.dark-mode .iletisim-form input,
  body.dark-mode .iletisim-form textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    background-color: #111;
    color: white;
    border: 1px solid #444;
  }

  body.dark-mode .iletisim-form button {
    background-color: white;
    color: black;
  }

  /* SOSYAL MEDYA */
  body.dark-mode .social-media {
    flex-direction: column;
    gap: 15px;
    padding: 30px 0;
  }

  body.dark-mode .social-media a {
    color: white;
  }

  body.dark-mode .social-media a:hover {
    color: gray;
  }

  /* CV PANEL (Mobil) */
  body.dark-mode #cv-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.5s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
  }

  body.dark-mode #cv-panel.open {
    right: 0;
  }

  body.dark-mode #cv-downloads a {
    background-color: white;
    color: black;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  /* Genel Container */
  #container {
    padding-top: 0;
  }

  /* HEADER */
  #header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 10px;
    text-align: center;
  }

  #yazı {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  #menü {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-direction: row;
  }

  #menü a {
    font-size: 1.2em;
    padding: 5px 10px;
  }

  #menü-right {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  #menü-right button {
    font-size: 1em;
    padding: 8px 16px;
  }

/* HAKKIMDA */
  #hakkimda {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 380px;
    padding: 30px 20px;
    gap: 20px;
    text-align: center;
    height: auto;
    background-color: whitesmoke;
  }

  #hakkimda-sol {
    width: 60%; /* ✅ Daha küçük görünüm */
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .profil-resim {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  #hakkimda-sag {
    width: 100%;
    max-width: 700px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #hakkimda-sag h2 {
    font-size: 1.6em;
    margin-top: 10px;
    margin-bottom: 10px;
    color: black;
  }

  #hakkimda-sag p {
    font-size: 1.1em;
    line-height: 1.6;
    color: black;
    text-align: justify;
    max-width: 95%;
    padding: 0 10px;
  }

  /* YETENEKLER */
  .bos-alan {
    margin-top: 60px;
    height: auto;
    padding-bottom: 40px;
  }

  .modern-yetenek-kapsayici {
    width: 90%;
    margin: 0 auto;
  }

  .modern-yetenek {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  /* PROJELER */
  #projeler {
    padding: 60px 30px;
    margin-top: 100px;
  }

  .timeline-item {
    flex-direction: column;
    height: auto;
    margin-bottom: 80px;
    gap: 20px;
  }

  .timeline-item .text {
    margin-bottom: 15px;
  }

  .timeline-item .image {
    margin-top: 10px;
  }

  .timeline-item .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* İLETİŞİM */
  #iletisim {
    padding: 40px 10px;
    height: auto;
  }

  #iletisim h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .iletisim-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .iletisim-info,
  .iletisim-form {
    width: 100%;
    padding: 20px;
  }

  .contact-item {
    justify-content: center;
    margin-left: 0;
  }

  #qr-code {
    display: flex;
    justify-content: center;
  }

  #qr-code img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-left: 20px;
  }

  .iletisim-form form {
    align-items: center;
  }

  .iletisim-form input,
  .iletisim-form textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
  }

  .iletisim-form button {
    font-size: 1em;
  }

  /* SOSYAL MEDYA */
  .social-media {
    flex-direction: column;
    gap: 15px;
    padding: 30px 0;
  }

  /* CV PANEL */
  #cv-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: whitesmoke;
    color: black;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.5s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
  }

  #cv-panel.open {
    right: 0;
  }
}
