/* İzmir Servis Merkezi - Ana CSS Dosyası */

/* Genel Stiller */
:root {
  --primary-color: #c01e00;
  --secondary-color: #FF6600;
  --text-color: #333333;
  --background-color: #F5F5F5;
  --font-family: 'Poppins', sans-serif;
  --header-font: 'Montserrat', sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  font-weight: 600;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Header Stiller */
.top-bar {
  font-size: 0.9rem;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  max-height: 50px;
}

.navbar .nav-link {
  padding: 10px 15px;
  font-weight: 500;
}

.navbar .nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.dropdown-item {
  padding: 8px 15px;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Ana Sayfa Slider */
.carousel-item {
  height: 500px;
  overflow: hidden;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

/* Hızlı İletişim Kutusu */
.contact-box {
  background-color: var(--primary-color);
}

/* Hizmet Kartları */
.service-card {
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.service-card img {
  height: 200px;
  object-fit: cover;
}

/* Özellik Kutuları */
.feature-box {
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Marka Kartları */
.brand-category {
  transition: all 0.3s ease;
}

.brand-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.brand-item {
  transition: all 0.3s ease;
}

.brand-item:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Bölge Kartları */
.district-card {
  transition: all 0.3s ease;
}

.district-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.district-card img {
  height: 200px;
  object-fit: cover;
}

/* Testimonial Slider */
.testimonial-item {
  position: relative;
  padding: 30px;
  margin: 20px 10px;
}

.testimonial-avatar img {
  border: 5px solid #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Footer Stiller */
footer {
  background-color: #212529;
  color: #fff;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.social-links a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.footer-links {
  font-size: 0.9rem;
}

/* Marka Sayfası Stiller */
.brand-logo {
  max-height: 150px;
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
}

.brand-description {
  line-height: 1.8;
}

.service-item, .feature-item, .issue-item {
  transition: all 0.3s ease;
}

.service-item:hover, .feature-item:hover, .issue-item:hover {
  transform: translateX(5px);
  border-color: var(--primary-color) !important;
}

/* Bölge Sayfası Stiller */
.district-image {
  max-height: 200px;
  object-fit: cover;
}

/* Hizmet Sayfası Stiller */
.service-image {
  max-height: 200px;
  object-fit: cover;
}

.process-step {
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateX(5px);
}

.step-number span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sayfa Şablonu Stiller */
.page-content-text {
  line-height: 1.8;
}

.page-content-text h1, .page-content-text h2, .page-content-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.page-content-text p {
  margin-bottom: 1rem;
}

.page-content-text ul, .page-content-text ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

/* 404 Sayfası Stiller */
.error-header {
  background-color: #dc3545;
}

.error-icon {
  color: #dc3545;
}

/* WhatsApp Sabit Buton */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button .btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Arama Sabit Buton (Mobil) */
.call-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.call-button .btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Medya Sorguları */
@media (max-width: 767.98px) {
  .carousel-item {
    height: 300px;
  }
  
  .carousel-caption {
    padding: 10px;
  }
  
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 0.875rem;
  }
  
  .carousel-caption .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
  }
  
  .navbar-brand img {
    max-height: 40px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-box {
    margin-bottom: 20px;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .district-card img {
    height: 150px;
  }
}

@media (max-width: 991.98px) {
  .navbar .nav-link {
    padding: 8px 10px;
  }
  
  .navbar .btn {
    margin-top: 10px;
    display: block;
    width: 100%;
  }
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  animation: fadeIn 0.6s ease forwards;
}

/* Highlight renk */
.highlight {
  background-color: #ffffcc;
  padding: 2px 5px;
  border-radius: 3px;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 5.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
}

.kare {
    height: 120px !important;
}

.dropdown-menu {
  max-height: 400px; /* Dropdown menü maksimum yüksekliği */
  overflow-y: auto; /* Dikey scroll ekler */
  scrollbar-width: thin; /* Firefox için scroll çubuğu genişliği */
}

/* Webkit tarayıcılar (Chrome, Safari) için scroll çubuğu stilleri */
.dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* 10 öğeden sonra scroll olması için */
.dropdown-menu li:nth-child(10) ~ li {
  /* Burada ekstra bir stil eklemek isterseniz */
}