html {
  scroll-behavior: smooth;
}
/* Genel Stiller */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #f3f4f6, #d6d6d6);
  background: #e8f1ff;
  height: 100vh;
}
* {
  list-style: none;
  text-decoration: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* Başlıkları Ortaya Hizala */
h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50; /* Koyu mavi ton */
}
h3 {
  font-weight: 40;
  font-style: italic;
  color: #87898e;
}

.container {
  height: 73vh;
  background: #e8f1ff;
}

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li {
  height: 50px;
}

nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

nav a:hover {
  color: #3bb946;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}

/* ---------Header------------ */

header {
  position: relative;
  padding: 0 2;
}

.links {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 800px;
  font-family: 'Poppins', sans-serif;
}

.links a {
  padding: 10px;
  text-align: center;
  text-decoration: none;
}

.nav-bar {
  color: #28477d;
}

.navbar {
  width: 100%;
  max-width: 1200px;
  height: 15vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-appointment {
  color: white;
  background: #81be5f;
  text-decoration: none;
  height: 6vh;
  margin-left: 10px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
}
.btn-appointment:hover {
  scale: 1.05;
  color: white;
}

.btn-appointment:active {
  scale: 0.95;
}

.navbar .toggle_btn {
  color: black;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

/* Dropdown Menu */

.dropdown_menu {
  position: absolute;
  right: 2rem;
  top: 60px;
  height: 0;
  z-index: 990;
  width: 300px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
  height: 400px;
}

.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropdown_menu .btn-appointment {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Responsive NavBar */

@media (max-width: 992px) {
  .links,
  .navbar .btn-appointment {
    display: none;
  }

  .navbar .toggle_btn {
    display: block;
    padding-right: 5%;
    z-index: 999;
  }
}

@media (max-width: 576px) {
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
}

/* .header-top .btn-appointment:hover {
  background: #3bb946;
} */

.contact-info {
  display: flex;
  justify-content: space-around;
  width: 100vh;
}

.contact-info {
  display: flex;
  justify-content: space-around;
  width: 100vh;
}
.main-menu {
  display: flex;
  justify-content: space-around;
  width: 92vh;
  font-family: 'Poppins', sans-serif;
}

.main-menu a {
  padding: 10px;
  text-align: center;
  text-decoration: none;
}

.nav-bar {
  color: #28477d;
}

.btn-appointment {
  color: white;
  text-decoration: none;
  margin-left: 10px;
  padding: 5px 10px;
  background: #81be5f;
  border-radius: 5px;
  font-size: 0.9rem;
}
.header-top .btn-appointment:hover {
  background: #3bb946;
}
/* Header Top - Mobilde düzgün görünmesi için */
/* Header Top - Mobilde daha sıkı hizalama */
@media (max-width: 768px) {
  .header-top {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .header-top .contact-info {
    display: block;
    text-align: center;
  }
  .header-top .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
}
/*----------- Blog sayfası Blog kutuları ---------*/
.blog-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 sütun olacak */
  gap: 20px;
  padding: 20px;
  justify-content: center;
}

/* Tedavi Kutusu */
.blog-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Tedavi Resmi */
.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Tedavi Bilgisi */
.blog-info {
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 15px;
  line-height: 1.8; /* Satır aralığını açtık */
  position: relative;
}

.blog-info h3 {
  font-size: 1.2rem;
  color: #3498db;
  margin-bottom: 10px;
}

.blog-info p {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 15px;
}
/* Tedaviler - Mobilde her satırda 3 tane olacak */
@media (max-width: 1024px) {
  .blog-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .blog-container {
    grid-template-columns: 1fr;
  }
}

.blog-box {
  width: 100%;
  text-align: center;
}

/* Detaylı Bilgi Butonu */
.btn-details {
  display: inline-block;
  padding: 8px 15px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.btn-details:hover {
  background: #2980b9;
}

/* 📱 Responsive Tasarım */
@media (max-width: 1200px) {
  .blog-container {
    grid-template-columns: repeat(3, 1fr); /* Orta ekranlarda 3 sütun */
  }
}

@media (max-width: 768px) {
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sütun olacak */
    gap: 10px; /* Aralarındaki boşluk */
  }

  .blog-box {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .blog-container {
    grid-template-columns: 1fr; /* Telefonlarda 1 sütun */
  }
}
/* ----------------- Fixed Footer -----------------*/
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #80bd5e;
  color: white;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Footer içeriği */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 1200px;
}

/* Sol taraftaki telefon bilgisi */
.footer-left {
  font-size: 16px;
}

/* Randevu butonu */
.appointment-btn {
  background: #ff5e57;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s ease;
}

.appointment-btn:hover {
  background: #ff3b30;
}

/* Sosyal medya butonları */
.footer-right .social-btn {
  color: white;
  font-size: 20px;
  margin-left: 15px;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-right .social-btn:hover {
  color: #ff5e57;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .fixed-footer {
    width: 100%;
    height: 13vh;
  }
  .appointment-btn {
    margin-top: 15px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    margin-bottom: 10px;
  }
}

/* ----------- bağımsız  footer ------------*/
.vr {
  border-left: solid white;
  height: 10px;
  width: 1px;
}

.copyright-text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 8%;
  width: 20%;
  color: white;
  font-size: 10px;
}

/* iletişim bilgileri*/
.contact-container p {
  margin: 5px 0;
}

.contact-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  justify-content: space-around;
  padding: 2%;
  width: 80%;
  max-width: 1200px;
}
.contact {
  background: #3c5886;
  padding-top: 1%;
  height: 55vh;
  width: 100%;
  max-width: 1500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* Altındaki öğeleri koruması için */
  min-height: 300px; /* İçeriğin üstüne taşmasını engelle */
  overflow: hidden; /* Gereksiz taşmaları önle */
}

.contact-container,
.contact-container a {
  color: white;
}

.contact-details {
  width: 25%;
  max-width: 300px;
}

.contact-header {
  color: white;
  padding-bottom: 10%;
}

@media (max-width: 768px) {
  .contact {
    width: 100%;
    height: 100vh;
  }
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-container div {
    width: 100%;
  }

  .copyright-text {
    flex-direction: row;
    width: 60%;
  }

  .footer-left {
    display: none;
  }

  .map-container {
    display: none;
  }
}
