/* --- GENEL ve RESET AYARLARI --- */

:root {
  --text-dark: #414141;
  --text-hover: #594254;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Quicksand";
  font-weight: 500;
  line-height: 1.5;
  color: #414141;
}

a {
  text-decoration: none;
  color: var(--text-dark);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- HEADER GENEL STİLLERİ --- */
.site-header {
  background-color: #fff;
  padding: 25px 0px;
}

.site-header .container {
  display: flex;
  justify-content: space-between; /* Öğeleri iki uca yaslar */
  align-items: center; /* Dikeyde ortalar */
}
h1.logo {
  margin: 0px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

/* --- MOBİL NAVİGASYON (Varsayılan) --- */

/* Hamburger Butonu */
.mobile-nav-toggle {
  display: flex; /* Mobilde göster */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001; /* Menünün üzerinde kalması için */
}

.mobile-nav-toggle .bar {
  width: 30px;
  height: 3px;
  background-color: #333;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

/* Menünün kendisi (başlangıçta gizli) */
.main-nav {
  position: fixed; /* Ekranı kaplaması için */
  top: 0;
  right: -100%; /* Ekranın tamamen sağına gizle */
  width: 250px;
  height: 100vh;
  background-color: #f8f9fa;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  padding-top: 5rem;
  transition: right 0.4s ease-in-out; /* Güzel açılma efekti */
  z-index: 99;
}

/* JS ile eklenecek 'active' class'ı */
.main-nav.is-active {
  right: 0; /* Menüyü görünür yap */
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-nav ul li {
  margin-bottom: 1.5rem;
  width: 100%;
  text-align: center;
}

.main-nav ul li a {
  padding: 0.8rem 4px;
  color: #414141;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  text-transform: uppercase;
}

/* Randevu Al Butonu Stili */
.button-cta {
  background-color: #3498db;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.button-cta:hover {
  background-color: #2980b9;
  color: #fff !important; /* Üzerine gelince rengi koru */
}

.container {
  max-width: 1320px;
  margin: 0px auto;
  padding: 0px 15px;
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

/* --- ANA İÇERİK --- */
.page-content {
  padding: 0 0px 20px;
}

.featured-post {
  margin-bottom: 3rem;
  position: relative;
}

.featured-post a {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  width: 100%;
  max-height: 480px;
}

.featured-post img {
  width: 100%;
  height: 100%;
  background-color: rgba(65, 65, 65, 0.05);
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.featured-post a:hover img {
  transform: scale(1.05);
}
.featured-post a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}
.featured-post-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
}
.featured-post-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0px;
}
.featured-post-content .post-date {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0px;
  font-weight: 500;
}

/* Main Grid */

.main-grid {
  display: grid;
  grid-template-columns: 1fr 30%;
  gap: 30px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.post-item a {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.post-item a:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 25px 50px -12px;
  color: var(--text-hover);
}
.post-item img {
  width: 276px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.post-item-content {
  padding: 8px 8px 8px 8px;
}
.post-item-content h2 {
  font-size: 1.4rem !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem !important;
  margin-top: 0px;
}
.post-item-content p {
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.post-item-content .post-date {
  font-size: 0.9rem;
  color: #999;
}

/* Appointment Sidebar */
.appointment-sidebar {
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.appointment-sidebar .sidebar-ic {
  background: red;
  width: 100%;
  position: relative;
}

.appointment-sidebar h3,
.page-icerik h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0px;
  color: var(--text-dark);
}
.appointment-sidebar p {
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 16px;
}
.appointment-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 13px 1.5rem;
  background-color: #5a4355;
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s;
}
.appointment-button:hover {
  background-color: #5a4355;
}
.appointment-button span {
  font-size: 1.5rem;
}

/* See All Link */
.see-all-link-container {
  text-align: center;
  margin-top: 3rem;
}
.see-all-link {
  font-weight: 700;
  background: #594254;
  font-size: 14px;
  display: inline-block;
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #fafafa;
  padding-top: 4rem;
  border-top: 1px solid var(--border-color);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer-widget h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0px;
}
.footer-widget .footer-nav li {
  margin: 0.5rem 2rem 0.5rem 0;
}
.footer-about .footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}
.footer-about p {
  color: var(--text-light);
  line-height: 1.7;
}
.footer-widget ul li {
  margin-bottom: 1rem;
}
.footer-widget ul a {
  color: var(--text-light);
}
.footer-widget ul a:hover {
  color: var(--text-hover);
}

.hasem {
  width: auto;
  height: 30px;
}

.footer-widget .footer-nav li a {
  transition: all ease 0.5s;
  color: #666;
}

.footer-widget .footer-nav li .icon {
  display: inline-block;
  color: #6c757d;
  opacity: 0.5;
  margin-right: 10px;
}

.footer-widget .footer-nav li:hover a {
  transition: all ease 0.5s;
  color: #594254;
}

.footer-widget .footer-nav li {
  margin: 0.5rem 2rem 0.5rem 0;
}
.footer-widget .footer-nav li a {
  transition: all ease 0.5s;
  color: #666;
}
.footer-widget .footer-nav li i {
  display: inline-block;
  color: #6c757d;
  opacity: 0.5;
  margin-right: 10px;
}

.footer-widget .footer-nav li:hover a {
  transition: all ease 0.5s;
  color: #594254;
}

.footer-widget .footer-nav li:hover a .icon {
  transition: all ease 0.5s;
  color: #594254;
}

.sub-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}
.sub-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sub-footer p {
  color: var(--text-light);
  font-size: 0.9rem;
}
.yobisi-logo {
  max-height: 25px;
}

.basliklabel {
  font-weight: 700;
  margin-top: 6px;
  margin-bottom: 5px;
  font-size: 14px;
  display: block;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #666;
  background-color: #fff;
  background-clip: padding-box;
  border: 0.1rem solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 8px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border-width: 0.1rem;
  height: auto;
  transition: all 0.15s linear;
}

.form-group {
  margin-bottom: 10px;
}

.guvenlik_resim {
  position: absolute;
  right: 0px;
  height: 25px;
  bottom: 8px;
}

.appointment-ic {
  padding: 20px 10px;
}

.text-yazi {
  font-weight: 700;
  font-size: 14px;
}

.modal {
  display: none;
}

.appointment-ic .btn {
  display: inline-block;
  font-weight: 700;
  line-height: 1.7;
  color: #666;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 0.1rem solid transparent;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/*page-haber*/

/**/

.page-baslik1 {
  background-color: #5a4355;
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
  color: #fff;
}

.page-baslik1 h1 {
  margin: 0px;
}

.page-icerik {
  padding: 40px 0px;
}

.image-hover-style-1 {
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  height: 338px;
}

.image-hover-style-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}
.image-hover-style-1:hover img {
  transform: scale(1.03);
}

/**/

.hakkimizda .hakkimizda-sol img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hakkimizda .hakkimizda-sag {
  font-weight: 500;
}

/*iletisim*/

h2.text-secondary {
  padding-bottom: 16px;
  margin-top: 0px;
}
.mb-2 {
  margin-bottom: 0.9375rem !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}

.pb-2 {
  padding-bottom: 0.9375rem !important;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.me-2 {
  margin-right: 0.9375rem !important;
}

.iletisim img {
  width: 100%;
  height: auto;
  margin-top: 25px;
  border-radius: 8px;
}

.d-none {
  display: none;
}

.list-inline {
  padding-left: 0;
  list-style: none;
}

.footer-back:hover {
  color: #fff;
  background-color: #594254;
}

.footer-back {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #594254;
  color: #fff;
  display: block;
  right: 30px;
  bottom: 30px;
  position: fixed;
  text-align: center;
  padding: 0.5rem 0;
  display: none;
  cursor: pointer;
}

.footer-back.show {
  display: block;
}

/* --- SOSYAL MEDYA PAYLAŞIM BUTONLARI --- */

.social-share {
  padding: 2rem 0;
  border-top: 1px solid #e9e9e9;
  margin-top: 2rem;
}

.share-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #414141;
  margin: 0 0 1rem 0;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap; /* Mobilde alt satıra kaymasını sağlar */
  gap: 1rem; /* Butonlar arasına boşluk koyar */
}

.share-button {
  /* Genel Buton Stili */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* İkon ile yazı arasına boşluk */
  padding: 0.75rem 1.5rem;
  border-radius: 8px; /* Yuvarlak köşeler */
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.share-button:hover {
  opacity: 0.85; /* Üzerine gelince hafif soluklaşsın */
}

/* Sosyal Medya Renkleri */
.share-button.facebook {
  background-color: #1877f2;
}

.share-button.twitter {
  background-color: #1da1f2;
}

.share-button.whatsapp {
  background-color: #25d366;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #e9e9e9;
}

.post-navigation .nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  max-width: 48%;
  flex-grow: 1;
  color: #414141;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.3s;
}

.post-navigation .nav-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.post-navigation .nav-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.post-navigation .nav-label {
  font-size: 0.9rem;
  color: #888;
  display: block;
  margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.post-navigation .nav-next {
  flex-direction: row-reverse;
}

.post-navigation .nav-next .nav-content {
  text-align: right;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .post-navigation {
    flex-direction: column;
  }
  .post-navigation .nav-link {
    max-width: 100%;
  }
}

@media (min-width: 1201px) {
  .appointment-ic .btn {
    position: absolute;
    right: -139px;
    top: -61px;
  }
  .mobile-nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    padding-top: 0;
    right: 0;
  }

  .main-nav ul {
    flex-direction: row;
    /* 1. ADIM: Elemanlar arası boşluğu biraz azaltalım */
    gap: 1.2rem; /* 1.5rem yerine 1.2rem yaptık */
    align-items: center;
  }

  .main-nav ul li {
    margin-bottom: 0;
  }

  .main-nav ul li a {
    font-size: 1rem;
    /* 2. ADIM: Metnin bölünmesini kesin olarak engelleyelim */
    white-space: nowrap; /* Bu kural kelimelerin alt satıra kaymasını engeller */
  }

  .page-haber .post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .hakkimizda {
    display: grid;
    grid-template-columns: 41% 1fr;
    gap: 30px;
  }

  .iletisim {
    display: grid;
    grid-template-columns: 53% 1fr;
    gap: 40px;
  }

  .form1 .col-md-9 {
    grid-template-columns: 63% 1fr;
    display: grid;
  }
}

@media (max-width: 1200px) {
}
@media (max-width: 1023px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .appointment-sidebar {
    margin-top: 2rem;
  }
  .footer-grid {
    display: none;
  }

  .featured-post-content h1 {
    font-size: 1.8rem;
  }
  .post-item a {
    flex-direction: column;
  }
  .post-item img {
    width: 100%;
    height: 200px;
  }
  .sub-footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .site-footer {
    background-color: #fafafa;
    padding-top: 0px;
    border-top: 1px solid var(--border-color);
  }

  .featured-post a {
    height: 320px;
  }

  .image-hover-style-1 {
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: auto;
  }
}

/* --- MOBİL SABİT EYLEM ÇUBUĞU --- */

.mobile-action-bar {
  /* Konumlandırma ve Görünürlük */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Her şeyin üstünde kalması için */

  /* Tasarım */
  display: flex; /* Butonları yan yana dizmek için */
  justify-content: space-around; /* Butonları eşit aralıklarla dağıtmak için */
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Yukarı doğru gölge */
  border-top: 1px solid #e9e9e9;
}

.action-button {
  /* Her bir butonun stili */
  display: flex;
  flex-direction: column; /* İkonu ve yazıyı alt alta dizmek için */
  align-items: center; /* Yatayda ortalamak için */
  justify-content: center; /* Dikeyde ortalamak için */

  flex-grow: 1; /* Her butonun eşit alan kaplamasını sağlar */
  padding: 10px 5px;

  color: #594254; /* Kendi tema renginiz */
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s;
}

.action-button i {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.action-button:hover {
  background-color: #f5f5f5;
}
@media (min-width: 768px) {
  .mobile-action-bar {
    display: none;
  }
}

.guvenlik_input {
  margin-bottom: 15px !important;
}

.form-group {
  position: relative;
}

.guvenlik_resim img {
  height: 100%;
  margin: 0px;
}

.form-group {
  margin-bottom: 7px;
}

textarea.form-control {
  height: 90px;
}

/**/

.diger-haberler {
  max-width: 700px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  background-color: #ffffff;
  margin-bottom: 25px;
}

.diger-haberler-ana-baslik {
  font-size: 18px !important;
  font-weight: 700;
  color: #111827;
  margin-top: 0;
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #e5e7eb;
}

.diger-haberler .haber-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #111827;
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.diger-haberler .haber-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.haber-item:hover .haber-item-baslik {
  color: #0056b3;
}

.diger-haberler .haber-item-resim {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.diger-haberler .haber-item-resim img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diger-haberler .haber-item-icerik {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.diger-haberler .haber-item-baslik {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px 0;
  color: #1f2937;
  transition: color 0.2s ease;
}

.diger-haberler .haber-item-aciklama {
  font-size: 14px;
  line-height: 1.4;
  color: #4b5563;
  margin: 0 0 10px 0;
}

.diger-haberler .haber-item-tarih {
  font-size: 12px;
  color: #6b7280;
  display: none;
  margin-top: auto;
}
