/* 
 * About Page Styles
 * Modern and dynamic design for Hakkımızda page
 */

/* ==========================================================================
   ABOUT INTRO SECTION
   ========================================================================== */
.about-intro {
  padding: var(--spacing-4xl) 0;
  background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.about-intro::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.05;
  border-radius: 50%;
}

.about-intro .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.content-box {
  animation: fadeInLeft 1s ease-out;
}

.content-box .section-subtitle {
  position: relative;
  padding-left: 30px;
  animation: slideInLeft 0.8s ease-out;
}

.content-box .section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-color);
}

.content-box .section-title {
  font-size: clamp(2rem, 4vw, var(--font-size-4xl));
  margin-bottom: var(--spacing-xl);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.content-box p {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: -50%;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  display: block;
  animation: countUp 2s ease-out 0.8s both;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Image Box */
.image-box {
  position: relative;
  animation: fadeInRight 1s ease-out 0.4s both;
}

.image-box img {
  width: 100%;
  height: auto;
  border-radius: 0; /* Sharp corners */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
  border: 1px solid var(--border-color);
}

.image-box:hover img {
  transform: scale(1.02);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  left: 30px;
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  border-radius: 0; /* Sharp corners */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 85, 164, 0.3);
  animation: bounceIn 1s ease-out 1s both;
  border: 3px solid var(--white);
}

.badge-content {
  text-align: center;
  color: var(--white);
}

.badge-content .year {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  display: block;
  line-height: 1;
}

.badge-content .text {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   MISSION VISION SECTION
   ========================================================================== */
.mission-vision {
  background: var(--background-secondary);
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.mission-vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url('/images/pattern-dots.svg') repeat;
  opacity: 0.05;
}

.mission-vision .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.mv-card {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: 0; /* Sharp corners */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.mv-card:hover::before {
  transform: scaleX(1);
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.mv-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 0; /* Sharp corners */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  transition: all 0.3s ease;
  position: relative;
}

.mv-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 0;
}

.mv-card:hover .mv-icon {
  transform: scale(1.05);
  background: var(--primary-dark);
}

.mv-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.mv-card h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mv-card p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-light);
}

/* ==========================================================================
   WHY US SECTION
   ========================================================================== */
.why-us {
  background: var(--background-primary);
  position: relative;
}

.why-us .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
}

.why-us .feature-card {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: 0; /* Sharp corners */
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-us .feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.why-us .feature-card:hover::before {
  transform: scaleX(1);
}

.why-us .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.why-us .feature-icon {
  width: 60px;
  height: 60px;
  background: var(--background-secondary);
  border-radius: 0; /* Sharp corners */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  transition: all 0.3s ease;
  position: relative;
}

.why-us .feature-icon::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-us .feature-card:hover .feature-icon::before {
  opacity: 1;
}

.why-us .feature-card:hover .feature-icon {
  background: var(--primary-color);
  transform: scale(1.1);
}

.why-us .feature-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.why-us .feature-card:hover .feature-icon i {
  color: var(--white);
}

.why-us .feature-card h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

.why-us .feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   TEAM SECTION (Optional Enhancement)
   ========================================================================== */
.team-section {
  padding: var(--spacing-4xl) 0;
  background: var(--background-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
}

.team-member {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-member-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
  transform: scale(1.1);
}

.team-member-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--primary-color), transparent);
  padding: var(--spacing-xl);
  transition: bottom 0.3s ease;
}

.team-member:hover .team-member-overlay {
  bottom: 0;
}

.team-member-social {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
}

.team-member-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.team-member-social a:hover {
  background: var(--white);
  color: var(--primary-color);
}

.team-member-info {
  padding: var(--spacing-xl);
}

.team-member-name {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-xs);
  color: var(--text-color);
}

.team-member-position {
  color: var(--primary-color);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 992px) {
  .about-intro .row {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
  }
  
  .image-box {
    order: -1;
    margin-bottom: var(--spacing-2xl);
  }
  
  .experience-badge {
    bottom: -20px;
    left: 20px;
    width: 100px;
    height: 100px;
  }
  
  .badge-content .year {
    font-size: var(--font-size-2xl);
  }
  
  .mission-vision .row {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
  }
  
  .stat-item::after {
    display: none;
  }
  
  .stat-number {
    font-size: var(--font-size-2xl);
  }
  
  .why-us .features-grid {
    grid-template-columns: 1fr;
  }
  
  .mv-card {
    padding: var(--spacing-2xl);
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .about-intro {
    padding: var(--spacing-3xl) 0;
  }
  
  .content-box .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .content-box p {
    font-size: var(--font-size-base);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .experience-badge {
    position: static;
    margin: var(--spacing-xl) auto 0;
  }
  
  .mv-icon {
    width: 60px;
    height: 60px;
  }
  
  .mv-icon i {
    font-size: 1.5rem;
  }
  
  .why-us .feature-icon {
    width: 50px;
    height: 50px;
  }
}