/* Başlık kelimeleri için: opacity ve yukarıdan aşağı geçiş */
.word {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: inline-block;
  margin-right: 0.2rem;
}
.word.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Alt başlıktaki kelimeler (word sınıfı ile) */
#subtitle-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateX(50px);
  margin-right: 1rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* visibility gizle animasyon öncesi taşmayı engeller */
  visibility: hidden;
}

#subtitle-text .word.visible {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

/* Alt başlıktaki harfler için span */
#subtitle-text span {
  opacity: 0;
  display: inline-block;
  transform: translateX(0.2px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-right: 10px;
}
#subtitle-text span.visible {
  opacity: 1;
  transform: translateX(0);
}
.hidden {
  opacity: 0;
  transform: translateX(20px);
}

.visible {
  opacity: 1;
  transform: translateX(0);
}
/* Alt başlık genel stil */
#subtitle-text {
  display: inline-block; /* Kelimeler inline-block olacak */
  white-space: normal; /* Satır taşması engellenmesin */
}
#animated-title {
  font-size: 3.5rem; /* H1 büyüklüğü */
  line-height: 1.2;
  max-width: 100%;
  white-space: normal; /* Satırlar alt satıra geçsin */
  overflow-wrap: break-word; /* Kelimeler düzgün satır geçişi yapsın */
}

.fade-in {
  opacity: 0;
  transform: translateY(-150px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-in-right {
  position: relative;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}








body{
  overflow-x: hidden;
}

/*NAVBAR*/
header {
  background: #000;
  color: white;
  padding: 2% 0;

}

.container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;

}

.logo-link {
  flex: 0 0 25%; /* Logo alanı: %25 */
}

.logo {
  width: 100%;    /* Logo kendi kutusunu tamamen kaplasın */
  height: auto;
  display: block;
}

nav {
  flex: 0 0 70%; /* Nav alanı: %70 */
}

nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 3%;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.6rem;
}

nav ul li a.active {
  border-left: 3px solid white;
  padding-left: 6px;
}
nav ul li a.active {
  border-left: 3px solid white;
  padding-left: 6px;
}
body.home nav ul:hover li a {
  opacity: 0.3;
}
body.home nav ul:hover li a:hover {
  opacity: 1;
}

/* cozum.html özel: sadece çözümlerimiz parlak kalsın */
body.cozum nav ul li a {
  opacity: 0.3;
}

body.cozum nav ul li a.active {
  opacity: 1;
}

/*Üst Ksıım*/
.hero {
  background: #000;
  color: white;
  padding: 1% 10%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5%;
  text-align: left; /* soldan hizalama */
  overflow-x: hidden;
}

.hero-content {
  flex: 1 1 40%;
  max-width: 800px;
  position: relative;
  z-index:2;
}

.hero-content h1 {
  font-size: 5.3rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.hero-content p {
  font-size: 1.7rem;
  line-height: 1.6;
  opacity: 0.7; /* 0.5 - 0.9 arası değerlerle oynayabilirsin */
}

.hero-image {
  flex: 1 1 70%;
  max-width: 50%;
  display: flex;
  justify-content: center;
  z-index: 0;

}

.hero-image img {
  width: 200%;
  border-radius: 40px;
  position: relative;
  z-index: 1;
  margin-left: 19%;
}


.hero-label {
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  line-height: 1.3;
}
.slide-in-right {
  position: relative;
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#typewriter-text {
  position: relative;
  z-index: 3; /* Görselin üstünde olması için */
  transform: translateX(50%); /* Sağ kaydır */
}

/*KART*/
.card-section {
  background-color: #000;
  padding: 3%;
  display: flex;
  justify-content: center;
  gap: 5%;
  flex-wrap: wrap;
}

.custom-card {
  background-color: #111;
  color: white;
  padding: 20px;
  border-radius: 15px;
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  border: 2px solid white;
  transition: 0.3s ease;
}

.custom-card:hover {
  border-color: #ccc;
  transform: scale(1.02);
}

.custom-card h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.custom-card p {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Mobil görünüm: Kartlar alt alta gelsin */
@media (max-width: 700px) {
  .card-section {
    flex-direction: column;
    align-items: center;
  }

  .custom-card {
    width: 90%;
    margin-bottom: 20px;
  }
}





/*BASARI KART*/

.digital-sec {
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
}

.digital-container {
  max-width: 1000px;
  margin: auto;
  position: relative;
}

.digital-slide {
  position: absolute;

  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 40px;
}

.digital-slide.active {
  display: flex;
  opacity: 1;
}

.digital-svg {
  width: 15%;
  height: auto;
}

.digital-text h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.digital-text p {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.6;
}

.digital-text ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
  opacity: 0.6;

}

.digital-text li::before {
  content: '• ';
  color: white;
}

.digital-nav {
  text-align: center;
  margin-top: 15%;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #555;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background-color: #fff;
}

@media (max-width: 768px) {
  .digital-slide {
    flex-direction: column;
    text-align: center;
  }

.digital-nav {
  text-align: center;
  margin-top: 140%;
}
  .digital-svg {
     width: 50%;
    height: auto;
  }
  .digital-text{
    text-align: left;
      text-align: center;
    margin-top: 15px;
  }
   .digital-slide {
    flex-wrap: wrap; /* Gerekirse kaymadan küçülsün */
    flex-direction: row !important; /* ❗ Alt alta gelmeyi engeller */
    gap: 5px;
  }

  .digital-svg {
    width: 40%; /* Mobilde biraz daha büyük */
  }

  .digital-text h2 {
    font-size: 27px;
  }

  .digital-text p,
  .digital-text ul {
    font-size: 17px;
  }
}




/*Social Media*/
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: black;
  opacity: 0.8;
  transition: 0.3s ease;
  border: 2px solid black;
  box-shadow: 0 0 5px black;
}

.social-icons a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .social-icons {
    margin-top: 30px;
    gap: 20px;
  }

  .social-icons img {
    width: 36px;
    height: 36px;
  }
}




/*FOOTER*/
footer {
  background-color: white;
  text-align: center;
  padding: 20px 10px;
  margin: 0;
}

.footer-logo {
  max-width: 250px; /* Gerekirse boyutu buradan ayarlayabilirsin */
  display: block;
  margin: 0 auto 10px auto; /* Ortalar ve altına boşluk bırakır */
}

.footer-text {
  font-size: 1.3rem;
  color: #333; /* İstersen gri yapabilirsin: #777 veya #999 */
}

/*FONT*/
/* Inter Font Ailesi */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-Regular.woff2') format('woff2'),
       url('../fonts/Inter/Inter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-Bold.woff2') format('woff2'),
       url('../fonts/Inter/Inter-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-Italic.woff2') format('woff2'),
       url('../fonts/Inter/Inter-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}

/* HFGipbay Font Ailesi */
@font-face {
  font-family: 'HFGipbay';
  src: url('../fonts/hfgipbay.OTF/HFGipbay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'HFGipbay';
  src: url('../fonts/hfgipbay.OTF/HFGipbay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'HFGipbay';
  src: url('../fonts/hfgipbay.OTF/HFGipbay-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
body {
  font-family: 'Inter', sans-serif;
}

h1 {
  font-family: 'HFGipbay', serif;
  font-weight: 700;
}

p.italic {
  font-family: 'HFGipbay', serif;
  font-style: italic;
}


.hamburger {
  display: none;
}
@media (max-width: 1300px) {
  footer {
    background-color: white;
  }
  html, body {
    margin: 0;
    padding: 0;
  }
  /* Mobil üst header: logo + hamburger */
  .mobile-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    z-index: 1001;
    position: relative;
    background-color: #000;
  }
  .hamburger {
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    color: white;
    display: block;
  }
  /* Mobil menü (hamburger açıldığında görünen alan) */
  nav {
    display: none;
    width: 100%;
    background-color: black;
    z-index: 1000;
    position: absolute;
    top: 100%;
    left: 0;
  }
  nav.open {
    display: block;
  }
  nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    margin: 0;
    align-items: center;
  }
  nav ul li {
    width: 100%;
    text-align: center;
  }
  nav ul li a {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    text-decoration: none;
    color: white;
    background-color: transparent;
  }
  nav ul li a:hover {
    background-color: #222;
  }
  /* Genel container */
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
  /* Hero bölümü */
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
  }
.hero-image {
  position: absolute;
  top: 0;
  left: 20%;
  width: 200%;
  z-index: 0;
}
.hero-image img {
  width: 300%;
  height: auto; /* 🔁 Görselin orijinal oranı korunsun */
  display: block;
  border-radius: 0;
    filter: brightness(2);

}
  .hero-content {
    position: relative;
    z-index: 1;
    padding: 3rem 1rem;
    background: rgba(0, 0, 0, 0.6); /* Görselin üzerinde arka plan şeffaf siyah */
    color: white;
    width: 100%;
  }
  #animated-title {
    font-size: 2rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
  }
 #typewriter-text {
    transform: none; /* ❗ Mobilde kaydırmayı iptal et */
    font-size: 1.5rem; /* Daha okunabilir */
    line-height: 1.5;
    padding: 0 10px;
  }
  /* Diğer bölümler */
  .cozum {
    margin-top: 50px;
    padding: 5% 3%;
  }
  .logo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}



