/* ================ TEMEL AYARLAR ================ */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #f0b913;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================ TAKIM HERO BÖLÜMÜ ================ */
.team_hero_content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 140px);
  min-height: 600px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 100%);
  overflow: hidden;
  z-index: 1;
}

.team_hero_content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
/*background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover; */
  z-index: -1;
  opacity: 0.2;
}

.team_hero_content .detail-box {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.team_hero_content .detail-box h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  background: linear-gradient(to right, var(--secondary-color), var(--light-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 0.8s ease both;
}

.team_hero_content .detail-box p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: var(--light-color);
  opacity: 0.9;
  animation: fadeIn 1s ease both 0.3s;
}

.team_hero_content .btn-box .btn1 {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  animation: fadeInUp 1s ease both 0.6s;
  border: none;
  outline: none;
  cursor: pointer;
}

.team_hero_content .btn-box .btn1:hover {
  background-color: #e0ac0f;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team_hero_content .btn-box .btn1 i {
  margin-left: 10px;
  transition: var(--transition);
}

.team_hero_content .btn-box .btn1:hover i {
  transform: translateX(5px);
}

/* ================ TAKIM BÖLÜMÜ ================ */
.team_section {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
}

.team_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  z-index: 0;
}

.team_category {
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.team_category h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.team_category h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

.team_section .box {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.team_section .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team_section .box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

.team_section .img-box {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.team_section .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: grayscale(20%);
}

.team_section .box:hover .img-box img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team_section .detail-box {
  padding: 30px 20px;
  text-align: center;
}

.team_section .detail-box h5 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.team_section .detail-box h5::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.team_section .detail-box h6 {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}

.team_section .social-box {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.team_section .social-box a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-color);
  color: var(--primary-color);
  margin: 0 8px;
  transition: var(--transition);
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.team_section .social-box a:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-5px) scale(1.1);
}

/* Başkan için özel stil */
.team_category:first-child .box {
  border: 2px solid var(--secondary-color);
}

.team_category:first-child .box::after {
  height: 8px;
}

/* Akademik Danışman için özel stil */
.team_category:last-child .box {
  border: 2px solid var(--primary-color);
}

.team_category:last-child .box::after {
  height: 8px;
  background: linear-gradient(to right, var(--primary-color), #3498db);
}

/* ================ ANİMASYONLAR ================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================ RESPONSIVE AYARLAR ================ */
@media (max-width: 1199px) {
  .team_hero_content .detail-box h1 {
    font-size: 3rem;
  }
  
  .team_section .img-box {
    height: 240px;
  }
}

@media (max-width: 991px) {
  .team_hero_content {
    height: calc(100vh - 100px);
    min-height: 500px;
  }
  
  .team_hero_content .detail-box h1 {
    font-size: 2.5rem;
  }
  
  .team_hero_content .detail-box p {
    font-size: 1.1rem;
  }
  
  .team_section {
    padding: 80px 0;
  }
  
  .team_category h3 {
    font-size: 2rem;
  }
  
  .team_section .img-box {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .team_hero_content .detail-box h1 {
    font-size: 2.2rem;
  }
  
  .team_hero_content .btn-box .btn1 {
    padding: 12px 25px;
  }
  
  .team_section {
    padding: 60px 0;
  }
  
  .team_category {
    margin-bottom: 50px;
  }
  
  .team_category h3 {
    font-size: 1.8rem;
  }
  
  .team_section .detail-box {
    padding: 20px 15px;
  }
}

@media (max-width: 575px) {
  .team_hero_content {
    min-height: 400px;
  }
  
  .team_hero_content .detail-box h1 {
    font-size: 1.8rem;
  }
  
  .team_hero_content .detail-box p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .team_section {
    padding: 50px 0;
  }
  
  .team_category h3 {
    font-size: 1.6rem;
  }
  
  .team_section .img-box {
    height: 180px;
  }
  
  .team_section .detail-box h5 {
    font-size: 1.1rem;
  }
  
  .team_section .social-box a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin: 0 5px;
  }
}