* {
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Amiri';
  background-color: #040024;
  color: #f0f0f0;
}

/* Üst Bilgi */
.ust-bilgi {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #030013;
  align-items: center;
}

.firma-adi {
    text-decoration: none;
  color: #dbcca9; /* veya .firma-adi'dekiyle aynı renk */
  font-weight: bold;
  font-size: 2rem;
}
.firma-adi a {
    text-decoration: none;
  color: #dbcca9; /* veya .firma-adi'dekiyle aynı renk */
  font-weight: bold;
  font-size: 2rem;
}

.menu a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #dbcca9;
  font-weight: bold;
}

/* Ana Ekran */
.ana-ekran {
  position: relative;
  background: url('images/Newwbackground.jpg') no-repeat center center/cover;
  height: 91vh;
  overflow: hidden; /* ↩️ bu çok önemli */
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.overlay h2 {
  position: absolute;
  top: 10%;
  left: 5%;
  text-align: left;
}
.ozel-baslik {
  font-size: 2.5rem;
  line-height: 1.4;
  text-align: left;     /* ↩️ satırları sola hizala */
  max-width: 600px;
  font-weight: normal;
}

.ozel-baslik .s1 {
  margin-left: 0;
  color: #dbcca9;
  display: block;
  overflow: hidden;
}

.kayan-yazi-buyuk {
  overflow: hidden;
  white-space: nowrap;
  background: #111;
  color: #dbcca9;
  font-size: 150px;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  user-select: none;
  box-sizing: border-box;
  padding: 10px 0;
}

.kayan-icerik {
  position: absolute;        /* animasyon için */
  top: 93%;
  left: 0;
  white-space: nowrap;
  transform: translateY(-50%);
  will-change: transform;
  display: inline-block;
}


@keyframes kaydir {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}




/* Hakkımda */
.hakkimda {
  background: url('images/hakkimda.jpg') no-repeat center center/cover;
  height: 105vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hakkimda .baslik {
 color: #dbcca9;
  font-size: 3rem;
  display: block;
  overflow: hidden;
  text-align: center;
}
.hakkimda .metin {
  max-width: 600px;
  margin-left: 0;
  color: #dbcca9;
  font-size: 2rem;
  display: block;
  overflow: hidden;
  text-align: center;
}

.image-text {
  position: relative;
  display: inline-block;
}

.image-text img {
  width: 300px;
  height: auto;
  border-radius: 10px;
}

.image-text .metin {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0,0,0,0.7);
  padding: 1rem;
  color: white;
  border-radius: 5px;
  font-size: 0.9rem;
}

/* Projeler */
.projeler {
  background: url('images/proje1.jpg') no-repeat center center/cover;
  min-height: 105vh;
  display: flex;
  overflow-x: hidden;
  justify-content: center;
  align-items: center;
}

.proje-galeri {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 10px;
  flex-wrap: wrap; /* ← küçük ekranlar için satır kırılmasına izin verir */
  max-width: 100%;
  overflow: hidden; /* ← içeriğin taşmasını engeller */
}

.proje-galeri img {
  width: 400px;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.proje-galeri img:hover {
  transform: scale(1.05);
}

.proje-galeri .btn {
  background-color: #dbcca9;
  color: black;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}
.proje-galeri .btn:hover {
  transform: scale(1.1);
}

/* İletişim */
.iletisim {
  background: url('images/Iletisim.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
}

.iletisim p {
 color: #dbcca9;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.iletisim form {
  background-color: rgba(0,0,0,0.6);
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: 100%;
}

.iletisim input,
.iletisim textarea {
  margin: 0.5rem 0;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
}

.iletisim button {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: #dbcca9;
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Alt Bilgi */
.alt-bilgi {
  text-align: center;
  padding: 2.5rem;
  background-color: #030013;
}

.alt-bilgi a {
  color: #dbcca9;
  font-weight: bold;
  margin: 0 0.5rem;
  text-decoration: none;
}

.isim {
  font-weight: bold;
  font-size: 1.1rem;
  color: #00adb5; /* Örnek vurgu rengi */
}
.takma-ad {
  font-style: italic;
  color: #dbcca9;
}

.ozel-imlec {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, #dbcca9 5%, #dbcca9 5%, transparent 40%);
  mix-blend-mode: screen;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

/* PROFİL SAYFASI */
.profil-hakkimda {
  background: url('images/hakkimda.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.profil-sol {
  flex: 1;
  min-width: 250px;
}

.profil-sag {
  flex: 1;
  min-width: 300px;
}

.profil-ad {
  font-size: 2.5rem;
  color: #dbcca9;
  margin-bottom: 1rem;
}

.profil-unvan {
  font-size: 1.5rem;
  color: #00adb5;
}

.profil-metin {
  font-size: 1.5rem;
  color: #dbcca9;
  line-height: 1.6;
}


/* --- Portfolyo Sayfası için --- */

/* Portfolyo ana içerik alanı */
.portfolyo-icerik {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.projeler .baslik {
  max-width: 500px;
  margin-left: 0;
  color: #dbcca9;
  font-size: 1.5rem;
  display: block;
  overflow: hidden;
  text-align: center;
}

/* 3'lü grid düzen */
.projeler-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Proje kapak kutusu */
.proje-kapak {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.proje-kapak img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.proje-kapak:hover img {
  transform: scale(1.05);
}

/* Kapak üstü yarı saydam isim yazısı */
.proje-adi {
  position: absolute;
  top: 0;  /* üstte görünmesi için */
  left: 0;
  width: 100%;
  height: 100%;  /* tamamını kaplasın */
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5); /* yarı saydam siyah */
  color: #dbcca9;
  font-size: 1.8rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 1rem;
  pointer-events: none; /* sadece kapak linki tıklansın */
}

.proje-kapak:hover .proje-adi {
  opacity: 1;
}

/* Sayfa arka plan sabit */
body.portfolyo-body {
  background: url('images/proje1.jpg');
}

/* Responsive: küçük ekranlar için */
@media (max-width: 900px) {
  .projeler-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projeler-grid {
    grid-template-columns: 1fr;
  }
}


/* === PROJE TANITIMI === */
.proje-tanitim {
  background: url('images/proje1.jpg') no-repeat center center/cover;
  padding: 6rem 2rem;
  text-align: center;
  color: #dbcca9;
}

.proje-tanitim h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.proje-tanitim p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === GALERİ === */
.galeri-alani {
  padding: 4rem 2rem;
  background: url('images/proje1.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}

/* Tek görsel */
.tek-gorsel img {
  width: 80%;
  max-width: 350px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.tek-gorsel img:hover {
  transform: scale(1.03);
}

/* 3'lü görsel sıraları */
.galeri-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.galeri-grid img {
  width: 250px;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.galeri-grid img:hover {
  transform: scale(1.05);
}
/* === MODAL GÖRSEL === */
.modal-gorsel {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-gorsel img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.btn-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #444;
  color: #dbcca9;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
  font-weight: bold;
}

.btn-link:hover {
  background-color: #352d2d;
  transform: scale(1.05);
}


/* === MOBİL UYUMLULUK === */
@media (max-width: 900px) {
  .ust-bilgi {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .ozel-baslik {
    font-size: 1.8rem;
    text-align: center;
    max-width: 90%;
  }

  .kayan-yazi-buyuk {
    font-size: 2.5rem;
    white-space: normal;
    padding: 1rem 0;
    text-align: center;
  }

  .hakkimda {
    height: auto;
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .hakkimda .baslik,
  .hakkimda .metin {
    font-size: 1.5rem;
    padding: 1rem 0;
  }

  .projeler {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .proje-galeri {
    flex-direction: column;
    align-items: center;
  }

  .proje-galeri img {
    width: 100%;
    max-width: 300px;
  }

  .proje-galeri .btn {
    width: 100%;
    text-align: center;
  }

  .iletisim {
    padding: 2rem 1rem;
  }

  .iletisim form {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .profil-hakkimda {
    flex-direction: column;
    text-align: center;
  }

  .profil-sol,
  .profil-sag {
    width: 100%;
    min-width: auto;
  }

  .profil-ad {
    font-size: 2rem;
  }

  .profil-unvan {
    font-size: 1.2rem;
  }

  .profil-metin {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .portfolyo-icerik {
    padding: 2rem 1rem;
  }

  .proje-tanitim h1 {
    font-size: 2rem;
  }

  .proje-tanitim p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .tek-gorsel img {
    width: 100%;
    max-width: 250px;
  }


  .ozel-imlec {
    display: none; /* mobilde mouse imleci gerekmez */
  }
}

@media (max-width: 600px) {
  .projeler-grid {
    grid-template-columns: 1fr;
  }
}
