/* Sıfırlama */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Genel sayfa ayarları */
html, body {
  width: 100%;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: #0e0e0e;
  color: #fff;
  overflow: hidden; /* Şekillerin dışarı taşması durumunda yatay scrollbar görünmesin */
  position: relative;
}

header {
  /* Use flexbox to space elements */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: relative;
  width: 100%;
  height: 60px; /* Example header height */
  background-color: transparent; /* or any color you prefer */
  z-index: 10;
}

/* Right container: language + hamburger */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px; /* spacing between language toggle and hamburger */
}


.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.logo-link {
  text-decoration: none; /* alt çizgi olmasın */
  color: inherit;        /* yazı rengi div'den alınsın */
  display: inline-block; /* div gibi davranmaya devam etsin */
}

.language-toggle {
  display: flex;
  gap: 15px;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 5px 10px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.lang-btn:hover {
  background: #fff;
  color: #0e0e0e;
  transform: scale(1.05);
}

.lang-btn:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.3);
}


/* Fareye duyarlı şekillerin kapsayıcısı */
.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Şekillerin temel stilleri (blob hissi için) */
.shape {
  position: relative;
  /* width, height ve border-radius üstteki gibi shape1, shape2, shape3’te özelleşecek */
  background: radial-gradient(
    circle at 30% 30%,
    #2a2a2a 0%,
    #0f0f0f 60%,
    #000000 100%
  );
  opacity: 0.85;
  z-index: 1;
  transition: transform 0.2s ease-out;
}

.shape1 {
  width: 450px;
  height: 350px;
  /* Her köşeye farklı radius vererek organik bir form yaratıyoruz */
  border-radius: 50% 40% 60% 50% / 40% 50% 50% 60%;
  top: 10%;
  left: 5%;
  position: absolute;
  animation: shapeEnter 1s ease-out forwards;
  animation-delay: 0.3s; /* Biraz gecikmeyle başlasın */

}

.shape2 {
  width: 300px;
  height: 400px;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  top: 40%;
  left: 60%;
  animation: shapeEnter 1s ease-out forwards;
  animation-delay: 0.6s; /* Biraz gecikmeyle başlasın */
  position: absolute;


}

.shape3 {
  width: 400px;
  height: 400px;
  border-radius: 60% 40% 40% 60% / 50% 60% 40% 50%;
  top: 70%;
  left: 25%;
  animation: shapeEnter 1s ease-out forwards;
  animation-delay: 0.9s; /* Biraz gecikmeyle başlasın */
  position: absolute;


}

.shape::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.07),
    rgba(0, 0, 0, 0) 70%
  );
}

/* Geçiş animasyonu için blob'ların dönüşüm ayarı */
.shape.transition-active {
  transform: scale(10); /* Bu değeri, blob'ların tüm ekranı kaplaması için ayarlayın */
  transition: transform 1s ease-in-out;
}


/* Giriş animasyonu tanımı */
@keyframes shapeEnter {
  0% {
    /* transform: translateY(50px) scale(0.5); */
    opacity: 0;
  }
  100% {
    /* transform: translateY(0) scale(1); */
    opacity: 1;
  }
}


/* Hero içeriği */
.hero-content {
  position: relative;
  z-index: 2; /* Şekillerin üstünde dursun */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Butonlar */
.buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  text-decoration: none;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s, color 0.3s;
  font-size: 1rem;
}

.btn:hover {
  background-color: #fff;
  color: #0e0e0e;
}

/* Projeler İçeriği */
.projects-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100vh;
  margin-top: 60px; /* Header’ın kapladığı alan kadar boşluk */
}

/* Soldaki panel */
.projects-left-panel {
  width: 60%;
  height: 100vh;
  /* background-color: #1e1e1e; */
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 160px;        /* Adjust this value as needed */
  }

.project-preview {
  position: relative;
  width: 70%;              /* Daha küçük yap */
  aspect-ratio: 16 / 9;    /* Örnek: 16:9 en-boy oranı */
  /* height: 70%;             Daha küçük yap */
  border-radius: 20px;     /* Kenarları yumuşat */
  overflow: hidden;
  background-color: #2c2c2c;
  background-size: contain;  /* Resmi kaplayacak şekilde ayarla */
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); /* Yumuşak bir gölge */
  transition:
  opacity 0.7s ease;    /* opacity animasyonu */
  opacity: 1;                 /* Başlangıçta görünür olsun */
  margin: auto;
}

.project-preview::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.5)); */
  /* Degrade veya sabit bir yarı saydam renk */
  pointer-events: none;
}

@keyframes smoothScaleUp {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.02);
  }
}

.project-preview:hover {
  animation: smoothScaleUp 0.3s ease-in-out forwards; /* Hover olduğunda büyütme animasyonu */
}
/* Sağ paneli daha “estetik” yapmak için ayarlar */
.projects-right-panel {
  width: 40%;
  /* Arka planı istersen transparan bırak veya koyu bir renk ver */
  /* background-color: #151515; */
  padding: 60px 40px;      /* İç boşlukları arttırarak ferah görünüm */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* align-items: flex-start;  metinleri sola yaslamak istersen */
  color: #ccc;             /* Yazı rengi (isteğe göre) */
}

/* Başlık ve proje sayısı */
.projects-header {
  display: flex;
  justify-content: space-between;  /* “PROJETS” solda, “9” sağda */
  align-items: baseline;
  margin-bottom: 20px;             /* Listeyle araya boşluk */
}

.projects-title {
  font-size: 2.2rem;        /* Başlık boyutu */
  font-weight: 600;         /* Kalınlık */
  letter-spacing: 0.05em;   /* Harfler arası boşluk */
  text-transform: uppercase; /* Büyük harf */
}

.projects-count {
  font-size: 1.2rem;
  color: #888;              /* Sayıyı hafif soluk yap */
}

/* Liste (çizgili stil) */
.projects-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #444; /* Üstte ince bir çizgi */
}

.project-row {
  /* No more display: flex here */
  border-bottom: 1px solid #444;
  padding: 10px 0;
  transition: color 0.3s;
}

/* Make the entire link a flex container */
.project-row a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

/* Son satırda alt çizgiyi kaldırmak istersen */
.project-row:last-child {
  border-bottom: none;
}

.project-name {
  font-size: 1rem;
  /* text-transform: lowercase; // İstersen hepsini küçük yap */
  /* veya text-transform: capitalize; // kelimelerin baş harfi büyük */
}

.project-category {
  font-size: 1rem;
  color: #888;
}

.project-row:hover {
  color: #fff; /* Hover’da hem name hem category beyaza döner */
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Default state: Create a triangle arrow using borders */
.project-row .project-name::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #fff;  /* Arrow color */
  transform: translateX(-10px) scale(0.8); /* Start off shifted and slightly scaled down */
  opacity: 0; /* Hidden initially */
  transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition for both movement and fade-in */
  margin-right: 8px;
}

/* Active state: Slide and scale the arrow into view with a drop shadow */
.project-row.active .project-name::before {
  transform: translateX(0) scale(1); /* Normal position and scale */
  opacity: 1; /* Fully visible */
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5)); /* Adds a subtle shadow for depth */
}

/* Hamburger button styling */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  /* If you want an icon size or margin, set it here */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* (Optional) style the SVG or icon inside the .menu-toggle */
.menu-toggle svg {
  fill: #fff;  /* or any color */
  width: 24px;
  height: 24px;
}

/* 2) The overlay container (hidden by default) */
.overlay-menu {
  position: fixed;       /* so it covers the viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0e0e0e; /* your dark background or a gradient */
  transform: translateY(-100%); /* start above the viewport */
  transition: transform 0.6s ease; /* smooth slide-in */
  z-index: 9998;          /* just below the menu button */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* When the overlay is “active”, it slides down into view */
.overlay-menu.active {
  transform: translateY(0);
}

/* 3) Optional close (X) button inside the overlay */
.menu-close {
  position: absolute;
  top: 20px;
  right:50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000; /* on top of everything inside overlay */
}

/* 4) Style the navigation links inside the overlay */
.overlay-nav ul {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.overlay-nav li {
  font-size: 2rem;
  margin: 20px 0;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.overlay-nav li:hover {
  color: #888; /* or any hover color you like */
}

.overlay-nav a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}


/* 5) Style social links or additional info */
.overlay-social {
  margin-top: 40px;
}

.overlay-social a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.overlay-social a:hover {
  color: #888;
}



