/* ========================
   GENEL AYARLAR
   ======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body {
  background-color: #0b0f0d;
  color: #e0e0e0;
  line-height: 1.6;
}

a {
  color: #00bfa5;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #008a75;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================
   NAVBAR (HEADER)
   ======================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background-color: #101614;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 2px;
  color: #e0e0e0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav li {
  position: relative;
}

nav a {
  color: #e0e0e0;
  font-weight: 500;
}

nav a:hover {
  color: #00bfa5;
}

/* AÇILIR MENÜ */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1f1e;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.7);
  padding: 10px 0;
  list-style: none;
  width: 280px;
  z-index: 110;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #e0e0e0;
  text-align: left;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #00bfa5;
  color: #fff;
}

li.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown > a::after {
  content: " ▾";
  font-size: 0.9em;
  margin-left: 4px;
}

/* ========================
   ANA SAYFA - HERO
   ======================== */
.hero {
  background: linear-gradient(rgba(11, 15, 13, 0.7), rgba(11, 15, 13, 0.7)),
    url("images/hero-bg.jpg") center/cover no-repeat;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
}

.hero h1 {
  font-size: 2.8em;
  max-width: 750px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  max-width: 600px;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn {
  background-color: #00bfa5;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
  background-color: #009f8a;
  transform: translateY(-2px);
}

/* ========================
   HİZMETLER - YATAY KAYDIRMA SİSTEMİ
   ======================== */
#hizmetler {
  padding: 80px 10%;
  background-color: #111;
  text-align: center;
}

#hizmetler h2 {
  font-size: 2em;
  margin-bottom: 40px;
  text-transform: uppercase;
  text-align: center;
}

.services {
  display: flex;
  overflow-x: auto; /* Yatay kaydırmayı etkinleştirir */
  -webkit-overflow-scrolling: touch; /* iOS'ta daha iyi kaydırma performansı */
  padding-bottom: 20px; /* Kaydırma çubuğu için boşluk */
  justify-content: flex-start;
  gap: 30px; /* Kartlar arası boşluk */
  padding-left: 10px; /* Kaydırma başlangıcına biraz boşluk */
  padding-right: 10px; /* Kaydırma sonuna biraz boşluk */
}

/* Scrollbar stilini özelleştirme (isteğe bağlı) */
.services::-webkit-scrollbar {
  height: 8px;
}
.services::-webkit-scrollbar-thumb {
  background: #00bfa5;
  border-radius: 10px;
}
.services::-webkit-scrollbar-track {
  background: #333;
  border-radius: 10px;
}

.service-card {
  flex-shrink: 0; /* Kartların küçülmesini engeller */
  width: 80vw; /* Ekranın %80'i kadar başlar */
  min-width: 350px; /* Minimum kart genişliği */
  max-width: 400px; /* Maksimum kart genişliği */
  margin: 0; /* 'gap' ile boşluk verildiği için margin sıfırlanır */

  /* Kart stili */
  background-color: #1a1f1e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 191, 165, 0.1);
}

.service-card img {
  width: 100%;
  height: 250px; /* Fotoğraf yüksekliği */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3em;
  color: #00bfa5;
}

.service-card p {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* ========================
   HİZMET DETAY SAYFALARI VE DİĞER BÖLÜMLER
   ======================== */
.section {
  padding: 80px 10%;
  text-align: center;
}

.page-header {
  background: #101614;
  padding: 50px 10%;
  text-align: center;
  border-bottom: 2px solid #00bfa5;
}

.page-header h1 {
  font-size: 2.5em;
  color: #fff;
}

.service-detail-container {
  padding: 60px 10%;
  background-color: #111;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.service-content {
  flex: 3;
  text-align: left;
}

.service-content h2 {
  color: #00bfa5;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.service-content p {
  color: #ccc;
  margin-bottom: 20px;
}

.service-content ul {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 0;
}

.service-content li {
  color: #ccc;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.service-content li::before {
  content: "✓";
  color: #00bfa5;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.service-content .usage-areas {
  background-color: #1a1f1e;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #00bfa5;
}

.service-content .usage-areas h3 {
  color: #fff;
  margin-bottom: 10px;
}

.service-sidebar {
  flex: 1;
  background-color: #1a1f1e;
  padding: 25px;
  border-radius: 8px;
  position: sticky;
  top: 100px;
}

.service-sidebar h3 {
  font-size: 1.4em;
  color: #fff;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.service-sidebar ul {
  list-style: none;
}

.service-sidebar li {
  margin-bottom: 10px;
}

.service-sidebar a {
  color: #ccc;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.service-sidebar a:hover {
  background-color: #00bfa5;
  color: #fff;
}

.service-sidebar a.active {
  background-color: #00bfa5;
  color: #fff;
  font-weight: bold;
}

.about {
  background-color: #0b0f0d;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #ccc;
}

.contact {
  background-color: #111;
}

.contact ul {
  list-style: none;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contact li {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #ccc;
}

.contact li strong {
  color: #00bfa5;
  margin-right: 10px;
  display: inline-block;
  width: 80px;
}

footer {
  background-color: #101614;
  padding: 30px;
  text-align: center;
  color: #aaa;
  font-size: 0.9em;
  border-top: 1px solid #222;
}

/* ========================
   RESPONSIVE TASARIM
   ======================== */
@media (max-width: 1024px) {
  header {
    padding: 20px 5%;
  }
  .section,
  #hizmetler,
  .service-detail-container {
    padding: 60px 5%;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 2.2em;
  }
  .hero p {
    font-size: 1.1em;
  }
  
  .service-detail-container {
    flex-direction: column;
  }
  .service-sidebar {
    position: static;
    width: 100%;
  }
  /* Mobil cihazlarda hizmet kartı genişliğini biraz daha küçült */
  .service-card {
    min-width: 300px;
  }
}
/* ========================
   HAKKIMIZDA BÖLÜMÜ MADDE STİLLERİ
   ======================== */
.about-list {
  list-style: none; /* Varsayılan madde işaretlerini kaldırır */
  padding: 0;
  max-width: 800px;
  margin: 20px auto; /* Listeyi ortalar */
  text-align: left; /* BURASI KRİTİK: Metni sola hizalar */
}

.about-list li {
  background: #1a1f1e; /* Hafif koyu arkaplan */
  border-left: 5px solid #00bfa5; /* Teal renginde sol çizgi */
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 4px;
  line-height: 1.5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #e0e0e0;
}

.about-list li strong {
  color: #00bfa5; /* Anahtar kelimeleri vurgular */
  font-weight: 700;
}

/* ========================
   HEADER & NAVİGASYON
   ======================== */
header {
  display: flex;
  justify-content: space-between; /* Logo sola, menü sağa yaslanır */
  align-items: center; /* Dikeyde ortalar */
  padding: 20px 10%; /* Sayfa kenar boşlukları */
  background-color: #0b0f0d; /* Hero bölümüyle uyumlu koyu zemin */
  /* Eğer menünün resmin üzerinde şeffaf durmasını istersen background-color'ı silip şunları ekle:
     position: absolute; 
     width: 100%; 
     z-index: 1000; 
     background-color: transparent; 
  */
}

/* Logo Stilleri */
header .logo {
  display: flex;
  align-items: center;
  font-size: 1.6em; /* Logo biraz daha büyük ve belirgin */
  font-weight: 700; /* Kalın font */
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px; /* Harf aralığını biraz açarak modern görünüm sağlar */
}

.header-logo {
  height: 35px; /* Logo görsel boyutu */
  width: auto;
  margin-right: 10px;
}

/* Menü (Nav) Alanı */
header nav ul {
  display: flex;
  list-style: none; /* Madde işaretlerini kaldırır */
  margin: 0;
  padding: 0;
  gap: 30px; /* Linkler arasındaki boşluk */
}

/* Menü Linkleri */
header nav ul li a {
  color: #fff; /* Logo ile aynı beyaz renk */
  text-decoration: none; /* Alt çizgiyi kaldırır */
  font-size: 1.1em; /* Okunabilir boyut */
  font-weight: 500; /* Logo kadar kalın değil ama dolgun */
  transition: color 0.3s ease; /* Renk değişimi animasyonu */
}

/* Menü Linkleri Hover (Üzerine Gelince) */
header nav ul li a:hover {
  color: #00bfa5; /* Buton ve ikonlarla aynı tema rengi */
}

/* Aktif Sayfa Linki (Opsiyonel: HTML'de class="active" eklersen çalışır) */
header nav ul li a.active {
  color: #00bfa5;
  font-weight: bold;
}

/* ===========================
   Service page image layouts
   (Tipografi/başlık kurallarına dokunmaz)
   =========================== */

/* Container: sol büyük görsel + sağda stacked görseller */
.service-content .visual-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 25px; /* görseller ile içeriğin arasında boşluk */
  width: 100%;
}

/* Soldaki büyük görsel - esnek, içeriğe göre genişler */
.service-content .visual-left {
  flex: 1 1 60%;
  min-width: 0; /* flex item içindeki img için kırpılmayı önler */
}
.service-content .visual-left img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Sağdaki stacked görseller - sütun halinde 1..3 görsel */
.service-content .visual-right {
  width: 320px; /* sabit sütun genişliği (masaüstü) */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Varsayılan küçük görsel stili */
.service-content .visual-right img {
  width: 100%;
  height: 120px; /* sabit yükseklik, tutarlı görünüm sağlar */
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* İki görsel için slightly taller görseller (örn. yenilenebilir) */
.service-content .visual-right.two img {
  height: 170px;
}

/* Üç görsel için daha küçük yükseklik (örn. elektrik sağ stack) */
.service-content .visual-right.three img {
  height: 98px;
}

/* Eğer tek sağ görsel varsa daha büyük göstermek için */
.service-content .visual-right.single img {
  height: 320px;
}

/* Alternatif: grid tipi (2 sütun yatay stack) - e.g. mobilda kullanmak istersen */
.service-content .visual-right.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service-content .visual-right.grid img {
  height: 120px;
  width: 100%;
}

/* Küçük ekranlar: görseller dikey akış alsın, sağ stack yatay/iki sütun olabilir */
@media (max-width: 768px) {
  .service-content .visual-row {
    flex-direction: column;
  }
  .service-content .visual-right {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
  .service-content .visual-right img {
    width: calc(50% - 5px); /* iki sütun halinde */
    height: 120px;
  }
  .service-content .visual-right.single img {
    width: 100%;
    height: auto;
  }
  .service-content .visual-left img {
    max-height: 360px;
    object-fit: cover;
  }
}

/* Küçük ince ayarlar - servis kartlarındaki resimler zaten var; 
   eğer onların da kutu/fit davranışını tutarlı yapmak istersen:
*/
.service-card img {
  object-fit: cover;
}

/* Accessibility: görsellerin kontrast ve kenarlıkları için opsiyonel (sadece görsel kenarlarını vurgular) */
.service-content .visual-left img,
.service-content .visual-right img {
  outline: none;
}