* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #222;
  background-color: #f9f9f9;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: #222;
}

.section {
  padding: 80px 10%;
  text-align: center;
}

.section.light {
  background: #fff;
}

h1, h2, h3 {
  color: #222;
}

.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #0a2e5c 0%, #1a5fb4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s 0.7s forwards;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: white;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero p {
  margin: 20px 0;
  font-size: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s 0.9s forwards;
  font-weight: 300;
  line-height: 1.6;
  color: white;
}

.logo {
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
}

.logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
}

.logo-icon {
  font-size: 50px;
  color: white;
}

/* Inline SVG logo styling */
.logo-circle .logo-svg {
  width: 68%;
  height: auto;
  display: block;
}

.logo-circle .logo-svg path {
  /* ensure bolt/foreground stands out */
  fill: #fff;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid white;
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span:before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll-dot-animation 2s infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 1s 1.1s forwards;
}

.btn svg {
  margin-right: 10px;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.6);
}

.btn:hover:before {
  width: 100%;
}

/* WhatsApp Butonu Stili */
.btn-whatsapp {
  background: linear-gradient(45deg, #25D366, #128C7E);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  /* fadeInUp animasyonunu tekrar tetiklemek için */
  opacity: 1;
  animation: none;
  margin-top: 25px; /* Buton ile üstündeki yazı arasını açmak için */
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
  transform: translateY(-3px);
}

.services-grid, .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px; /* İç boşluğu azalttık */
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Yumuşak geçiş efekti */
}

.service-card h3 {
  margin-bottom: 15px;
  color: #005599;
  font-size: 1.1rem; /* Başlık boyutunu biraz küçülttük */
}

.service-card p {
  font-size: 0.95rem; /* Paragraf metnini biraz küçülttük */
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Hem eski hem yeni yapıda ortak */
.logo-item { 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* Resim ve açıklama arası boşluk */
  text-align: center;
  width: 150px; /* Slider içindeki her bir logonun genişliği */
}

.logo-item img {
  max-width: 100%;
  height: 100px; /* Logolar için sabit bir yükseklik */
  object-fit: contain; /* PNG'lerin orantısını koru */
}

/* Hem eski hem yeni yapıda ortak */
.logo-description { 
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85rem;
  color: #555;
  font-weight: 500;
}

/* Hem eski hem yeni yapıda ortak */
.logo-description span {
  /* Açıklama metinlerinin alt satıra kaymasını engelle */
  white-space: normal;
}

.stat h3 {
  font-size: 2rem;
  color: #005599;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

form input, form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

form button {
  background: #005599;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-weight: 600;
}

/* Formdaki 'Gönder' butonu için animasyon gecikmesini kaldır */
#submit-btn {
  opacity: 0; /* Animasyonun başlangıcı için görünmez yap */
  animation: fadeInUp 1s 0s forwards; /* Animasyonu gecikmesiz uygula */
}

form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.map {
  margin-top: 40px; /* Form ile arasındaki boşluğu artır */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Butonlar arası boşluk */
  flex-wrap: wrap; /* Küçük ekranlarda alt alta gelmelerini sağla */
  margin-bottom: 40px; /* Footer ile arasını açmak için */
}

.map-btn {
  display: inline-block;
  padding: 12px 25px;
  border: 1px solid #ddd;
  border-radius: 50px;
  text-decoration: none;
  color: #555;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer {
  margin-top: 40px;
  color: #777;
  font-size: 0.9rem;
}

/* Yeni Scroller Animasyonu */
.scroller {
  max-width: 100%;
  margin-top: 10px; /* Satırlar arası boşluk azaltıldı */
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 60px;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s) /* Hız değişkeni */
    var(--_animation-direction, forwards) linear infinite;
}

.scroller {
  /* Manuel kaydırma için scrollbar'ı gizle */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.scroller::-webkit-scrollbar { display: none; } /* Chrome, Safari, Opera */

.tag-list {
  margin: 0;
  padding-inline: 0;
  list-style: none;
}

/* Kopyalanan hizmet kartlarını sadece animasyon çalışırken göster */
@media (max-width: 1024px) {
  .service-card[aria-hidden="true"] {
    display: none;
  }
}

/* Logo kaydırma animasyonu */
@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}




/* Keyframes */
@keyframes float {
  0% {
    transform: translateY(0) scale(0.6) rotate(0deg);
    opacity: 0;
    filter: blur(0px);
  }
  8% {
    opacity: 1;
  }
  40% {
    transform: translateY(-40vh) scale(1.05) rotate(90deg);
    filter: blur(0.2px);
  }
  65% {
    transform: translateY(-80vh) scale(1.15) rotate(220deg);
    box-shadow: 0 0 12px rgba(0,200,255,0.45);
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) scale(0.9) rotate(360deg);
    opacity: 0;
  }
}

@keyframes scroll-dot-animation {
  0% {
    opacity: 1;
    top: 6px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.3rem;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    letter-spacing: 0px;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .logo-circle {
    width: 100px;
    height: 100px;
  }

  .logo-icon {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
    letter-spacing: 0px;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Logo image inside the circular container */
.logo-circle img.logo-img {
  width: 70%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

@media (max-width: 768px) {
  .logo-circle img.logo-img {
    width: 72%;
  }
}

@media (max-width: 480px) {
  .logo-circle img.logo-img {
    width: 75%;
  }
}
