
html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Poppins", "Rubik", "Segoe UI", sans-serif;
  background-color: #1e1e1e;
  color: white;
  scroll-behavior: smooth;
}

/* HERO */
.hero-section {
  position: relative;
  height: 100vh;
  background-color: #1e1e1e;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-btn {
  background: #8e44ad;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}

/* Üst Navigasyon Paneli */

.navbar {
  background-color: #1e1e1e; /* koyu gri */
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #8e44ad;
}

.hero-section {
  padding-top: 80px; /* Navbar kadar boşluk bırak */
}

/* Ekibimiz Arka Planı */
#team {
  background-color: #1e1e1e;
  color: #fff;
  padding: 80px 0;
  margin: 0;
}

/* İçerik Alanı */
.team-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

/* Başlık */
.team-section h2 {
  font-size: 2.5rem;
  color: #8e44ad;
  margin-bottom: 50px;
}

/* Grid Yapısı */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Kartlar */
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2a2a2a;
  border-radius: 10px;
  width: 280px;
  height: 420px;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Görseller */
.team-member img {
  width: 100%;
  height: 72%;
  object-fit: cover;
}

/* İsim */
.team-member h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 10px 0 4px;
}

/* Pozisyon */
.team-member p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 10px;
}
.team-member img {
  width: 100%;
  height: 72%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0));
}

#contact {
  background-color: #ffffff;
  padding: 100px 20px;
  color: #1e1e1e;
}

.contact-modern {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-modern h2 {
  font-size: 2.5rem;
  color: #8e44ad;
  margin-bottom: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: none;
  outline: none;
  resize: none; /* köşedeki kutuyu kapatır */
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #999;
  font-size: 1rem;
  transition: 0.2s ease;
  pointer-events: none;
  background-color: white;
  padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 14px;
  font-size: 0.8rem;
  color: #8e44ad;
}

button[type="submit"] {
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  background-color: #8e44ad;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #732d91;
}

.contact-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.4rem;
  color: #8e44ad;
  margin-bottom: 40px;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-section input,
.contact-section textarea {
  padding: 14px 18px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: none;
}

.contact-section button {
  padding: 14px;
  background-color: #8e44ad;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-section button:hover {
  background-color: #732d91;
}

.scroll-down {
  display: inline-block;
  margin-top: 40px;
  font-size: 2.5rem;
  color: #8e44ad;
  animation: bounce 2s infinite;
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-down:hover {
  color: #a76acb;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.steam-widget {
  margin-top: 20px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.site-footer {
  background-color: #1e1e1e;
  color: #ccc;
  padding: 40px 0;
  text-align: center;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.social-icons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a {
  color: #ccc;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #8e44ad;
}

#contact {
  background-color: #ffffff;
  padding: 100px 20px;
  color: #1e1e1e;
}

.contact-modern {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-modern h2 {
  font-size: 2.5rem;
  color: #8e44ad;
  margin-bottom: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: none;
  outline: none;
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #999;
  font-size: 1rem;
  transition: 0.2s ease;
  pointer-events: none;
  background-color: white;
  padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 14px;
  font-size: 0.8rem;
  color: #8e44ad;
}

button[type="submit"] {
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  background-color: #8e44ad;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #732d91;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

[data-animate].show {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.2s; }
[data-delay="2"] { transition-delay: 0.4s; }
[data-delay="3"] { transition-delay: 0.6s; }
[data-delay="4"] { transition-delay: 0.8s; }
[data-delay="5"] { transition-delay: 1s; }

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

[data-animate].show {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.2s; }
[data-delay="2"] { transition-delay: 0.4s; }
[data-delay="3"] { transition-delay: 0.6s; }
[data-delay="4"] { transition-delay: 0.8s; }
[data-delay="5"] { transition-delay: 1s; }
[data-delay="6"] { transition-delay: 1.2s; }

.project-detail-wrapper {
  display: flex;
  flex-direction: row;
  background: #fff;
  color: #111;
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 1240px;       /* daha geniş kart */
  margin: 0 auto 48px auto;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.project-info {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.media-slider {
  flex: 0 0 50%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-radius: 0;
}

.media-slider iframe,
.media-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #000;
  border: none;
}

.media-slide.active,
.media-slider iframe.active {
  display: block;
}

.slide-next {
  position: absolute;
  left: -24px; /* kutunun dışında */
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s ease;
}

.project-box {
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: row;
  min-height: 300px;
}

.project-box h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 12px 0 16px 0;
  padding-left: 4px;
  color: #fff;
}

#projects,
#projects-alt {
  background-color: #f2f2f2; /* kırık beyaz */
  padding: 80px 0;
}

.slide-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Toggle butonu başlangıçta gizli */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* Sadece mobilde aktif hale gelen düzen */
@media (max-width: 768px) {
  .navbar-container {
    display: flex;
    flex-direction: row;            /* Logo ve toggle yan yana */
    justify-content: space-between; /* Logo sola, toggle sağa */
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;              /* Logodan uzaklaştırır */
    z-index: 20;                    /* Üstte kalmasını garantiler */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding-top: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #333;
  }
}

.contact-intro {
  margin-bottom: 20px;
}

.contact-intro h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.contact-intro p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}