/* Model Detay Sayfaları Ortak Tasarımı */
body {
  background-color: #f4f7fb;
}

.model-header {
  background: linear-gradient(135deg, #021124 0%, #00274D 40%, #0057B8 100%);
  padding: 100px 20px 80px;
  text-align: center;
  color: #fff;
  margin-top: 60px; /* Header boşluğu */
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.model-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
}

.model-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.model-header p {
  font-size: 1.25rem;
  opacity: 0.95;
  font-family: 'Manrope', sans-serif;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  color: #e6f0fa;
}

.services-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-block {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 39, 77, 0.08), 0 4px 10px -3px rgba(0, 39, 77, 0.04);
  border: 1px solid rgba(0, 87, 184, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer; /* Üstüne gelince tıklanabilir hissiyatı verir */
}

/* Karta premium bir "parlama (shine)" efekti */
.service-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-25deg);
  transition: all 0.7s ease;
  z-index: 10;
  pointer-events: none;
}

.service-block:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px -15px rgba(0, 87, 184, 0.25), 0 10px 20px -5px rgba(0, 87, 184, 0.12);
}

.service-block:hover::after {
  left: 150%;
}

.service-block:nth-child(even) {
  /* 2li grid sisteminde row-reverse'e gerek yok, kart düzenine geçildi */
  flex-direction: column;
}

.service-img {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at center, #ffffff 0%, #edf2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-bottom: 1px solid rgba(0, 87, 184, 0.05);
}

.service-img img {
  width: 100%;
  height: 220px;
  object-fit: contain; /* Resimlerin kesilmeden TAM görünmesini sağlar */
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: drop-shadow(0 15px 25px rgba(0, 39, 77, 0.1)); /* Resimlere şık bir derinlik katar */
}

.service-block:hover .service-img img {
  transform: scale(1.12) translateY(-5px); /* Daha dinamik ve belirgin büyüme */
  filter: drop-shadow(0 20px 30px rgba(0, 39, 77, 0.2));
}

.service-content {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  text-align: center; /* Yazıları ortalar */
}

.service-content h3 {
  font-family: 'Playfair Display', serif;
  color: #003366;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 12px;
}

.service-content h3::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* Alt çizgiyi tam merkeze alır */
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #0057B8;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-block:hover .service-content h3::after {
  width: 80px;
}

.service-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: auto; /* Yazıyı yukarı iter, uyarı notunu her kartta en alta hizalar */
}

/* Genel Tamir Bildirimi (Modern Banner) */
.global-repair-notice {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #001A33, #003366);
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 39, 77, 0.15);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.global-repair-notice::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

@keyframes iconPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 202, 44, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255, 202, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 202, 44, 0); }
}

.notice-icon {
  font-size: 3rem;
  color: #ffca2c;
  background: rgba(255, 255, 255, 0.08);
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255, 202, 44, 0.1);
  animation: iconPulse 2.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

.notice-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.notice-text p {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
}

/* 5. Öğe (Son Kart) İçin Özel Tam Genişlik (Yatay) Tasarımı */
.service-block:last-child {
  grid-column: 1 / -1; /* Izgarada tam satırı (2 sütunu birden) kapla */
  flex-direction: row; /* Resmi solda, yazıyı sağda tut */
  align-items: stretch;
}

.service-block:last-child .service-img {
  width: 50%;
  flex-shrink: 0;
  border-bottom: none;
  border-right: 1px solid rgba(0, 87, 184, 0.05);
  background: radial-gradient(circle at right, #ffffff 0%, #edf2f7 100%);
}

.service-block:last-child .service-img img {
  height: 100%;
  min-height: 280px;
}

.service-block:last-child .service-content {
  width: 50%;
  padding: 40px 50px;
  justify-content: center;
  align-items: flex-start;
  text-align: left; /* Son kart yatay olduğu için sola dayalı daha lüks durur */
}

.service-block:last-child .service-content h3 {
  font-size: 2rem; /* Bu özel kartın başlığı biraz daha vurgulu olsun */
}

.service-block:last-child .service-content h3::after {
  left: 0;
  transform: none; /* Alt çizgiyi sola yaslar */
}

@media (max-width: 992px) {
  .services-container {
    gap: 25px;
  }
  
  .service-content {
    padding: 25px 20px;
  }

  .global-repair-notice {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }

  /* Tablet ve Mobilde 5. kartı da diğerleri gibi dikey (alt alta) düzene geçir */
  .service-block:last-child {
    flex-direction: column;
  }
  
  .service-block:last-child .service-img,
  .service-block:last-child .service-content {
    width: 100%;
  }
  
  .service-block:last-child .service-img {
    border-right: none;
    border-bottom: 1px solid rgba(0, 87, 184, 0.05);
  }

  .service-block:last-child .service-img img {
    height: 220px;
    min-height: auto;
  }
  
  .service-block:last-child .service-content h3 {
    font-size: 1.7rem;
  }
  
  .service-block:last-child .service-content {
    align-items: center;
    text-align: center;
  }
  
  .service-block:last-child .service-content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr; /* Mobilde altlı üstlü (tek sütun) olsun */
  }
  
  .service-img img {
    height: 200px;
  }

  .model-header {
    padding: 70px 20px 50px;
  }
  
  .model-header h1 {
    font-size: 2.2rem;
  }
  
  .model-header p {
    font-size: 1.05rem;
  }
}