/* GENEL AYARLAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: #2c3e50;
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: #e74c3c;
  font-size: 1.8rem;
}

.logo p {
  font-size: 0.9rem;
  color: #ecf0f1;
}

.nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
}

.nav a:hover {
  color: #e74c3c;
}

.telefon {
  background: #e74c3c;
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* NAV TIKLAMA SORUNU ÇÖZÜMÜ */
#anasayfa,
#hizmetler,
#bolgeler,
#iletisim {
  scroll-margin-top: 100px;
}

/* HERO BÖLÜMÜ */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?ixlib=rb-4.0.3");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 180px 0 100px;
  text-align: center;
  margin-top: 80px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.acil-butonlar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
}

.btn-acil {
  background: #e74c3c;
  color: white;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ozellikler {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.ozellik {
  text-align: center;
}

.ozellik span {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* HİZMETLER */
.hizmetler {
  padding: 100px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.hizmet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.hizmet-kart {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

.hizmet-kart:hover {
  transform: translateY(-5px);
}

.hizmet-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hizmet-kart h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

/* BÖLGELER */
.bolgeler {
  padding: 100px 0;
  background: #f8f9fa;
}

.il-kategorisi {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.il-title {
  color: #2c3e50;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.bolge-listesi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.bolge {
  background: #3498db;
  color: white;
  padding: 0.8rem 1rem;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
}

.bolge:hover {
  background: #e74c3c;
}

/* İLETİŞİM */
.iletisim {
  padding: 100px 0;
  background: white;
}

.iletisim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.iletisim-bilgi h3 {
  color: #2c3e50;
  margin: 1.5rem 0 0.5rem;
}

.iletisim-bilgi h3:first-child {
  margin-top: 0;
}

.iletisim-bilgi a {
  color: #3498db;
  text-decoration: none;
}

/* ADRES LİNK STİLİ */
.adres-link {
  color: #333;
  text-decoration: none;
  display: inline-block;
}

.adres-link:hover {
  color: #e74c3c;
}

/* HARITA STİLLERİ */
.harita-link {
  text-decoration: none;
  display: block;
}

.harita-placeholder {
  background: linear-gradient(135deg, #667eea, #764ba2);
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  color: white;
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.harita-link:hover .harita-placeholder {
  transform: scale(1.05);
}

.harita-ikon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.harita-buton {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 25px;
  margin-top: 1rem;
  border: 2px solid white;
  font-weight: bold;
}

/* FOOTER */
.footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* MOBİL */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .acil-butonlar {
    flex-direction: column;
    align-items: center;
  }

  .ozellikler {
    flex-direction: column;
    gap: 1rem;
  }

  .iletisim-grid {
    grid-template-columns: 1fr;
  }

  .telefon {
    padding: 1rem 1.5rem;
    text-align: center;
  }

  /* MOBİL NAV SORUNU ÇÖZÜMÜ */
  #anasayfa,
  #hizmetler,
  #bolgeler,
  #iletisim {
    scroll-margin-top: 150px;
  }

  /* MOBİL BÖLGELER */
  .il-kategorisi {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .bolge-listesi {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .il-title {
    font-size: 1.4rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* MOBİL HARITA */
  .harita-placeholder {
    height: 250px;
    padding: 1.5rem;
  }
}

/* EKSTRA KÜÇÜK EKRANLAR */
@media (max-width: 480px) {
  .bolge-listesi {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .harita-ikon {
    font-size: 2.5rem;
  }
}
