/* Custom CSS for Static Doutor Site */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&display=swap");

body,
html,
* {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

/* Mobile Menu Styles */
.mobile-menu-offcanvas {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 9999;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.mobile-menu-offcanvas.show {
  right: 0;
}

.offcanvas-header {
  padding: 20px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.offcanvas-body {
  padding: 20px;
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-menu-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mobile-menu-list li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mobile-menu-list li::before {
  display: none !important;
  content: none !important;
}

.mobile-menu-list .nav-item {
  margin-bottom: 10px !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
}

.mobile-menu-list .nav-item::before {
  display: none !important;
  content: none !important;
}

.mobile-menu-list .nav-link {
  display: block !important;
  padding: 15px 20px !important;
  color: #333 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #e9ecef !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.mobile-menu-list .nav-link:hover {
  background-color: #f8f9fa !important;
  color: #336aea !important;
  padding-left: 25px !important;
}

.mobile-menu-list .dropdown-menu {
  display: none;
  padding-left: 20px;
  margin-top: 10px;
}

.mobile-menu-list .dropdown-menu.show {
  display: block;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.dropdown-arrow.rotate-180 {
  transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 200px;
  padding: 10px 0;
  margin: 0;
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu .nav-link {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu .nav-link:hover,
.dropdown-menu .nav-link.active {
  background-color: #f8f9fa;
  color: #336aea;
}

/* Navbar Sticky Styles */
.navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Accordion Styles */
.accordion-item {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 15px;
}

.accordion-button {
  background-color: white;
  border: none;
  padding: 20px;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.accordion-button:hover {
  background-color: #f8f9fa;
}

.accordion-button.collapsed {
  border-radius: 8px;
}

.accordion-button:not(.collapsed) {
  background-color: #336aea;
  color: white;
  border-radius: 8px 8px 0 0;
}

.accordion-collapse {
  display: none;
}

.accordion-collapse.show {
  display: block;
}

.accordion-body {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Loading States */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.loader::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #336aea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Button Hover Effects */
.default-btn {
  transition: all 0.3s ease;
}

.default-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(51, 106, 234, 0.3);
}

.link-btn {
  transition: all 0.3s ease;
}

.link-btn:hover {
  transform: translateX(5px);
}

/* Card Hover Effects */
.benefit-card,
.service-card,
.doctor-card,
.feedback-card,
.blog-card,
.pricing-card {
  transition: all 0.3s ease;
}

.benefit-card:hover,
.service-card:hover,
.doctor-card:hover,
.feedback-card:hover,
.blog-card:hover,
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Image Error Handling */
img[alt]:after {
  content: "📷 " attr(alt);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
.nav-link:focus,
.default-btn:focus,
.link-btn:focus,
.accordion-button:focus {
  outline: 2px solid #336aea;
  outline-offset: 2px;
}

/* Form Validation */
.is-invalid {
  border-color: #dc3545 !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Alert Styles */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  animation: slideInRight 0.3s ease;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Bootstrap Offcanvas Override */
.offcanvas {
  max-width: 300px !important;
}

.offcanvas-body {
  padding: 0 !important;
}

.offcanvas-header {
  border-bottom: 1px solid #e9ecef !important;
  padding: 20px !important;
}

.mobile-menu {
  width: 100%;
}

.mobile-menu .others-option {
  padding: 20px !important;
  border-bottom: 1px solid #e9ecef !important;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
  .mobile-menu-offcanvas {
    width: 280px;
    right: -280px;
  }

  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .main-banner-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .fun {
    margin-bottom: 30px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
  }
}

/* Animation Classes */
.loaded .animate-on-scroll {
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .mobile-menu-offcanvas {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .ptb-140 {
    padding: 20px 0 !important;
  }
}

/* ===== Feedback Slider ===== */
.feedback-slider .feedback-inner-card {
  display: none;
}

.feedback-inner-card .list i {
  color: #ffb400;
  margin-right: 2px;
}

.feedback-inner-card .info {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.feedback-inner-card .info .image {
  margin-right: 10px;
}

/* ===== Partners Slider ===== */
.partners-slider {
  overflow: hidden;
  width: 100%;
  margin-top: 60px;
}

.partners-track {
  display: flex;
  gap: 60px; /* space between logos */
  animation: scroll 100s linear infinite; /* slow scrolling */
}

.partner-item img {
  height: 30px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.partner-item img:hover {
  opacity: 1;
}

/* ===== Animation ===== */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.choose-us-area2 {
  background-image: url("/images/choose-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  /* Senin istediklerin */
  margin: 40px auto; /* dış boşluk bırakır */
  padding: 60px 40px; /* içeride boşluk bırakır */
  border-radius: 40px; /* köşeleri yuvarlatır */
  max-width: 1400px; /* tam ekranı kaplamasın */
  overflow: hidden; /* köşelerden taşan arka planı keser */
}
