/* Aysel Group - Yönetim ekibi sayfası */
.atm-wrap {
  padding: 30px 0 120px;
}

/* Kurucu / Genel Müdür kartı */
.atm-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 70px;
}

.atm-lead-photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 15px 40px rgba(59, 64, 78, 0.25);
  position: relative;
  z-index: 2;
  background: #e9eaee;
}

.atm-lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.atm-lead-text {
  margin-top: -36px;
  padding: 56px 40px 26px;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b404e 0%, #505566 100%);
  border-bottom: 4px solid #b20000;
  box-shadow: 0 15px 40px rgba(59, 64, 78, 0.25);
}

.atm-lead-name {
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.atm-lead-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Bölümler */
.atm-group {
  margin-top: 60px;
}

.atm-group-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.atm-group-head::before,
.atm-group-head::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(178, 0, 0, 0) 0%, #b20000 50%, #3b404e 100%);
}

.atm-group-head::after {
  background: linear-gradient(90deg, #3b404e 0%, #b20000 50%, rgba(178, 0, 0, 0) 100%);
}

.atm-group-head span {
  color: #3b404e;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Kartlar */
.atm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.atm-grid.atm-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 600px;
  margin: 0 auto;
}

.atm-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 4px solid #b20000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.atm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(178, 0, 0, 0.16);
}

.atm-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9eaee;
}

.atm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.atm-card:hover .atm-photo img {
  transform: scale(1.04);
}

.atm-info {
  padding: 18px 18px 20px;
  text-align: center;
  flex: 1;
}

.atm-name {
  color: #3b404e;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
}

.atm-title {
  color: #b20000;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 1199px) {
  .atm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .atm-wrap {
    padding: 10px 0 80px;
  }
  .atm-grid,
  .atm-grid.atm-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .atm-lead-photo {
    width: 170px;
    height: 170px;
  }
  .atm-lead-text {
    padding: 50px 20px 22px;
  }
  .atm-lead-name {
    font-size: 21px;
  }
  .atm-name {
    font-size: 16px;
  }
  .atm-title {
    font-size: 13px;
  }
  .atm-info {
    padding: 14px 10px 16px;
  }
  .atm-group-head span {
    font-size: 13px;
    letter-spacing: 1px;
    white-space: normal;
    text-align: center;
  }
}
