/* style.css */
html {
  scroll-behavior: smooth; /* Tıklanan yere yavaşça kaymasını sağlar */
  scroll-padding-top: 80px; /* Header yazıları kapatmasın diye boşluk bırakır */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif; /* Tüm siteye Montserrat uyguladık */
}

body {
  background-color: #12171f; /* Ana arka plan */
  color: white;
  padding-top: 70px;
  /* Fixed header'ın altında kalmaması için body'ye padding verdik (header yüksekliğine göre ayarla) */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700; /* Başlıkları kalın yapalım */
}

/* Hero Başlığı */
.hero-text h1 {
  font-size: 3.5rem; /* Font boyutunu biraz küçülttük (4.5rem'den 3.5rem'e) */
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #f37021; /* Turuncu kısım */
}

.hero-text p {
  font-size: 1.1rem; /* Paragraf fontunu küçülttük */
  color: #cbd5e0; /* Hafif gri ton */
  max-width: 600px;
}

span {
  color: #f37021;
}

.hero {
  min-height: 80vh; /* Ekranın %80'ini kaplasın */
  display: flex;
  align-items: center;
  overflow: hidden; /* Taşmaları engeller */
  background: #12171f;
  padding: 40px 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}
.hero-text {
  flex: 1; /* Metin alanına daha fazla yer açalım (görsele göre daha geniş olsun) */
  min-width: 0; /* Kelimelerin sıkışmaması için minimum bir genişlik veriyoruz */
}

.hero-text h1 {
  font-size: 3.5rem; /* Eğer hala sığmıyorsa bu değeri 3rem yapabilirsin */
  white-space: normal; /* KRİTİK: Bu komut yazının asla alt satıra inmesine izin vermez */
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem; /* Okunabilirliği artır */
  max-width: 600px;
  color: #cbd5e0;
}

.hero-image img {
  width: 100%; /* Konteynırından daha büyük taşmasını sağlar */
  max-width: 650px; /* Varsa tüm sınırları iptal eder */
  height: auto;
  object-fit: contain;
  transform: none;
  display: block;
  filter: drop-shadow(0 0 30px rgba(0, 173, 239, 0.3));
}

.hero-image {
  flex: 1; /* Sağ tarafa daha fazla alan tanıyalım */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible; /* Görsel taşarsa kırpılmasın */
}

header {
  background-color: #1a222c; /* Tasarımdaki koyu ton */
  padding: 20px 5%; /* Yukarı/aşağı boşluğu azalttık (yukarıdaki 20px'ten 10px'e), yanlara boşluk verdik */
  position: fixed; /* Header'ı üste sabitleyelim, modern durur */
  top: 0;
  width: 100%;
  z-index: 1000; /* Diğer elemanların üstünde durması için */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Hafif bir gölge */
}

/* Navigasyon Çubuğu (Arka Plan) */
nav {
  background-color: #1a222c;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 0; /* Yukarı aşağı biraz nefes alsın */
  display: flex;
  justify-content: center; /* İÇERİĞİ EKRANIN TAM ORTASINA TOPLAR */
}

/* İçerik Kutusu (Asıl Sihir Burada) */
.nav-container {
  width: 90%; /* Mobilde kenarlardan boşluk bırakır */
  max-width: 1200px; /* EKRAN NE KADAR BÜYÜRSE BÜYÜSÜN, LOGO VE BUTON BU GENİŞLİĞİ GEÇEMEZ! */
  display: flex;
  justify-content: space-between; /* Logo sola, buton sağa, menü ortaya */
  align-items: center;
}

/* Menü Linkleri */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-menu li a:hover {
  color: #f37021;
}

/* Logo Boyutu */
.logo img {
  height: 55px; /* Logonu biraz daha belirgin yaptık */
  display: block;
}

/* Bizi Ara Butonu */
.btn-call {
  background-color: #f37021;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  white-space: nowrap; /* Yazı alt satıra kaymasın */
}

.btn-call:hover {
  background-color: #e16010;
  transform: scale(1.05);
}

/* Hizmetler Bölümü */
.services {
  padding: 80px 10%;
  background-color: #f8f9fa; /* Tasarımdaki gibi burayı açık renk yapıyoruz, metinler siyah olacak */
  text-align: center;
}

.section-title h2 {
  color: #12171f;
  font-size: 2.5rem;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #12171f; /* Kartın içi koyu (tasarımdaki gibi) */
  padding: 60px 30px;
  border-radius: 20px;
  color: white;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Kartvizit ve Tasarımdaki Mavi Çizgi Efekti */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 5px;
  background-color: #00adef; /* Mavi renk */
  transition: 0.4s;
}

.service-card:hover::after,
.service-card.active::after {
  width: 100%;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-icon img {
  height: 100px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #f37021; /* Turuncu Başlık */
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e0;
  margin-bottom: 25px;
}

.btn-more {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #f37021;
  color: #f37021;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.8rem;
  transition: 0.3s;
}

.btn-more:hover {
  background-color: #f37021;
  color: white;
}

/* Hakkımızda */
.about {
  padding: 100px 10%;
  background-color: #ffffff; /* Temiz bir beyaz */
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05); /* Modern bir gölge */
}

.about-content {
  flex: 1;
}

.sub-title {
  color: #f37021;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #1a222c;
  margin-top: 10px;
  line-height: 1.2;
}

.about-content h2 span {
  color: #00adef; /* Bursa vurgusu için mavi */
}

.about-content p {
  color: #555;
  line-height: 1.8;
  margin: 20px 0;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  color: #1a222c;
}

.check-icon {
  color: #f37021;
  margin-right: 10px;
  font-style: normal;
}

/* Neden Biz? */
/* style.css sonuna ekle veya eski why-us stillerini bunlarla değiştir */

.why-us {
  padding: 60px 10%;
  background-color: #f8f9fa; /* Arka planı açık renk yapalım, metinler siyah olsun */
  color: #333; /* Genel metin rengi siyah */
}

.why-us .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; /* Mobilde alt alta gelmesi için */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-item {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: flex-start; /* İkon ve metni üstten hizalar */
  gap: 15px; /* İkon ile metin bloğu arasındaki boşluk */
}

.why-icon {
  flex-shrink: 0; /* İkonun küçülmesini engeller */
}

.why-icon img {
  height: 50px; /* İkon boyutu */
  width: auto;
}

.why-text-block {
  display: flex;
  flex-direction: column;
}

.why-item h4 {
  color: #1a222c; /* Başlık rengi */
  margin: 0 0 5px 0; /* Alttan az bir boşluk */
  font-size: 1.2rem;
  font-weight: 700;
}

.why-item p {
  color: #555; /* Paragraf rengi */
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* Bant */
/* style.css sonuna ekle */

.brand-marq {
  padding: 60px 0; /* Yukarı ve aşağı boşluk */
  background-color: #f8f9fa; /* Temiz bir gri arka plan */
}

.section-heading-small {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading-small h2 {
  color: #1a222c;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.line-small {
  width: 60px;
  height: 3px;
  background-color: #f37021;
  margin: 10px auto;
}

.marq-wrapper {
  width: 100%;
  overflow: hidden; /* Taşmaları engeller */
  position: relative;
  padding: 10px 0;
}

.marq-content {
  display: flex; /* Logoları yan yana dizer */
  gap: 120px; /* Logolar arası boşluk */
  align-items: center;
  white-space: nowrap; /* Tek satırda kalmalarını sağlar */
  animation: scroll 25s linear infinite; /* Animasyonu uygula: 25 saniye, kesintisiz, sonsuz döngü */
}

.marq-content img {
  height: 35px; /* Logoların yüksekliklerini sabitle, çok dev olmasınlar */
  width: auto; /* Genişliği otomatik ayarla */
  opacity: 0.8; /* Hafif bir şeffaflık, üzerine gelince canlandırabiliriz */
  transition: 0.3s;
}

.marq-content img:hover {
  opacity: 1; /* Üzerine gelince tam parlak olsun */
  transform: scale(1.1); /* Hafif büyüme efekti */
}

/* Sihirli Animasyon (Keyframes) */
@keyframes scroll {
  from {
    transform: translateX(0); /* Başlangıç pozisyonu */
  }
  to {
    transform: translateX(
      calc(-100% - 120px)
    ); /* Bütün bandı sola kaydırır, gap miktarını çıkar */
  }
}

/* Footer */
footer {
  background-color: #12171f;
  padding: 50px 10% 20px;
  border-top: 2px solid #1a222c;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-contact h3,
.footer-social h3 {
  color: #f37021;
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #cbd5e0;
}

.footer-contact a {
  color: #00adef;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #718096;
}

/* style.css sonuna ekle */

.social-links {
  display: flex;
  flex-direction: column; /* Alt alta */
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #cbd5e0; /* Varsayılan metin rengi (beyazımsı) */
  font-weight: 500;
  transition: 0.3s;
}

/* İkonun Kendisi (fab sınıfları) */
.social-icon i {
  font-size: 24px; /* İkon boyutu */
  width: 30px; /* Sabit bir genişlik verelim ki metinler hizalı olsun */
  text-align: center;
}

/* Üzerine gelince renkleri parlasın */
.social-icon.whatsapp:hover,
.social-icon.whatsapp:hover i {
  color: #25d366; /* WhatsApp Yeşili */
  transform: translateX(5px);
}

.social-icon.instagram:hover,
.social-icon.instagram:hover i {
  color: #e1306c; /* Instagram Pembesi */
  transform: translateX(5px);
}

/* style.css sonuna ekle */

.fixed-buttons {
  position: fixed; /* Ekranda sabitleme */
  right: 20px; /* Sağdan boşluk */
  bottom: 30px; /* Alttan boşluk */
  display: flex;
  flex-direction: column; /* Alt alta dizers */
  gap: 15px; /* Aralarındaki boşluk */
  z-index: 10000; /* Her şeyin üstünde durması için */
  align-items: center;
}

.fix-btn {
  width: 60px; /* Buton büyüklüğü */
  height: 60px;
  background-color: #ffffff; /* Varsayılan arka plan (telefon ve yukarı için) */
  border-radius: 50%; /* Tam yuvarlak */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Hafif modern bir gölge */
  cursor: pointer;
  transition: all 0.3s ease; /* Efetkler için geçiş süresi */
  text-decoration: none;
  border: 2px solid #e0e0e0; /* Varsayılan ince çerçeve */
}

/* Telefon Butonu Özel */
.fix-btn.call i {
  color: #1a222c; /* Telefon simgesi rengi (koyu) */
  font-size: 24px;
}

/* WhatsApp Butonu Özel (Orijinal Yeşil) */
.fix-btn.whatsapp {
  background-color: #25d366; /* WhatsApp Yeşili */
  border-color: transparent; /* Çerçeveyi kaldır */
}

.fix-btn.whatsapp i {
  color: #ffffff; /* WhatsApp simgesi beyaz */
  font-size: 32px; /* WhatsApp biraz daha belirgin olsun */
}

/* Yukarı Çık Butonu Özel */
.fix-btn.up {
  background-color: #ffffff;
  opacity: 0.8; /* Hafif şeffaf başlasın */
}

.fix-btn.up i {
  color: #1a222c; /* Ok simgesi koyu */
  font-size: 22px;
}

/* HOVER (Üzerine Gelince) Efektleri */
.fix-btn:hover {
  transform: translateY(-5px) scale(1.05); /* Yukarı zıplama ve hafif büyüme */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* Gölgeyi artır */
}

.fix-btn.call:hover {
  border-color: #1a222c; /* Üzerine gelince çerçeveyi koyulaştır */
}

.fix-btn.whatsapp:hover {
  background-color: #1ebe5d; /* Daha koyu yeşil */
}

.fix-btn.up:hover {
  opacity: 1; /* Tam görünür yap */
  border-color: #f37021; /* Turuncu çerçeve */
}
.fix-btn.up:hover i {
  color: #f37021; /* Ok simgesi turuncu olsun */
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* normalde menü */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

/* MOBİL */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0d1b2a;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-btn {
    display: none; /* istersen bunu da menüye ekleriz */
  }
}

@media (max-width: 992px) {
  .hero-container {
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 30px 0 50px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    width: 100%;
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-text h1 span {
    display: block;
  }

  .hero-text p {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-image {
    width: 100%;
    margin-top: 20px;
  }

  .hero-image img {
    width: 100%;
    max-width: 320px;
  }
}
section {
  scroll-margin-top: 100px;
}

html,
body {
  overflow-x: hidden;
}

.services {
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .services {
    padding: 60px 20px;
  }

  .section-title {
    width: 100%;
    overflow: hidden;
  }

  .section-title h2 {
    font-size: 1.9rem;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 60px 20px;
  }

  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    width: 100%;
    display: flex;
    justify-content: center;
    order: 1;
  }

  .about-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
  }

  .about-content {
    width: 100%;
    order: 2;
  }

  .about-content h2 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .about-content p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
