/* Ekibimiz Sayfası Özel Stilleri */

/* Hero Section - İletişim sayfası stilini kullan */
.contact-hero {
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.contact-hero__title {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 1);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 1) 0%, rgba(255, 0, 0, 1) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.contact-hero__subtitle {
  font-size: 1.3rem;
  color: rgba(175, 175, 175, 1);
  margin: 0;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes titleGlow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2); }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .contact-hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 2rem 0;
  }
  
  .contact-hero__title {
    font-size: 2rem;
  }
}

/* Ana container - tam genişlik ve responsive */
.team-main-container {
  width: 100%;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

/* Team grid düzeni - responsive */
.team-grid {
  display: flex;
  justify-content: center;
  margin-top: clamp(1rem, 3vw, 3rem);
  padding: clamp(1rem, 2vw, 2rem) 0;
}

/* Team kartları container - responsive */
.team-container {
  width: 100%;
  max-width: none;
  padding: 0 clamp(0.5rem, 2vw, 2rem);
}

/* Ana sayfa düzeni - FORCED tek satır 4 kart */
.team {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: 1fr !important;
  gap: 0.5rem;
  justify-items: center;
  align-items: start;
  width: 100%;
  place-items: center;
}

/* Modern Team Card Tasarımı */
.team-card {
  position: relative;
  width: 320px;
  height: 420px;
  background: linear-gradient(145deg, rgba(37, 37, 37, 1) 0%, rgba(25, 25, 25, 1) 100%);
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(65, 65, 65, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* BUSE ÇİV kartını 1. satıra taşıma */
.team-card--first-row {
  order: -1 !important;
}

/* Diğer kartlar için default order */
.team-card {
  order: 0;
}

/* Hover'da kırmızı çerçeve efekti */
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(45deg, 
    rgba(255, 0, 0, 1) 0%, 
    rgba(175, 4, 4, 1) 25%, 
    rgba(255, 0, 0, 1) 50%, 
    rgba(175, 4, 4, 1) 75%, 
    rgba(255, 0, 0, 1) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: -1;
}

/* Avatar container */
.team-card__avatar {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 2.2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(65, 65, 65, 0.5);
  transition: all 0.4s ease;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

/* Bilgi bölümü */
.team-card__info {
  text-align: center;
  z-index: 2;
}

.team-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  margin: 0 0 0.8rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-align: center;
}

.team-card__position {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(175, 175, 175, 1);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-align: center;
}

/* Hover efektleri */
.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 0, 0, 0.2);
}

.team-card:hover::before {
  opacity: 1;
  animation: borderGlow 2s ease-in-out infinite alternate;
}

.team-card:hover .team-card__avatar {
  border-color: rgba(255, 0, 0, 1);
  transform: scale(1.1);
}

.team-card:hover .team-card__avatar img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}

.team-card:hover .team-card__name {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.team-card:hover .team-card__position {
  color: rgba(255, 0, 0, 1);
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* Kırmızı çerçeve animasyonu */
@keyframes borderGlow {
  0% {
    filter: brightness(1) saturate(1);
  }
  100% {
    filter: brightness(1.3) saturate(1.5);
  }
}

/* Mobil cihazlarda hover efektlerini devre dışı bırak */
@media (hover: none) and (pointer: coarse) {
  .team-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .team-card:hover::before {
    opacity: 0;
    animation: none;
  }
  
  .team-card:hover .team-card__avatar {
    border-color: rgba(65, 65, 65, 0.5);
    transform: none;
  }
  
  .team-card:hover .team-card__avatar img {
    transform: none;
    filter: none;
  }
  
  .team-card:hover .team-card__name {
    color: rgba(255, 255, 255, 1);
    text-shadow: none;
  }
  
  .team-card:hover .team-card__position {
    color: rgba(175, 175, 175, 1);
    text-shadow: none;
  }
}

/* Responsive Tasarım - Modern ve Esnek */

/* Büyük ekranlar (1400px+) - Desktop */
@media (min-width: 1400px) {
  .team-container {
    padding: 0 3rem;
  }

  .team {
    gap: 1rem;
  }

  .team-card {
    width: 100%;
    max-width: 350px;
    height: 450px;
    padding: 2.5rem;
  }

  .team-card__avatar {
    width: 160px;
    height: 160px;
    margin-bottom: 2.5rem;
  }

  .team-card__name {
    font-size: 1.7rem;
    margin: 0 0 1rem 0;
  }

  .team-card__position {
    font-size: 1.3rem;
  }
}

/* Orta-büyük ekranlar (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .team-container {
    padding: 0 2rem;
  }

  .team {
    gap: 1.5rem;
  }

  .team-card {
    width: 100%;
    max-width: 280px;
    height: 380px;
    padding: 2rem;
  }

  .team-card__avatar {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
  }

  .team-card__name {
    font-size: 1.4rem;
    margin: 0 0 0.8rem 0;
  }

  .team-card__position {
    font-size: 1.1rem;
  }
}

/* Orta ekranlar (992px - 1199px) - Tablet landscape */
@media (max-width: 1199px) and (min-width: 992px) {
  .team-container {
    padding: 0 1.5rem;
  }

  .team {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 2rem;
  }

  .team-card {
    width: 100%;
    max-width: 400px;
    height: 500px;
    padding: 3rem;
  }

  .team-card__avatar {
    width: 200px;
    height: 200px;
    margin-bottom: 3rem;
  }

  .team-card__name {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
  }

  .team-card__position {
    font-size: 1.3rem;
  }
}

/* Küçük-orta ekranlar (768px - 991px) - Tablet portrait */
@media (max-width: 991px) and (min-width: 768px) {
  .team-container {
    padding: 0 1rem;
  }
  
  .team {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 1rem;
  }
  
  .team-card {
    width: 100%;
    max-width: 350px;
    height: 450px;
    padding: 2.5rem;
  }
  
  .team-card__avatar {
    width: 200px;
    height: 200px;
    margin-bottom: 3rem;
  }
  
  .team-card__name {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
  }
  
  .team-card__position {
    font-size: 1.3rem;
  }
}

/* Küçük ekranlar (576px - 767px) - Mobil landscape */
@media (max-width: 767px) and (min-width: 576px) {
  .team-container {
    padding: 0 1rem;
  }
  
  .team {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 1rem;
  }
  
  .team-card {
    width: 100%;
    max-width: 280px;
    height: 380px;
    padding: 2rem;
  }
  
  .team-card__avatar {
    width: 160px;
    height: 160px;
    margin-bottom: 2rem;
  }
  
  .team-card__name {
    font-size: 1.5rem;
    margin: 0 0 0.8rem 0;
  }
  
  .team-card__position {
    font-size: 1.1rem;
  }
}

/* Çok küçük ekranlar (575px ve altı) - Mobil portrait */
@media (max-width: 575px) {
  .team-container {
    padding: 0 0.5rem;
  }
  
  .team {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(4, 1fr) !important;
    gap: 1.5rem;
  }
  
  .team-card {
    width: 100%;
    max-width: 320px;
    height: 400px;
    padding: 2rem;
    margin: 0 auto;
  }
  
  .team-card__avatar {
    width: 180px;
    height: 180px;
    margin-bottom: 2rem;
  }
  
  .team-card__name {
    font-size: 1.6rem;
    margin: 0 0 1rem 0;
  }
  
  .team-card__position {
    font-size: 1.2rem;
  }
}

/* Hero section responsive */
.contact-hero {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 1);
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(200, 200, 200, 0.9);
  margin: 0;
  line-height: 1.5;
}

/* Sayfa başlığı stilleri - responsive */
.section__title {
  text-align: center;
  color: rgba(255, 255, 255, 1);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Stack utility - responsive */
.stack-24 {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}