/* GENEL AYARLAR */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* WHATSAPP ÜST BUTONU */
.whatsapp-top {
  display: block;
  background-color: #25d366;
  color: white;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  text-decoration: none;
}
.whatsapp-top:hover {
  background-color: #1ebc5c;
}

/* BAŞLIK */
header {
  background-color: #18416b;
  color: white;
  padding: 20px;
}
.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.site-title {
  text-align: center;
}
.site-title h1 {
  margin: 0;
}
.map-link {
  display: block;
  margin-top: 6px;
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
}
.map-link:hover {
  text-decoration: underline;
}

/* NAV */
nav {
  background-color: #232d38;
  padding: 10px 0;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 10px;
}
nav a {
  background-color: #ffcc00;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}
nav a:hover {
  background-color: #e6b800;
  color: #000;
}

/* BANNER FOTOĞRAF */
.banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

/* ANA İÇERİK */
main {
  padding: 20px;
}
section {
  margin-bottom: 40px;
}

/* HAKKIMIZDA YAN YANA */
.hakkimizda-kapsayici {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.hakkimizda-yazi {
  flex: 1;
  min-width: 260px;
}
.hakkimizda-resim {
  flex: 1;
  min-width: 260px;
  text-align: center;
}
.hakkimizda-resim img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 12px #004080(0,0,0,0.1);
  height: auto;
}

/* HİZMETLER ve İLETİŞİM YAN YANA */
.hizmetler {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  flex: 1 1 100%;
}

.hizmetler h2 {
  color: #004080;
  font-size: 26px;
  font-weight: 700;
  border-bottom: 3px solid #004080;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.hizmetler-listesi {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hizmet-item {
  font-size: 18px;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hizmet-item:hover {
  background-color: #004080;
  color: white;
}

.iletisim {
  background-color: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,64,128,0.1);
  color: #004080;
  flex: 1 1 100%;
  text-align: center;
  margin-top: 20px;
}

.iletisim h2 {
  margin-bottom: 15px;
}

.iletisim a {
  color: #18416b;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.iletisim a:hover {
  color: #004080;
  text-decoration: underline;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .hizmetler-iletisim-kapsayici {
    flex-direction: column;
  }
  .hizmetler,
  .iletisim {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/* Butonlar (örnek olarak randevu formundaki buton) */
#randevuForm button {
  background-color: #004080;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#randevuForm button:hover {
  background-color: #003366;
  box-shadow: 0 6px 15px rgba(0, 64, 128, 0.6);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .hizmetler-kartlar {
    flex-direction: column;
    gap: 15px;
  }
  .hizmet-kart {
    flex: 1 1 100%;
  }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .hizmetler-iletisim-kapsayici {
    flex-direction: column;
  }
  .hizmetler,
  .iletisim {
    min-width: 100%;
  }
  .hizmetler-kartlar {
    justify-content: center;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .hizmetler {
    justify-content: center;
  }
  .hizmet-kart {
    flex: 1 1 100%;
  }
}

.iletisim {
  flex: 1;
  min-width: 250px;
  color: #004080;
}
.iletisim h2 {
  color: #004080;
}
.iletisim a {
  color: #18416b;
  font-weight: bold;
  text-decoration: none;
}
.iletisim a:hover {
  text-decoration: underline;
}

/* RANDEVU FORMU */
#randevu {
  background: linear-gradient(to bottom right, #e6f0ff, #ffffff);
  max-width: 500px;
  margin: 40px auto;
  padding: 25px;
  border-left: 6px solid #004080;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,64,128,0.1);
}
#randevu h2 {
  text-align: center;
  color: #004080;
  margin-bottom: 20px;
}
#randevuForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#randevuForm label {
  font-weight: bold;
  color: #004080;
}
#randevuForm input,
#randevuForm textarea {
  padding: 12px;
  font-size: 15px;
  border: 2px solid #004080;
  border-radius: 6px;
  background-color: #fefeff;
  transition: 0.2s;
}
#randevuForm input:focus,
#randevuForm textarea:focus {
  outline: none;
  border-color: #ffcc00;
  background-color: #fffce8;
}
#randevuForm button {
  background-color: #ffcc00;
  color: black;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}
#randevuForm button:hover {
  background-color: #e6b800;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  nav ul {
    flex-direction: row;
    overflow-x: auto;
  }
  #randevu {
    max-width: 90%;
    padding: 20px;
  }
  .hakkimizda-kapsayici,
  .hizmetler-iletisim-kapsayici {
    flex-direction: column;
    text-align: center;
  }
  .hakkimizda-yazi,
  .hakkimizda-resim,
  .hizmetler,
  .iletisim {
    max-width: 100%;
    text-align: center !important;
  }
  
}
