/* 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-family: HFGipbay;
  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);
  }
}










* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: black;
  overflow-x: hidden;
}

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;

  transition: color 0.3s, opacity 0.3s;
}

nav ul li a.active {
  border-left: 3px solid white;
  padding-left: 6px;

    opacity: 1;
}

/* Ana sayfa özel - hover efekti */
body.home nav ul li a {
  opacity: 0.4;
}

body.home nav ul li a:hover {
  opacity: 1;
}

/* Hover'da sadece üzerine gelinen link görünür */
body.home nav ul li a:hover ~ a {
  opacity: 0.4;
}

.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 {
  line-height: 1.3;
  margin-bottom: 0.6rem;
    font-family: HFGipbay;

}

.hero-content p {
  font-size: 1.4rem;
  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;

}

.hero-image img {
  width: 170%;
  border-radius: 40px;
  position: relative;
  z-index: 1;
  margin-right: 300px;
}


.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;
}



/*FOOTER ÜSTÜNDEKİ SECİTON*/
.info-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;

}

.info-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.info-box {
  flex: 1 1 280px;
  max-width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;

}


.info-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5%;
  margin: 0;
  color: black; /* koyu mavi başlık */
}
.info-box img{
    color: #0b3c91; /* koyu mavi başlık */
}
.info-box h3 img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(30%) sepia(90%) saturate(400%) hue-rotate(190deg) brightness(80%);
}
.info-box p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;

}

.center-bold {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  font-family: HFGipbay;
  letter-spacing: 0px;
  font-size: 2rem;
  color: #000000;
  opacity: 1;
  font-weight: bold;
  line-height: 1.5;
  padding: 10px;
}

/* Mobil görünüm için küçültme */
@media (max-width: 700px) {
  .center-bold {
    font-size: 1.7rem;
    line-height: 1.1;
    max-width: 87%;
  }
}














/* FOOTER */
footer {
  background-color: black;
  text-align: center;
  padding: 20px 10px;
  border-radius: 15px;
}

/* Logo */
.footer-logo {
  max-width: 15%;
  display: block;
  margin: 20px auto 10px auto;
}

/* Telif metni */
.footer-text {
  font-size: 1.3rem;
  color: white;
}

/* Beyaz kutu */
.footer-white-box {
  background-color: white;
  color: black;
  padding: 5%;
  margin: 20px auto 0 auto;
  max-width: 80%;
  border-radius: 15px;
  position: relative;
  text-align: left;
}

.footer-white-box h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: bold;
  font-family: Inter, sans-serif;
}

.footer-white-box p {
  margin-bottom: 8px;
  font-size: 1.5rem;
  line-height: 1.5;
  font-family: Inter, sans-serif;
}

/* Ok simgesi bağlantısı */
.arrow-link {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 60px;
  height: 60px;
  display: inline-block;
}

.arrow-box {
  position: absolute;
  background-color: #0E4E91;
  border-radius: 12px;
  z-index: 0;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
}

.arrow-icon {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease;
}

.arrow-icon:hover {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .footer-white-box {
    padding: 8%;
    max-width: 95%;
    text-align: center;
  }

  .footer-white-box h1 {
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: left;
  }

  .footer-white-box p {
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;

  }

  .arrow-link {
    position: static;
    margin: 20px auto 0 auto;
    width: 50px;
    height: 50px;
    display: block;
     top: 80%;
    left: 80%;
  }

   .arrow-box {
    position: absolute;
    background-color: #0E4E91;
    border-radius: 12px;
    top: 78%;
    left: 41.5%;
    width: 17%;
    height: 17%;
    z-index: 0;
  }

  .arrow-icon {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
  }

  .footer-logo {
    max-width: 50%;
    margin-top: 30px;

  }

  .footer-text {
    font-size: 1.2rem;
    padding: 0 10px;
  }
}







.hamburger {
  display: none;
}
@media (max-width: 1300px) {



  .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;
  }
  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;
  }
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
  }
.hero-image {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 200%;
  z-index: 0;
}
.hero-image img {
  width: 300%;
  height: auto; /* 🔁 Görselin orijinal oranı korunsun */
  display: block;
  border-radius: 0;
  filter: brightness(1);
}
  .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;
  }
  .cozum {
    margin-top: 50px;
    padding: 5% 3%;
  }
  .logo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/*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:  white;
}

.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;
  }
}





/*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;
}










/*KART*/
@layer base, demo;
@layer demo {
	.carousel {
		--items: 5;
		--carousel-duration: 40s;
		@media (width > 600px) {
			--carousel-duration: 30s;
		}
		--carousel-width: min(
			80vw,
			1340px
		); /* note - it will "break" if it gets too wide and there aren't enough items */
		--carousel-item-width: 270px;
		--carousel-item-height: 500px;
		--carousel-item-gap: 2rem;

		--clr-cta: rgb(0, 132, 209);

		position: relative;
		width: var(--carousel-width);
		height: var(--carousel-item-height);
		overflow: clip;

		&[mask] {
			/* fade out on sides */
			mask-image: linear-gradient(
				to right,
				transparent,
				black 5% 95%,
				transparent
			);
		}
		&[reverse] > article {
			animation-direction: reverse;
		}
		/* hover pauses animation */
		&:hover > article {
			animation-play-state: paused;
		}
	}
	.carousel > article {
		position: absolute;
		top: 0;
		left: calc(100% + var(--carousel-item-gap));
		width: var(--carousel-item-width);
		height: var(--carousel-item-height);
		display: grid;
		grid-template-rows: 200px auto 1fr auto;
		gap: 0.25rem;
		padding-block-end: 1rem;
		border-radius: 10px;
    background-color: white;

		/* animation */
		will-change: transform;
		animation-name: marquee;
		animation-duration: var(--carousel-duration);
		animation-timing-function: linear;
		animation-iteration-count: infinite;
		animation-delay: calc(
			var(--carousel-duration) / var(--items) * 1 * var(--i) * -1
		);
		&:nth-child(1) {
			--i: 0;
		}
		&:nth-child(2) {
			--i: 1;
		}
		&:nth-child(3) {
			--i: 2;
		}
		&:nth-child(4) {
			--i: 3;
		}
		&:nth-child(5) {
			--i: 4;
		}
	}
	.carousel img {
		width: 100%;
		height: 100%;
		object-fit: cover;

		border-radius: 10px 10px 0 0;
	}
	.carousel > article > *:not(img) {
		padding: 0 1rem;
	}
	.carousel > article > div {
		grid-row: span 2;
		display: grid;
		grid-template-rows: subgrid;
		font-size: 0.8rem;
	}
	.carousel > article h2 {
		font-size: 1rem;
		padding-block: 0.75rem 0.25rem;
		margin: 0;
    text-align: center;
    padding: 0.10rem 0.5rem;
    font-family: HFGipbay Bold;


	}
	.carousel > article p {
		margin: 0;
    font-size:1rem;
    text-align: center;
    font-family: Inter Semi;
      font-weight: 300;
  }
	.carousel > article a {
		text-decoration: none;
		text-transform: lowercase;
		border: 1px solid var(--clr-cta);
		border-radius: 3px;
		padding: 0.10rem 0.5rem;
		place-self: start;
    font-family: Inter Semi;
		transition: 150ms ease-in-out;
    text-align: left;
		&:hover,
		&:focus-visible {
			background-color: var(--clr-cta);
			outline: none;
		}
	}
	@keyframes marquee {
		100% {
			transform: translateX(
				calc(
					(var(--items) * (var(--carousel-item-width) + var(--carousel-item-gap))) *
						-1
				)
			);
		}
	}
}





