/*
 * Hızlı Okuma - Hakkımızda Sayfası CSS
 * Modern, tutarlı tasarım - 2024
 */

/* ===== SHARED SECTION STYLES ===== */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title-modern {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
}

.section-title-modern span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary, #64748b);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  text-align: center;
}

/* ===== HERO SECTION ===== */
.about-hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 30%, #312e81 60%, #4c1d95 100%);
  background-size: 400% 400%;
  animation: aboutHeroGradient 12s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
}

@keyframes aboutHeroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-hero .hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.about-hero .hero-shape-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: aboutFloat1 8s ease-in-out infinite;
}

.about-hero .hero-shape-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: aboutFloat2 10s ease-in-out infinite;
}

.about-hero .hero-shape-3 {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: aboutFloat3 7s ease-in-out infinite;
}

@keyframes aboutFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes aboutFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.05); }
}
@keyframes aboutFloat3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -30px) scale(1.15); opacity: 1; }
}

.about-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-bg, #fafbfc));
  z-index: 3;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 var(--spacing-xl, 2rem);
  color: white;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out forwards;
}

.about-hero-badge i { color: #fbbf24; }

.about-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  color: white;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s 0.2s ease-out both;
}

.about-hero-content h1 span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s 0.4s ease-out both;
}

.about-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s 0.6s ease-out both;
}

.about-hero-buttons .btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.about-hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: white;
  color: white;
}

.about-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  animation: fadeInUp 0.8s 0.8s ease-out both;
}

.hero-mini-stat { text-align: center; }

.hero-mini-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-mini-stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== WHY / ADVANTAGES SECTION ===== */
.about-why {
  padding: 5rem 0;
  background: var(--color-bg, #fafbfc);
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.why-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.12);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.35s ease;
}

.why-card:hover .why-card-icon {
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  transform: scale(1.1);
}

.why-card-icon i {
  font-size: 1.4rem;
  color: var(--color-primary, #6366f1);
  transition: color 0.35s ease;
}

.why-card:hover .why-card-icon i { color: white; }

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark, #1e293b);
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.why-card-stat {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.why-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-stat-label {
  font-size: 0.82rem;
  color: var(--color-text-secondary, #64748b);
  font-weight: 500;
}

/* ===== STORY SECTION ===== */
.about-story {
  padding: 5rem 0;
  background: white;
}

.story-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-img-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.story-img-container img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.story-img-container:hover img {
  transform: scale(1.05);
}

.story-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.story-badge i { font-size: 0.85rem; }

.story-content-text {
  text-align: left;
}

.story-content-text .section-tag { margin-bottom: 0.75rem; }

.story-content-text .section-title-modern {
  text-align: left;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.story-lead {
  font-size: 1.1rem;
  color: var(--color-dark, #1e293b);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.story-content-text p {
  font-size: 1rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.story-content-text p strong {
  color: var(--color-primary, #6366f1);
  font-weight: 600;
}

.story-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.story-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg, #fafbfc);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-dark, #1e293b);
}

.story-highlight i {
  color: var(--color-primary, #6366f1);
  font-size: 0.9rem;
}

/* ===== TEAM SECTION ===== */
.about-team {
  padding: 5rem 0;
  background: var(--color-bg, #fafbfc);
  text-align: center;
}

/* City Filter */
.city-filter {
  max-width: 320px;
  margin: 0 auto 2rem;
}

.city-filter-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.city-filter-inner:focus-within {
  border-color: var(--color-primary, #6366f1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.city-filter-inner i {
  color: var(--color-primary, #6366f1);
  font-size: 0.95rem;
}

.city-filter-inner select {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-dark, #1e293b);
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.city-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary-light, rgba(99, 102, 241, 0.1));
  color: var(--color-primary, #6366f1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Team Grid */
.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.team-member {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.1);
}

.team-member-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  padding: 12px 12px 0;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.5s ease;
  border-radius: 12px;
}

.team-member:hover .team-member-image img {
  transform: scale(1.05);
}

.team-member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15, 23, 42, 0.7));
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  transition: opacity 0.35s ease;
}

.team-member:hover .team-member-overlay { opacity: 1; }

.team-member-social {
  display: flex;
  gap: 0.6rem;
  transform: translateY(10px);
  transition: transform 0.35s ease;
}

.team-member:hover .team-member-social { transform: translateY(0); }

.team-member-social a {
  width: 36px;
  height: 36px;
  background: white;
  color: var(--color-primary, #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.team-member-social a:hover {
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  color: white;
  transform: translateY(-3px);
}

.team-member-info {
  padding: 1.25rem;
  text-align: center;
}

.team-member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark, #1e293b);
  margin-bottom: 0.35rem;
}

.team-member-title {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  color: white;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-member-bio {
  font-size: 0.88rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.5;
  margin: 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 66px;
}

.team-member-location {
  font-size: 0.82rem;
  color: var(--color-text-secondary, #64748b);
  margin-top: 0.5rem;
}

.team-member-location i {
  color: var(--color-primary, #6366f1);
  margin-right: 0.3rem;
}

.no-teachers {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 16px;
  width: 100%;
  grid-column: 1 / -1;
}

.no-teachers i {
  font-size: 2.5rem;
  color: var(--color-gray, #94a3b8);
  margin-bottom: 1rem;
  display: block;
}

.no-teachers p {
  color: var(--color-text-secondary, #64748b);
  margin-bottom: 1.5rem;
}

/* ===== STATS SECTION ===== */
.about-stats {
  padding: 5rem 0;
  background: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--color-bg, #fafbfc);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::after { transform: scaleX(1); }

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.12);
}

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.35s ease;
}

.stat-card:hover .stat-card-icon {
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
}

.stat-card-icon i {
  font-size: 1.3rem;
  color: var(--color-primary, #6366f1);
  transition: color 0.35s ease;
}

.stat-card:hover .stat-card-icon i { color: white; }

.stat-card-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.stat-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark, #1e293b);
}

/* ===== CTA SECTION ===== */
.about-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-shape-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.cta-inner h2 span {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.cta-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .story-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .story-content-text .section-title-modern {
    text-align: center;
  }
  
  .story-content-text {
    text-align: center;
  }
  
  .story-highlights {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 0 5rem;
  }
  
  .about-hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .hero-mini-stat strong {
    font-size: 1.4rem;
  }
  
  .about-hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .about-hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .why-card {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  
  .why-card-icon {
    margin: 0;
    min-width: 50px;
    width: 50px;
    height: 50px;
  }
  
  .why-card-stat {
    justify-content: flex-start;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .stat-card-num {
    font-size: 1.8rem;
  }
  
  .team-members {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .story-img-container img {
    height: 280px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 3rem 0 4rem;
  }
  
  .about-hero-stats {
    gap: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-members {
    grid-template-columns: 1fr;
  }
}
