/* ========= Modern Sayfa Stilleri ========= */
.page-hero {
  background: linear-gradient(135deg, #1a5c4c 0%, #1bbca3 50%, #148f7a 100%);
  padding: 100px 0 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #f5f7fa;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #fff;
}

.page-hero p {
  font-size: 17px;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
  color: #fff;
}

.modern-section {
  background: #f5f7fa;
  padding: 50px 0 80px;
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .modern-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h2 {
    font-size: 28px;
  }

  .modern-card-img {
    width: 180px;
    height: 180px;
  }
}

.modern-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(27, 188, 163, 0.15);
}

.modern-card-img {
  position: relative;
  width: 220px;
  height: 220px;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, #e0e5ec 0%, #d5dbe3 100%);
  border-radius: 50%;
  margin: 25px auto 0;
  border: 4px solid #e8f8f5;
  box-shadow: 0 4px 15px rgba(27, 188, 163, 0.15);
}

.modern-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.modern-card:hover .modern-card-img img {
  transform: scale(1.08);
}

.modern-card-img .badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(27, 188, 163, 0.92);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.modern-card-img .no-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #adb5bd;
  font-size: 48px;
}

.modern-card-body {
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modern-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.4;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-card-body h3 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s;
}

.modern-card-body h3 a:hover {
  color: #1bbca3;
}

.modern-card-body .summary {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1bbca3;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition:
    gap 0.3s ease,
    color 0.2s;
  align-self: flex-start;
}

.modern-card-body .read-more:hover {
  color: #148f7a;
  gap: 12px;
}

.no-items {
  text-align: center;
  padding: 60px 20px;
  color: #95a5a6;
}

.no-items i {
  font-size: 60px;
  margin-bottom: 15px;
  display: block;
  opacity: 0.4;
}

/* Detail pages modern additions */
.detail-content {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.detail-img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

/* Detay ve iletişim sayfası için daha dar hero alanı */
.page-hero-small {
  background: linear-gradient(135deg, #1a5c4c 0%, #1bbca3 50%, #148f7a 100%);
  padding: 60px 0 30px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero-small::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 30px;
  background: #f5f7fa;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-small h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-transform: uppercase;
  color: #fff;
}

.page-hero-small p {
  font-size: 15px;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
  color: #fff;
}
