/* --- Ana Kapsayıcı --- */
.hero-grid-wrapper {
  position: relative;
  width: 100%;
  background-color: #ffffff; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 20px 100px 20px; 
  overflow: hidden;
  z-index: 1;
}

/* --- Yukarı Doğru Silikleşen Grid Pattern --- */
.grid-background {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1; 
  background-image: linear-gradient(to right, #e2e8f0 1px, transparent 1px),
                    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  opacity: 0.7;
}

/* --- Yavaşlatılmış Metalik Işık Efekti --- */
.metalic-sweep-effect {
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: metallicScan 12s ease-in-out infinite; 
  z-index: 0;
  pointer-events: none;
}

@keyframes metallicScan {
  0% { left: -100%; }
  50% { left: 200%; } 
  100% { left: 200%; } 
}

/* --- İçerik Hizalama Kapsayıcısı --- */
.hero-content-box {
  position: relative;
  z-index: 5; /* Butonların ve yazıların tıklanabilmesi için üstte */
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none; /* Boş alanların arkaya tıklamayı engellememesi için */
}

/* --- Metin Kapsayıcısı --- */
.hero-text-content {
  position: relative;
  max-width: 950px; 
  padding: 0 10px; 
  pointer-events: auto; /* Yazıların ve butonların tıklanabilir olması için */
}

/* DEGRADE VE DİNAMİK BAŞLIK BOYUTU */
.hero-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.3;
  padding-bottom: 10px;
  padding-right: 10px;
  padding-top: 15px; /* İ harfinin şapkasının kesilmemesi için */
  
  background: linear-gradient(90deg, #e03257 0%, #790087 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-sub-desc {
  font-family: 'Titillium Web', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #4a5568;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* --- Degrade Butonlar --- */
.hero-buttons-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-btn {
  font-family: 'Titillium Web', sans-serif; 
  font-weight: 600; 
  font-size: 1.05rem;
  color: #ffffff !important; 
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px; 
  background: linear-gradient(90deg, #e03257 0%, #790087 100%);
  background-size: 200% auto;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(121, 0, 135, 0.25);
  border: none;
  cursor: pointer;
  text-align: center;
}

.hero-btn:hover {
  background-position: right center; 
  transform: translateY(-3px); 
  box-shadow: 0 15px 25px rgba(121, 0, 135, 0.4);
}

/* --- Yüzen ve Tutulabilen İkonlar --- */
.hero-floating-icons {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  max-width: 1400px; 
  margin: 0 auto;
  z-index: 1; /* İkonlar yazıların arkasında kalır */
  right: 0;
  overflow: hidden; 
  pointer-events: none; /* Kapsayıcı tıklamaları engellemesin */
}

.icon-bubble {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06), 0 2px 5px rgba(0,0,0,0.03);
  padding: 10px;
  cursor: grab; 
  user-select: none; 
  pointer-events: auto; /* İkonların kendisi tıklanabilir */
  animation: floatBounce 6s ease-in-out infinite; /* Başlangıçta havada süzülürler */
  opacity: 1;
}

.icon-bubble:active {
  cursor: grabbing;
}

.icon-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none; 
}

/* Masaüstü İkon Başlangıç Konumları */
.ic-css    { top: 20%; left: 8%; width: 65px; height: 65px; animation-delay: 0.2s; }
.ic-meta   { top: 55%; left: 5%; width: 55px; height: 55px; animation-delay: 1.5s; }
.ic-insta  { bottom: 15%; left: 15%; width: 60px; height: 60px; animation-delay: 0.5s; }
.ic-google { top: 15%; right: 10%; width: 65px; height: 65px; animation-delay: 1s; }
.ic-php    { top: 50%; right: 5%; width: 70px; height: 70px; animation-delay: 2.2s; }
.ic-yt     { bottom: 20%; right: 15%; width: 55px; height: 55px; animation-delay: 0.8s; }

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --- Tablet Uyumluluğu --- */
@media (max-width: 991px) {
  .hero-grid-wrapper { padding-top: 130px; }
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 767px) {
  .hero-grid-wrapper { padding: 0px 15px 40px 15px; }
  
  .desktop-only-desc { display: none; }
  
  .hero-main-title { font-size: 1.8rem; margin-top: -10px; margin-bottom: 15px; padding-top: 15px; }
  .hero-sub-desc { font-size: 0.95rem; margin-bottom: 25px; line-height: 1.5; }
  
  .hero-buttons-wrapper { flex-direction: row; gap: 10px; width: 100%; }
  .hero-btn { width: auto; flex: 1; padding: 12px 5px; font-size: 0.9rem; }

  /* MOBİLDE İKONLARI VE OYUNU TAMAMEN GİZLEDİK */
  .hero-floating-icons {
      display: none !important;
  }
}