/* ============================================
   ABOUT CSS - About Page Styles
   ============================================ */

@import url('./global.css');

/* ============================================
   ABOUT HEADER BACKGROUND
   ============================================ */

.about-header {
  background-image: url("../assets/jordan_Image.jpg");
}

/* ============================================
   STATISTICS BOXES
   ============================================ */

.stat-box {
  background: white;
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-desert);
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .stat-box {
    padding: 24px;
    border-radius: 20px;
  }

  .stat-num {
    font-size: 36px;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 13px;
    letter-spacing: 0.8px;
  }
}

/* ============================================
   TEAM CARDS GRID
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* ============================================
   TEAM CARD INDIVIDUAL STYLES
   ============================================ */

.team-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 16px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(184, 132, 77, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}

/* TEAM MEMBER IMAGE */
.team-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

/* TEAM MEMBER NAME */
.team-card h3 {
  color: #333;
  margin: 8px 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

/* TEAM MEMBER POSITION */
.team-card p {
  font-size: 11px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .team-card {
    padding: 20px;
    border-radius: 24px;
  }

  .team-img {
    border-radius: 20px;
    margin-bottom: 16px;
  }

  .team-card h3 {
    font-size: 16px;
    margin: 10px 0 6px;
  }

  .team-card p {
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .team-card {
    padding: 20px;
  }

  .team-card h3 {
    margin: 12px 0 8px;
  }
}

/* ============================================
   STORY SECTION LAYOUT
   ============================================ */

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.story-content h2 {
  margin-bottom: 16px;
  line-height: 1.2;
}

.story-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ============================================
   RESPONSIVE SPACING
   ============================================ */

@media (max-width: 767px) {
  .team-card {
    max-width: 100%;
  }

  .story-content {
    margin-top: 20px;
  }
}

@media (min-width: 768px) {
  .story-section {
    align-items: center;
  }

  .story-image {
    order: -1;
  }
}

/* ============================================
   TEXT STYLING
   ============================================ */

.badge {
  display: inline-block;
  margin-bottom: 16px;
}

h2 {
  color: #1a1a1a;
  font-weight: 800;
  line-height: 1.3;
}

.story-content h2 {
  font-size: 32px;
}

@media (min-width: 768px) {
  .story-content h2 {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .story-content h2 {
    font-size: 44px;
  }
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */

.download-section-text {
  margin-bottom: 24px;
}

.download-section-text h2 {
  margin-bottom: 12px;
}

.download-section-text p {
  color: #666;
  line-height: 1.8;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

.team-card {
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(184, 132, 77, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
}

.team-card:hover::before {
  left: 0;
}

/* ============================================
   ANIMATION DELAYS FOR TEAM CARDS
   ============================================ */

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .team-card,
  .stat-box,
  .team-img {
    animation: none;
    transition: none;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .page-navigation,
  .logo-header {
    display: none;
  }

  .team-card {
    break-inside: avoid;
  }
}
