/* ===== EKIBIMIZ SAYFASI CSS ===== */

/* Team Section Styling */
.team-section {
  background: linear-gradient(
    180deg,
    var(--corporate-dark) 0%,
    rgba(10, 36, 99, 0.1) 50%,
    var(--corporate-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(10, 36, 99, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* Section Container */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-title .gold {
  color: var(--gold);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Team Filters */
.team-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  color: var(--text-primary);
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  z-index: -1;
  transition: left 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--corporate-dark);
}

.filter-btn:hover::before {
  left: 0;
}

.filter-btn.active {
  background: var(--gold);
  color: var(--corporate-dark);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.filter-btn.active::before {
  left: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Team Card */
.team-card {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 30, 0.9),
    rgba(20, 20, 20, 0.9)
  );
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  backdrop-filter: blur(10px);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 50%,
    rgba(10, 36, 99, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.team-card:hover {
  border-color: var(--gold);
  transform: translateY(-12px);
  box-shadow:
    0 30px 60px rgba(212, 175, 55, 0.2),
    0 0 40px rgba(10, 36, 99, 0.15);
}

.team-card:hover::before {
  opacity: 1;
}

/* Team Card Image */
.team-card-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--deep-blue), var(--corporate-gray));
  transition: transform 0.5s ease;
  display: block;
}

.team-card:hover .team-card-image {
  transform: scale(1.05);
}

/* No Image Placeholder */
.team-card-no-image {
  width: 100%;
  height: 320px;
  background: linear-gradient(
    135deg,
    rgba(10, 36, 99, 0.3),
    rgba(212, 175, 55, 0.08)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
}

.team-card-no-image::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(212, 175, 55, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

/* Team Card Content */
.team-card-content {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.team-card-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.team-card-title {
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-transform: capitalize;
}

/* Category Badge */
.team-card-category {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15),
    rgba(212, 175, 55, 0.08)
  );
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 600;
  width: fit-content;
  transition: all 0.3s ease;
}

.team-card:hover .team-card-category {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  transform: translateX(4px);
}

/* Description */
.team-card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
  font-weight: 400;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--text-secondary);
  grid-column: 1 / -1;
}

.empty-state-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.6;
  display: block;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.empty-state p {
  font-size: 1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .team-card-content {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-filters {
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }

  .filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .section-container {
    padding: 0 1rem;
  }

  .team-section {
    padding: 3rem 0 !important;
  }

  .team-card {
    border-radius: 0.625rem;
  }

  .team-card-image,
  .team-card-no-image {
    height: 240px;
  }

  .team-card-content {
    padding: 1.25rem;
  }

  .team-card-name {
    font-size: 1.15rem;
  }

  .team-card-title {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .team-card-category {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .team-card-description {
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .empty-state {
    padding: 3rem 1rem;
  }

  .empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .empty-state h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .team-filters {
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .team-card-image,
  .team-card-no-image {
    height: 200px;
  }

  .team-card-content {
    padding: 1rem;
  }

  .team-card-name {
    font-size: 1rem;
  }

  .team-card-description {
    font-size: 0.85rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .breadcrumbNav,
  .footer,
  .team-filters {
    display: none;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card {
    page-break-inside: avoid;
  }
}

/* Dark Mode Enhancement */
@media (prefers-color-scheme: dark) {
  .team-card {
    background: linear-gradient(
      135deg,
      rgba(25, 25, 25, 0.95),
      rgba(15, 15, 15, 0.95)
    );
  }

  .filter-btn {
    background: rgba(212, 175, 55, 0.05);
  }

  .team-card-category {
    background: rgba(212, 175, 55, 0.12);
  }
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.team-card:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.team-card:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.team-card:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}
.team-card:nth-child(4) {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}
.team-card:nth-child(5) {
  animation: fadeInUp 0.6s ease-out 0.5s both;
}
.team-card:nth-child(6) {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}
.team-card:nth-child(n + 7) {
  animation: fadeInUp 0.6s ease-out 0.7s both;
}
