/* ---------------------- */
/* Masaüstü için page-header fix */
.page-header {
  background-image: none !important;
  background-color: #3f5787 !important;
  padding: 60px 0;
}

.page-header .heading h1 {
  color: #fff !important;
  font-size: 36px;
  font-weight: bold;
}

.page-header .heading ul {
  display: none;
}

/* ---------------------- */
@media(max-width:991px){
  .reviews-buton2{
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    -ms-transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    margin:20px 0;
  }
  .header-bottom .logo img {
  max-height: 80px !important;
  height: auto !important;
  width: auto !important;
}

@media (max-width: 768px) {
  .header-bottom .logo img {
    max-height: 60px !important;
  }
}


  .detay-baslik{
    font-size: 25px !important;
  }

  .page-header .heading{
    width: 95%;
  }

  .page-header {
    background-image: none !important;
    background-color: #3f5787 !important;
    padding: 30px 0;
  }

  .page-header .heading h1 {
    font-size:33px;
    margin-top:0;
    margin-bottom:0;
  }

  .page-header .heading ul{ display:none; }

  .page-header .heading ul{
    padding: 7px 25px;
  }

  .page-header .heading ul li{
    font-size:12px;
  }

  .page-content, .news, .services{
    padding-top:20px !important;
  }

  .news .news-item, .services .service{ margin-top: 0;margin-bottom:70px; }

  .wp1, .wp2{
    border-radius: 0;
    width: 50%;
    bottom:0;
    left: 0;
    height: 40px;
    line-height: 40px;
  }

  .wp2{
    left: auto;
    right: 0;
    display:block;
    border-left:1px solid rgba(255,255,255,0.4);
  }

  .wp1 i, .wp2 i{
    line-height: 40px;
    font-size: 1.5em;
  }
}

.services .service .service-item .box-img a img{
  -webkit-transform: scale(1);
  transform: scale(1);
}

.testimonials .right .swiper-slide .customer-text p{font-size:18px;}

.page-content .hakkimda-gorusler .customer-text{ font-size:18px; }

.wp1, .wp2{
  background-color: #25d366;
  display: block;
  position: fixed;
  z-index: 999;
  bottom: 20px;
  left: 20px;
  border-radius: 100%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  margin: 0;
  padding: 0;
}

.wp2{
  left:auto;
  right:20px;
  background-color: #149946;
  display:none;
}

.wp1 i, .wp2 i{
  font-size: 2em;
  line-height: 60px;
  color: #fff;
  margin: 0;
  padding: 0;
}

.arayalim{
  position: fixed !important;
  right: 0;
  top: 59% !important;
  transform: translateY(-50%) !important;
  z-index: 999 !important;
}

.arayalim-buton{
  background-color: #333 !important;
  color: #fff !important;
  width: 40px !important;
  line-height: 40px !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  height: 250px !important;
  border-radius: 7px 0 0 7px !important;
  text-align: center !important;
  position: relative !important;
  writing-mode: vertical-lr !important;
  transition: 300ms all !important;
}

.arayalim-buton:hover{
  background-color: #fff !important;
  color: #333 !important;
}

.arayalim-form{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: -350px;
  background-color: #333 !important;
  width: 350px !important;
  height: auto !important;
  padding: 70px 30px 30px 30px !important;
  border-radius: 7px !important;
}

.arayalim-form p{
  font-weight: 600 !important;
  color: #fff !important;
  font-size: 17px !important;
}

.arayalim-form .form-group input{
  width: 100% !important;
  padding: 7px 10px !important;
  height: auto !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  border:none !important;
  background-color: #fff !important;
}

.arayalim-form .form-group button{
  width: 100% !important;
  padding: 10px 15px !important;
  background-color: #222 !important;
  border: none !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: block !important;
  color: #fff !important;
}

.arayalim-form .form-group p{
  line-height: 23px !important;
  font-size: 14px !important;
}

.arayalim-kapat{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  color: #000 !important;
  background-color: #fff !important;
  padding: 7px 15px !important;
}

.arayalim-kapat:hover{
  background-color: #333 !important;
  color: #fff !important;
}

.menu ul li.active a[href*="blog.php"] {
  color: #3b3b98 !important;
}
.blog-page .page-header {
  background-image: none !important;
  background-color: #334a7d !important;
}
.header-bottom .logo img {
  width: auto !important;
  max-height: 80px !important;
}

@media (max-width: 768px) {
  .header-bottom .logo img {
    max-height: 60px !important;
  }
}



/* Blog Detay Sayfası Düzeltmeleri */
.blog-detay-header {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.blog-detay-header .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.blog-detay-header .heading {
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.blog-detay-header h1 {
  text-align: center !important;
  width: 100% !important;
}

/* Blog içerik alanı */
.blog-content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .blog-detay-header {
    padding: 40px 0 20px 0 !important;
  }
  
  .blog-detay-header h1 {
    font-size: 24px !important;
  }
  
  /* Blog detay içerik responsive */
  .blog-content-flex {
    flex-direction: column !important;
  }
  
  .blog-content-flex > div {
    flex: 1 1 100% !important;
    min-width: 100% !important;
  }
}


/* Blog sayfası ve detay başlık alanı - Orijinal mor/mavi renk */


/* ============================================
   GELİŞMİŞ RANDEVU BUTONU VE FORM
   ============================================ */

/* Sticky Randevu Butonu - Sağ Alt Köşe */
.sticky-appointment-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 998;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: pulse 2s infinite;
}

.sticky-appointment-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.sticky-appointment-btn i {
  font-size: 20px;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(102, 126, 234, 0.7);
  }
}

/* WhatsApp ve Telefon Butonları İyileştirme */
.wp1, .wp2 {
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wp1:hover, .wp2:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Randevu Formu İyileştirmeleri */
.arayalim-form {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.arayalim-form .form-group button {
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.arayalim-form .form-group button:hover {
  background-color: #667eea !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.arayalim-form .form-group input:focus {
  outline: 2px solid #667eea !important;
  outline-offset: 2px;
}

/* Ana Sayfa Randevu Bölümü */
.appointment-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.appointment-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.appointment-section .container {
  position: relative;
  z-index: 1;
}

.appointment-section h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
  color: white;
}

.appointment-section p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.appointment-methods {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.appointment-method {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 35px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  transition: all 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.appointment-method:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.appointment-method i {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.appointment-method h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.appointment-method p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.appointment-method a {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.appointment-method a:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

/* Mobil Responsive */
@media (max-width: 768px) {
  .sticky-appointment-btn {
    bottom: 70px;
    right: 10px;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .appointment-section h2 {
    font-size: 32px;
  }
  
  .appointment-section p {
    font-size: 16px;
  }
  
  .appointment-methods {
    gap: 20px;
  }
  
  .appointment-method {
    min-width: 100%;
  }
  
  .wp1, .wp2 {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  
  .wp1 i, .wp2 i {
    font-size: 1.5em;
    line-height: 50px;
  }
  
  .arayalim-form {
    width: 300px !important;
    right: -300px;
  }
}

/* Randevu Başarı Mesajı */
.appointment-success {
  background: #4caf50;
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  margin-top: 20px;
  display: none;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hızlı İletişim Kartları */
.quick-contact-cards {
  display: flex;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.quick-contact-card {
  flex: 1;
  min-width: 200px;
  background: white;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.quick-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.quick-contact-card i {
  font-size: 36px;
  color: #667eea;
  margin-bottom: 15px;
}

.quick-contact-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.quick-contact-card a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.quick-contact-card a:hover {
  text-decoration: underline;
}


/* ============================================
   PSİKOLOJİK HİZMETLER BÖLÜMÜ
   ============================================ */

/* Hizmetler bölümüne çerçeve */
.services {
  border: 5px solid #667eea;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 40px 0;
  padding: 60px 0 !important;
}

/* Tüm service-box'ların yüksekliği eşit olsun */
.service-box {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-box p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Randevu kartlarının yüksekliği eşit olsun */
.appointment-method {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.appointment-method a {
  margin-top: auto;
}

/* Mobil responsive */
@media (max-width: 768px) {
  .services {
    border-width: 3px;
    margin: 20px 0;
    padding: 40px 0 !important;
  }
  
  .service-box {
    min-height: 200px;
  }
  
  .appointment-method {
    min-height: 320px;
  }
}


/* ============================================
   MOBİL OPTİMİZASYON - SADECE YENİ BÖLÜMLER
   ============================================ */

/* Randevu Bölümü Mobil - Sadece Yeni Bölüm */
@media (max-width: 768px) {
  .appointment-section {
    padding: 40px 0 !important;
    border-width: 3px !important;
  }
  
  .appointment-methods {
    gap: 15px !important;
  }
  
  .appointment-method {
    min-height: 300px !important;
    padding: 25px !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* Sticky Butonlar Mobil */
@media (max-width: 768px) {
  /* Yan randevu butonunu mobilde gizle */
  .arayalim {
    display: none !important;
  }
  
  /* Telefon butonu - EN ÜSTTE */
  .wp2 {
    bottom: 140px !important;
    right: 10px !important;
    display: block !important;
    z-index: 999 !important;
  }
  
  /* WhatsApp butonu - ORTADA */
  .wp1 {
    bottom: 80px !important;
    left: auto !important;
    right: 10px !important;
    z-index: 999 !important;
  }
  
  /* Hızlı Randevu butonu - EN ALTTA */
  .sticky-appointment-btn {
    bottom: 20px !important;
    right: 10px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    z-index: 999 !important;
  }
  
  .sticky-appointment-btn span {
    display: inline !important;
  }
  
  .sticky-appointment-btn i {
    margin-right: 5px !important;
  }
  
  /* Scroll to top butonu - SOL ALTTA */
  .scrolltop {
    bottom: 20px !important;
    left: 10px !important;
    right: auto !important;
    z-index: 999 !important;
  }
}

/* Ana Sayfa Hizmetler Bölümü Mobil */
@media (max-width: 768px) {
  .services {
    border-width: 3px !important;
    margin: 20px 10px !important;
  }
  
  .service-box {
    min-height: 180px !important;
  }
}

/* Landscape Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .appointment-method {
    min-width: 45% !important;
    max-width: 45% !important;
  }
}


/* ============================================
   HERO BÖLÜMÜ MOBİL - SADECE BUTON DÜZENLEMESİ
   ============================================ */

@media (max-width: 768px) {
  /* Sadece slider butonlarını düzenle */
  .slider .contact-button {
    position: static !important;
    transform: none !important;
    margin-top: 20px !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .slider .contact-button a,
  .slider .contact-button span,
  .slider .contact-button b {
    display: block !important;
    margin: 10px auto !important;
  }
}
