/* ========================================
   RESPONSIVE DESIGN - MOBİL VE TABLET UYUMLULUĞU
   Responsive tasarım - Mobil ve tablet uyumluluk stilleri
   ======================================== */

/* Genel Responsive Ayarlar - Tüm ekran boyutları için temel düzenlemeler */
@media (max-width: 1199.98px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Tablet Boyutları (768px - 1181px) - Tablet ekranlar için düzenlemeler */
@media (max-width: 1181px) {
  /* Menü Düzenlemeleri */
  .navbar .navbar-brand {
    max-width: 150px;
  }
  
  .navbar .navbar-brand img {
    max-height: 40px;
    width: auto;
  }
  
  /* Mobil menü kapanma sorunları için ek CSS düzenlemeleri */
  .navbar-collapse {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
  }
  
  .navbar-collapse.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* Bootstrap'ın kendi stillerini override et */
  .navbar-collapse.collapse {
    display: none !important;
  }
  
  .navbar-collapse.collapse.show {
    display: block !important;
  }
  
  .navbar-toggler.collapsed {
    background: transparent;
  }
  
  .navbar-toggler:not(.collapsed) {
    background: transparent;
  }
  
  /* Dropdown menüler için mobil CSS - Mobil menü dropdown stilleri */
  .navbar .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 5px 0 !important;
    padding: 10px 0 !important;
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 5px !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  .navbar .dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Bootstrap'ın kendi dropdown stillerini override et */
  .navbar .dropdown-menu.collapse {
    display: none !important;
  }
  
  .navbar .dropdown-menu.collapse.show {
    display: block !important;
  }
  
  .navbar .dropdown-menu li {
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .navbar .dropdown-menu li a {
    padding: 8px 20px !important;
    color: #495057 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #e9ecef !important;
    display: block !important;
  }
  
  .navbar .dropdown-menu li:last-child a {
    border-bottom: none !important;
  }
  
  .navbar .dropdown-menu li a:hover {
    background-color: #e9ecef !important;
    color: #5f2e88 !important;
  }
  
  /* Hizmetler Çubuğu Düzenlemeleri */
  .services-bar-card {
    margin-bottom: 15px;
    text-align: center;
  }
  
  .services-bar-card .thumb-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  /* About Section */
  .about .about-img {
    margin-bottom: 30px;
  }
  
  /* Features Section */
  .features .feature-panel {
    margin-bottom: 30px;
  }
  
  /* CTA Section */
  .cta .heading {
    text-align: center;
    margin-bottom: 30px;
  }
  
  /* Blog Section */
  .blog .blog-entry {
    margin-bottom: 30px;
  }
  
  /* Map Section */
  .map iframe {
    height: 300px;
  }
}

/* Mobil Boyutları (576px - 767px) - Mobil telefonlar için düzenlemeler */
@media (max-width: 767.98px) {
  /* Genel Düzenlemeler */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Menü Düzenlemeleri */
  .navbar {
    min-height: 70px;
  }
  
  .navbar .navbar-brand {
    max-width: 120px;
  }
  
  .navbar .navbar-brand img {
    max-height: 35px;
  }
  
  /* Services Bar */
  .services-bar {
    padding: 30px 0;
  }
  
  .services-bar-card {
    margin-bottom: 20px;
    padding: 20px 15px;
  }
  
  .services-bar-card .thumb-icon {
    font-size: 1.8rem;
  }
  
  .services-bar-card h3 {
    font-size: 1.1rem;
  }
  
  /* About Section */
  .about {
    padding: 50px 0;
  }
  
  .about .heading-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .about .heading-subtitle {
    font-size: 1rem;
  }
  
  /* Features Section */
  .features {
    padding: 50px 0;
  }
  
  .features .heading-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .features .feature-panel {
    padding: 25px 20px;
    margin-bottom: 25px;
  }
  
  .features .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .features .feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  /* CTA Section */
  .cta {
    padding: 50px 0;
  }
  
  .cta .heading-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .cta .advantages-list {
    margin-top: 20px;
  }
  
  .cta .advantages-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
  }
  
  /* Blog Section */
  .blog {
    padding: 50px 0;
  }
  
  .blog .heading-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .blog .blog-entry {
    margin-bottom: 25px;
  }
  
  .blog .entry-content {
    padding: 20px 15px;
  }
  
  .blog .entry-title h4 {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  /* Map Section */
  .map {
    height: 300px;
  }
  
  .map iframe {
    height: 300px;
  }
  
  .map .accordion {
    margin-top: 20px;
  }
  
  /* Footer Düzenlemeleri */
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-top {
    padding-bottom: 30px;
  }
  
  .footer-widget {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .footer-widget-title h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .footer-widget .widget-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .footer-widget .widget-content ul li {
    margin-bottom: 8px;
  }
  
  .footer-widget .widget-content ul li a {
    font-size: 0.9rem;
  }
  
  .module-social {
    justify-content: center;
    margin-top: 15px;
  }
  
  .module-social a {
    margin: 0 8px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .footer-bottom {
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-copyright {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* Küçük Mobil Boyutları (max-width: 575px) - Küçük ekranlar için düzenlemeler */
@media (max-width: 575.98px) {
  /* Genel Düzenlemeler */
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  /* Menü Düzenlemeleri */
  .navbar {
    min-height: 60px;
  }
  
  .navbar .navbar-brand {
    max-width: 100px;
  }
  
  .navbar .navbar-brand img {
    max-height: 30px;
  }
  
  /* Services Bar */
  .services-bar {
    padding: 25px 0;
  }
  
  .services-bar-card {
    padding: 15px 10px;
    margin-bottom: 15px;
  }
  
  .services-bar-card .thumb-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  
  .services-bar-card h3 {
    font-size: 1rem;
  }
  
  .services-bar-card p {
    font-size: 0.85rem;
  }
  
  /* About Section */
  .about {
    padding: 40px 0;
  }
  
  .about .heading-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .about .heading-subtitle {
    font-size: 0.9rem;
  }
  
  .about .about-block p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  /* Features Section */
  .features {
    padding: 40px 0;
  }
  
  .features .heading-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .features .feature-panel {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .features .feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .features .feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .features .feature-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* CTA Section */
  .cta {
    padding: 40px 0;
  }
  
  .cta .heading-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .cta .prief-set p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .cta .advantages-list li {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  
  /* Blog Section */
  .blog {
    padding: 40px 0;
  }
  
  .blog .heading-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .blog .blog-entry {
    margin-bottom: 20px;
  }
  
  .blog .entry-content {
    padding: 15px 12px;
  }
  
  .blog .entry-title h4 {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .blog .entry-bio p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Map Section */
  .map {
    height: 250px;
  }
  
  .map iframe {
    height: 250px;
  }
  
  .map .accordion h4 {
    font-size: 1.1rem;
  }
  
  .map .info li {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  
  /* Footer Düzenlemeleri */
  .footer {
    padding: 30px 0 15px;
  }
  
  .footer-top {
    padding-bottom: 25px;
  }
  
  .footer-widget {
    margin-bottom: 25px;
  }
  
  .footer-widget-title h5 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .footer-widget .widget-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .footer-widget .widget-content ul li {
    margin-bottom: 6px;
  }
  
  .footer-widget .widget-content ul li a {
    font-size: 0.85rem;
  }
  
  .module-social a {
    margin: 0 6px;
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .footer-bottom {
    padding: 15px 0;
  }
  
  .footer-copyright {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* Blog Yazısı Sayfası Responsive Düzenlemeleri */
@media (max-width: 767.98px) {
  .post-page .article-hero {
    padding: 80px 0 50px;
    min-height: 50vh;
  }
  
  .post-page .article-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .post-page .article-excerpt {
    font-size: 1rem;
  }
  
  .post-page .main-content {
    padding: 30px 0;
  }
  
  .post-page .article-body {
    padding: 20px 15px;
  }
  
  .post-page .blog-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .post-page .blog-content h1 {
    font-size: 1.6rem;
  }
  
  .post-page .blog-content h2 {
    font-size: 1.4rem;
  }
  
  .post-page .blog-content h3 {
    font-size: 1.2rem;
  }
  
  .post-page .sidebar-widget {
    margin-top: 30px;
    padding: 20px 15px;
  }
  
  .post-page .article-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .post-page .btn-ala,
  .post-page .btn-ala-outline {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

@media (max-width: 575.98px) {
  .post-page .article-hero {
    padding: 70px 0 40px;
    min-height: 45vh;
  }
  
  .post-page .article-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .post-page .article-excerpt {
    font-size: 0.9rem;
  }
  
  .post-page .main-content {
    padding: 25px 0;
  }
  
  .post-page .article-body {
    padding: 15px 10px;
  }
  
  .post-page .blog-content {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .post-page .blog-content h1 {
    font-size: 1.4rem;
  }
  
  .post-page .blog-content h2 {
    font-size: 1.2rem;
  }
  
  .post-page .blog-content h3 {
    font-size: 1.1rem;
  }
  
  .post-page .sidebar-widget {
    padding: 15px 12px;
  }
  
  .post-page .widget-title {
    font-size: 1.1rem;
  }
  
  .post-page .similar-post a {
    font-size: 0.9rem;
  }
}

/* Yukarı Çık Butonu */
.backtop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #5f2e88;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(95, 46, 136, 0.3);
}

.backtop:hover {
  background: #1b1a1a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(95, 46, 136, 0.4);
}

@media (max-width: 575.98px) {
  .backtop {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
  
  .backtop i {
    font-size: 14px;
  }
}

/* Yardımcı Sınıflar */
.text-center-mobile {
  text-align: center;
}

@media (min-width: 768px) {
  .text-center-mobile {
    text-align: left;
  }
}

.mb-mobile {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .mb-mobile {
    margin-bottom: 0;
  }
}

/* Yumuşak Kaydırma */
html {
  scroll-behavior: smooth;
}

/* Yükleme Animasyonu */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
