@import url('https://use.fontawesome.com/releases/v5.6.3/css/all.css');

/* --- Reset (çok agresif olmadan) --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Link ve liste resetini globalde kapatma: içerik listeleri/SEO için önemli */
a { text-decoration: none; }
ul, ol { margin: 0; padding: 0; }

/* İçerik içindeki gerçek madde işaretlerini korumak isterseniz:
   ul, ol { padding-left: 1.2rem; }  (Şu an sıfır bırakıyorum)
*/

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #000;
}

/* Headings */
h1 { font-size: 1.25rem; } /* "larger" yerine daha kontrollü */
h1, h2, h3, h4, h5, h6 {
  text-transform: none;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px; /* 2px bazı cihazlarda fazla boşluk yapıyor */
}

/* --- Sabit iletişim butonları --- */
.button-contact {
  position: fixed;
  z-index: 9999; /* !important gereksiz */
  right: 180px;
  bottom: 20px;
}

.hemenara {
  width: 200px;
  position: fixed;
  right: 8px;
  bottom: 40px;
  background-color: rgba(37, 211, 101, 0.505);
  z-index: 9001;
  height: 50px;
  padding: 0 15px 0 30px;
  border-radius: 0 25px 25px 0;
}

.hemenara span {
  margin-top: 4px;
  line-height: 16px;
  width: 100%;
  display: block;
  font-size: 12px;
  color: #fff;
  padding-left: 40px;
}

.hemenara p {
  display: block;
  padding-left: 40px;
  width: 100%;
  font-size: 19px;
  font-weight: 900;
  color: #fff;
}

/* --- Telefon animasyon bloğu --- */
.button-contact .phone-vr {
  position: relative;
  visibility: visible;
  background-color: transparent;
  width: 90px;
  height: 90px;
  cursor: pointer;
  z-index: 11;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transition: visibility .5s;
  left: 0;
  bottom: 0;
  display: block;
}

.phone-vr-circle-fill {
  width: 65px;
  height: 65px;
  top: 12px;
  left: 5px;
  position: absolute;
  box-shadow: 0 0 0 0 #25D366;
  background-color: #25D366;
  border-radius: 50%;
  border: 2px solid transparent;
  -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
  animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
  transition: all .5s;
  transform-origin: 50% 50%;
}

/* Burada animasyon yanlış verilmişti + "-webkit-animuiion" yazım hatası vardı */
.phone-vr-img-circle {
  background-color: #25D366;
  width: 50px;
  height: 50px;
  line-height: 50px;
  top: 22px;
  left: 15px;
  position: absolute;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
}

.phone-vr-img-circle a {
  display: block;
  line-height: 40px;
}

.phone-vr-img-circle a i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  text-align: center;
  font-size: 20px;
}

@-webkit-keyframes phone-vr-circle-fill {
  0%   { -webkit-transform: rotate(0) scale(1) skew(1deg); }
  10%  { -webkit-transform: rotate(-25deg) scale(1) skew(1deg); }
  20%  { -webkit-transform: rotate(25deg) scale(1) skew(1deg); }
  30%  { -webkit-transform: rotate(-25deg) scale(1) skew(1deg); }
  40%  { -webkit-transform: rotate(25deg) scale(1) skew(1deg); }
  50%  { -webkit-transform: rotate(0) scale(1) skew(1deg); }
  100% { -webkit-transform: rotate(0) scale(1) skew(1deg); }
}

@keyframes phone-vr-circle-fill {
  0%   { transform: rotate(0) scale(1) skew(1deg); }
  10%  { transform: rotate(-25deg) scale(1) skew(1deg); }
  20%  { transform: rotate(25deg) scale(1) skew(1deg); }
  30%  { transform: rotate(-25deg) scale(1) skew(1deg); }
  40%  { transform: rotate(25deg) scale(1) skew(1deg); }
  50%  { transform: rotate(0) scale(1) skew(1deg); }
  100% { transform: rotate(0) scale(1) skew(1deg); }
}

/* Eksikti: icon sallanma animasyonu */
@keyframes phonering-alo-circle-img-anim {
  0%   { transform: rotate(0); }
  10%  { transform: rotate(-10deg); }
  20%  { transform: rotate(10deg); }
  30%  { transform: rotate(-10deg); }
  40%  { transform: rotate(10deg); }
  50%  { transform: rotate(0); }
  100% { transform: rotate(0); }
}

/* --- Layout --- */
.icerik {
  display: flex;
  padding: 3%;
  gap: 3%; /* sağ-sol boşluk daha düzenli */
}

.cat-list a {
  color: #0969C3;
  font-size: 16px;
}

/* Linklere hover eklemek istersen (SEO değil UX) */
.cat-list a:hover { text-decoration: underline; }

.yazi {
  width: 70%;
  padding-bottom: 1%;
  padding-right: 10%;
}

.yazi-2 {
  width: 90%;
  padding-bottom: 1%;
  padding-right: 10%;
}

/* KRİTİK DÜZELTME: sadece .yazi içindeki başlık ve p’leri hedefle */
.yazi p,
.yazi h2,
.yazi h3,
.yazi h4,
.yazi h5,
.yazi h6 {
  padding: 2%;
}

/* .yazi-2 için de aynı davranış gerekiyorsa */
.yazi-2 p,
.yazi-2 h2,
.yazi-2 h3,
.yazi-2 h4,
.yazi-2 h5,
.yazi-2 h6 {
  padding: 2%;
}

.widget { width: 20%; }

.cat-list li { padding-bottom: 10px; }

.iletisim {
  padding: 3%;
  color: #000;
  font-size: 1rem;
}

.iletisim span,
.iletisim a {
  color: #000;
  font-size: 1.125rem;
}

.img-responsive {
  display: block;
  padding: 5%;
  max-width: 100%;
  height: auto; /* max-height yerine doğru responsive davranış */
}

/* --- Footer --- */
.footer {
  display: block;
  background-color: #fff;
  font-size: 14px;
  padding: 3% 5% 1% 5%;
  color: #000;
  border-top: 2px solid #000;
}

/* .breadcrumb-area iki kez tanımlanmıştı: birleştirdim */
.breadcrumb-area {
  width: 100%;
  height: 200px;
  background-color: #000;
  background-size: cover;
  background-position: center left;
  padding-bottom: 40px;
}

/* Bu class adını mümkünse .hero-title yapın (HTML değişirse).
   Şimdilik dokunmuyorum. */
.h1 {
  color: #fff;
  font-size: 25px;
  padding-top: 70px;
  text-align: center;
  text-shadow: 20px 20px 20px #000, 5px 5px 5px #000;
}

/* --- Table --- */
table {
  text-align: center;
  width: 100%;
  border: 1px solid #000;
  border-collapse: collapse; /* görünüm daha düzgün */
}

td, th {
  border: 1px solid #000;
  padding: 2%;
}

/* --- Metin alanları --- */
.hakkimizda { color: #000; font-size: 1rem; }
.hakkimizda-2 { color: #000; font-size: 0.875rem; padding-left: 3%; }
.hakkimizda-2 a { color: #000; font-size: 0.875rem; }

/* --- Mobil --- */
@media (max-width: 768px) {
  .icerik { display: block; }
  .yazi { width: 90%; padding-right: 0; }
  .widget { width: 100%; }

  /* Sabit butonların ekrandan taşmasını önle */
  .button-contact { right: 16px; bottom: 16px; }
  .hemenara { right: 16px; bottom: 110px; width: 180px; }
}

/* Erişilebilirlik: hareket azaltma */
@media (prefers-reduced-motion: reduce) {
  .phone-vr-circle-fill,
  .phone-vr-img-circle {
    animation: none !important;
    -webkit-animation: none !important;
  }
}



/* Sabit "Tıkla Ara" */
.fixed-call-btn {
  position: fixed;
  right: 50px;
  bottom: 150px;
  z-index: 9999;
  display: inline-block;
}

.fixed-call-btn__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #193366;
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.15);
}

.fixed-call-btn__inner .fas {
  font-size: 16px;
}

.fixed-call-btn:hover .fixed-call-btn__inner {
  filter: brightness(1.05);
}

.fixed-call-btn:focus-visible .fixed-call-btn__inner,
.whatsapp-button:focus-visible {
  outline: 3px solid rgba(25, 51, 102, 0.35);
  outline-offset: 3px;
}

/* Sabit WhatsApp yan menü */
.fixed-side-menu {
  position: fixed;
  right: 0;
  bottom: 40px;
  z-index: 9001;
}

.whatsapp-button {
  display: inline-block;
  background-color: rgba(37, 211, 101, 0.90);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.18);
}

.whatsapp-button:hover {
  filter: brightness(1.05);
}

/* Mobil uyumluluk + diğer sabit butonlarla çakışmayı azaltma */
@media (max-width: 768px) {
  .fixed-call-btn {
    right: 16px;
    bottom: 170px; /* button-contact varsa üst üste binmesin */
  }

  .fixed-call-btn__inner {
    font-size: 13px;
    padding: 10px 12px;
  }

  .fixed-side-menu {
    bottom: 110px; /* hemenara vb. varsa çakışmayı azaltır */
  }

  .whatsapp-button {
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* Hareket azaltma (erişilebilirlik) */
@media (prefers-reduced-motion: reduce) {
  .fixed-call-btn__inner,
  .whatsapp-button {
    transition: none !important;
  }
}
