/* Sayfanın varsayılan boşluklarını sıfırla */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #111;
  color: #fff;
  height: 100vh;
  overflow-x: hidden;
}

/* -----------------------------------
 Landing Page - Açılış Bölümü
----------------------------------- */

/* AÇIKLAMA: Eski '.landing-bg', '.landing-bg.zoom-out' 
   sınıfları buradan temizlendi.
*/

/* Header - Logo ve Menü alanı */
.landing-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

/* Menü linkleri (nav-links kullanılmıyor olabilir, yedek dursun) */
.landing-header .nav-links {
  display: flex;
  gap: 24px;
}

.landing-header .nav-links a {
  color: #ccc;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-header .nav-links a:hover {
  color: #fff;
}

/* İçerik alanı (Design Engineer - Fateh yazısı) */
.landing-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

/* Başlık yazısı (eğer özel class kullanıyorsan) */
.landing-title {
  font-size: 96px;
  font-weight: 700;
  margin-bottom: 32px;
}

.landing-subtitle {
  font-size: 36px;
  font-weight: 300;
  color: #ccc;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* Sosyal medya ikonları */
.landing-socials {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-socials img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.landing-socials img:hover {
  opacity: 0.6;
}

/* Aşağı yön ok animasyonu */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: #ccc;
  z-index: 2;
  animation: bounce 2s infinite;
  user-select: none;
  cursor: default;
}

/* Yukarı-aşağı zıplama efekti (scroll-down için) */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* -----------------------------------
 Giriş Animasyonu Sınıfları (Landing Page)
----------------------------------- */

/* Ortak başlangıç: tüm animasyonlu elemanlar önce görünmez ve hareketsiz olur */
.animate-in {
  opacity: 0;
  transition: all 2s ease;
}

/* Yukarıdan aşağıya (logo, menü) */
.from-top {
  transform: translateY(-40px);
}
.from-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Soldan sağa (sosyal medya ikonları) */
.from-left {
  transform: translateX(-40px);
}
.from-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Aşağıdan yukarıya (Design Engineer, isim yazısı) */
.from-bottom {
  transform: translateY(40px);
}
.from-bottom.visible {
  opacity: 1;
  transform: translateY(0);
}

/* YENİ EKLENDİ: Sağdan sola (Profil fotoğrafı için) */
.from-right {
  transform: translateX(40px);
}
.from-right.visible {
  opacity: 1;
  transform: translateX(0);
}


/* -----------------------------------
 Hero Section
----------------------------------- */

/* Hero bölümünün dış çerçevesi */
.hero-section {
  width: 100%;
  padding: 100px 40px 80px 40px;
  background-color: #111;
  display: flex;
  justify-content: center;
}

/* İçerik konteyneri */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  gap: 80px;
  flex-wrap: wrap; /* Mobilde alt alta düşebilir */
}

/* Yazı kısmı (sol taraf) */
.hero-text {
  flex: 0.9;
  max-width: 500px;

  /* Başlangıçta görünmez ve aşağıda konumlu */
  opacity: 0;
  transform: translateY(40px);
  transition: all 2s ease;
}

/* Yazı görünür olunca yukarı çıkıp opak hale gelir */
.hero-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-text h1 {
  font-size: 60px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: bold;
}

.divider {
  width: 60px;
  height: 2px;
  background-color: #fff;
  margin-bottom: 30px;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 30px;
}

.hero-text strong {
  color: #fff;
}

/* Sosyal medya ikonları */
.hero-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.hero-socials img:hover {
  opacity: 0.7;
}

/* Avatar görüntü kutusu */
.hero-image {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Avatar görüntüsünün kendisi */
.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  filter: grayscale(10%);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);

  /* Başlangıçta görünmez ve sağa itilmiş */
  opacity: 0;
  transform: translateX(40px);
  transition: all 2s ease;
}

/* Avatar görünür olunca sola kayıp tam opak olur */
.hero-image img.visible {
  opacity: 1;
  transform: translateX(0);
}

/* -----------------------------------
   What I Do Section - Hizmetler
----------------------------------- */

/* Kartlara özel keyframes animasyonu – Ekrandan izleyiciye doğru yaklaşır gibi */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bölüm genel stil tanımları */
.what-i-do-section {
  padding: 100px 40px;
  background-color: #111;
  text-align: center;
}

/* Başlık stilleri */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

/* Alt başlık (gradient efektli) */
.section-subtitle {
  font-size: 14px;
  background: linear-gradient(to right, #00bfff, #72f2eb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 30px;
}

/* Açıklama paragrafı */
.section-intro {
  max-width: 800px;
  margin: 0 auto 60px auto;
  font-size: 20px;
  line-height: 1.7;
  color: #ccc;
  text-align: center;
}

/* Grid sistemi – Kartlar için */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hizmet kartları (service-card) */
.service-card {
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 30px 24px;
  text-align: left;
  color: #ddd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;

  /* Başlangıç durumu – görünmez ve küçük */
  opacity: 0;
  transform: scale(0.8);
}

/* Görünür olduğunda tetiklenen animasyon – 1.68s boyunca ekranın içinden gelme efekti */
.service-card.visible {
  animation: cardFadeIn 1.68s ease forwards;
}


/* Kart içindeki ikon */
.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
}

/* Başlık (kart içindeki) */
.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

/* Paragraf metni */
.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
}

/* Görsel içeren özel kartlar için */
.image-card {
  align-items: center;
  justify-content: center;
}

/* Kart içerisindeki görsel stil ayarı */
.ai-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 240px;
}


/* -----------------------------------
 My Researches
 ----------------------------------- */
 .opacity-0 {
  opacity: 0;
}

.translate-x-24 {
  transform: translateX(6rem); /* 24px'e karşılık gelir */
}
/* Scrollbar gizleme (tüm tarayıcılar için uyumlu hale getirilmiş) */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* -----------------------------------
 My Works Section – Projeler
 ----------------------------------- */
.my-works-section {
padding: 100px 80px;
background-color: #111;
color: #fff;
text-align: center;
}
.my-works-section .section-title {
font-size: 32px;
font-weight: bold;
margin-bottom: 8px;
}
.my-works-section .section-subtitle {
font-size: 14px;
color: #aaa;
margin-bottom: 60px;
}
.projects-container {
display: flex;
flex-direction: column;
gap: 60px;
max-width: 1280px;
margin: 0 auto;
}
.project-card {
flex-direction: row-reverse; /* Görsel sağda, metin solda olur */
display: flex;

justify-content: space-between;
align-items: center;
border-radius: 20px;
padding: 24px 28px;
gap: 24px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: left;
box-shadow: 0 0 0 transparent;
max-width: 980px;
margin: 0 auto;
font-size: 90%;
}
.project-card:hover {
transform: translateY(-4px);
box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.3);
}
.project-text {
flex: 1;
min-width: 0;
}
.project-text h3 {
font-size: 20px;
font-weight: 600;
margin-bottom: 8px;
color: #fff;
}
.project-meta {
font-size: 13px;
color: #999;
margin-bottom: 12px;
}
.project-text p {
font-size: 16px;
color: #ccc;
line-height: 1.6;
margin-bottom: 16px;
}
.tech-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 20px;
}
.tech-tags span {
background-color: #2a2a2a;
color: #ccc;
font-size: 12px;
padding: 5px 12px;
border-radius: 20px;
}
.project-image img {
width: 100%;
max-width: 340px;
height: auto;
max-height: 280px;
object-fit: cover;
border-radius: 14px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.project-button {
display: inline-block;
padding: 10px 18px;
font-size: 13px;
background-color: #fff;
color: #111;
border-radius: 6px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.2s ease;
}
.project-button:hover {
background-color: #ddd;
}
.all-projects {
margin-top: 60px;
}
.see-all-button {
background-color: #222;
color: #ccc;
font-size: 13px;
padding: 12px 20px;
border-radius: 8px;
text-decoration: none;
border: 1px solid #333;
transition: all 0.2s ease;
}
.see-all-button:hover {
background-color: #333;
color: #fff;
}
@media (max-width: 1024px) {
.project-card {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.project-image {
  width: 100%;
  margin-top: 20px;
}
.project-image img {
  width: 100%;
  max-width: 100%;
}
.projects-container {
  padding: 0 20px;
}
}

/* -----------------------------------
 Project Card Animasyonları
 ----------------------------------- */
.project-animate {
opacity: 0;
transform: translateY(60px);
transition: opacity 1.6s ease, transform 1.6s ease;
}
.project-animate.visible {
opacity: 1;
transform: translateY(0);
}


/* -----------------------------------
 Footer Bölümü
----------------------------------- */
.site-footer {
  padding: 100px 20px 60px;
  background-color: #111;
  text-align: center;
  color: #ccc;
}

/* Açıklama metni */
.footer-text {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
  color: #aaa;
}

/* E-posta adresi */
.footer-email {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: 32px;
  transition: opacity 0.2s ease;
}
.footer-email:hover {
  opacity: 0.7;
}

/* Sosyal medya ikonları */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}
.footer-socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}
.footer-socials img:hover {
  opacity: 0.6;
}

/* Footer logosu – aşağıdan yukarı görünür */
.footer-logo {
  opacity: 0;
  transform: translateY(40px);
  transition: all 2s ease;
}
.footer-logo.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Logo görseli */
.footer-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 30px auto 12px;
  filter: brightness(0) invert(1);
}

/* Telif hakkı yazısı */
.footer-copy {
  font-size: 12px;
  color: #666;
}


/* -----------------------------------
 Resume Section - Kart Animasyonları
 ----------------------------------- */
.resume-item {
opacity: 0;
transition: opacity 2s ease, transform 2s ease;
}
.resume-item.from-left {
transform: translateX(-40px);
}
.resume-item.from-right {
transform: translateX(40px);
}
.resume-item.visible {
opacity: 1;
transform: translateX(0);
}