/* Genel Sıfırlama */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Genel Body */
body {
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
  margin-top: 0;
  padding-top: 70px;
}

/* Üst Menü */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #007bff;
  color: white;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 32px;
  margin: 0;
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffc107;
}

/* Aktif Sayfa Linki */
nav ul li a.active-link {
  font-size: 18px;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Ana Bölümler */
section {
  padding: 40px;
  background: white;
  margin: 0 20px 20px 20px;
  border-radius: 8px;
}

section h2 {
  margin-bottom: 10px;
  color: #0d3b66;
}

/* Galeri Görselleri */
.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery img {
  width: 32%;
  border-radius: 6px;
}

/* Slider */
.slider-container {
  max-width: 800px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slider-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  text-align: center;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #ddd;
}

/* Proje Kartları */
.proje-karti {
  border: 1px solid #ddd;
  margin: 20px 0;
  padding: 15px;
  border-radius: 8px;
  background: #f9f9f9;
  text-align: center;
}

.proje-karti img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Sabit Butonlar */
.sabit-butonlar {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
}

.sabit-butonlar .buton {
  background-color: #28a745;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.sabit-butonlar .buton:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.sabit-butonlar .whatsapp {
  background-color: #25D366;
}

.sabit-butonlar .whatsapp:hover {
  background-color: #1ebe5d;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 30px;
  padding-bottom: 40px;
}

/* Hizmetler */
#hizmetler {
  padding: 50px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.hizmet-kartlari {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.hizmet-karti {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.hizmet-karti:hover {
  transform: translateY(-5px);
}

.hizmet-karti .ikon {
  font-size: 40px;
  margin-bottom: 15px;
}

.hizmet-karti h3 {
  margin: 10px 0;
  color: #004080;
}

.hizmet-karti p {
  font-size: 15px;
  color: #555;
}

/* Hakkımızda */
.hakkimizda-section {
  position: relative;
  padding: 0;
  margin: 0;
}

.hakkimizda-gorsel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hakkimizda-gorsel {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(50%);
}

/* Yazı Animasyonu */
.gorsel-yazi {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: bold;
  color: #f1f5ff;
  text-align: center;
  line-height: 1.6;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.gorsel-yazi span {
  display: block;
  opacity: 0;
  animation: yaziyiGetir 1s ease-in-out forwards;
}

.gorsel-yazi span:nth-child(1) {
  animation-delay: 0s;
}
.gorsel-yazi span:nth-child(2) {
  animation-delay: 0.5s;
}
.gorsel-yazi span:nth-child(3) {
  animation-delay: 1s;
}

@keyframes yaziyiGetir {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hakkimizda-icerik {
  padding: 40px 20px;
  background: white;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 10px 15px;
    height: auto;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  nav ul li a {
    font-size: 14px;
  }

  section {
    padding: 20px 15px;
    margin: 10px;
  }

  .gorsel-yazi {
    font-size: 20px;
    padding: 0 10px;
  }

  .hakkimizda-gorsel {
    filter: brightness(50%);
  }

  .sabit-butonlar .buton {
    padding: 10px 14px;
    font-size: 14px;
  }
}

.ayrinti {
  display: none;
  background-color: #f9f9f9;
  padding: 15px;
  margin-top: 10px;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
