/* About Page Styles */

/* Hero Small */
.hero-small {
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent);
  background-size: 30px 30px;
  opacity: 0.4;
  animation: movePattern 25s linear infinite;
}

.hero-small .container {
  position: relative;
  z-index: 1;
}

.hero-small h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-small p {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span:last-child {
  color: white;
  font-weight: 500;
}

/* About Detailed Container */
.about-detailed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* About Intro Section */
.about-intro {
  text-align: center;
  margin-bottom: 4rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #1e40af, #0ea5e9);
  color: white;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.about-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  opacity: 0.3;
  animation: movePattern 20s linear infinite;
}

.about-intro .profile-section {
  position: relative;
  z-index: 1;
}

.about-intro .profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.9);
  margin: 0 auto 2rem auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: block;
  transition: transform 0.3s ease;
}

.about-intro .profile-photo:hover {
  transform: scale(1.05);
}

.about-intro h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-intro p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 500;
}

/* About Story Section */
.about-story {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.about-story::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  transform: rotate(45deg);
  z-index: 0;
}

.about-story > * {
  position: relative;
  z-index: 1;
}

.about-story h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  position: relative;
}

.about-story h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.about-story p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  text-align: justify;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-story p strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Skills Section */
.skills-section {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.skills-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
  transform: rotate(-45deg);
  z-index: 0;
}

.skills-section > * {
  position: relative;
  z-index: 1;
}

.skills-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  position: relative;
}

.skills-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.skill-category:hover::before {
  left: 100%;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.skill-category h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.skill-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.skill-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Values Section */
.about-values {
  margin-bottom: 4rem;
}

.about-values h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  position: relative;
}

.about-values h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.value-card:hover::before {
  left: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.value-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.value-card:hover i {
  transform: scale(1.15);
  color: var(--primary-dark);
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* Journey Section */
.about-journey {
  margin-bottom: 4rem;
}

.about-journey h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  position: relative;
}

.about-journey h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.journey-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.journey-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.journey-item:nth-child(odd) {
  flex-direction: row;
}

.journey-item:nth-child(even) {
  flex-direction: row-reverse;
}

.journey-item::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  margin-top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--bg-primary);
  z-index: 2;
  box-shadow: 0 0 0 3px var(--primary-color);
}

.journey-year {
  flex: 0 0 120px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--bg-primary);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}

.journey-year:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.journey-content {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s ease;
}

.journey-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.journey-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  z-index: 1;
}

.journey-item:nth-child(odd) .journey-content::before {
  left: -24px;
  border-right-color: var(--border-color);
}

.journey-item:nth-child(even) .journey-content::before {
  right: -24px;
  border-left-color: var(--border-color);
}

.journey-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.journey-content h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 500;
}

.journey-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Interests Section */
.about-interests {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.about-interests::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
  transform: rotate(30deg);
  z-index: 0;
}

.about-interests > * {
  position: relative;
  z-index: 1;
}

.about-interests h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
  position: relative;
}

.about-interests h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.interest-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.interest-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
  transition: left 0.5s ease;
}

.interest-item:hover::before {
  left: 100%;
}

.interest-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.interest-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  min-width: 24px;
}

.interest-item:hover i {
  transform: scale(1.15);
  color: #0891b2;
}

.interest-item span {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Page Actions */
.page-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-actions::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.page-actions:hover::before {
  left: 100%;
}

.page-actions .btn {
  position: relative;
  z-index: 1;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: white;
}

.page-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
}

.page-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.page-actions .btn-secondary {
  background: linear-gradient(135deg, var(--accent-color), #0891b2);
  border: none;
}

.page-actions .btn-secondary:hover {
  background: linear-gradient(135deg, #0891b2, var(--accent-color));
}

/* Animations */
.about-intro {
  animation: fadeInUp 0.8s ease;
}

.about-story {
  animation: fadeInUp 0.8s ease;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.skills-section {
  animation: fadeInUp 0.8s ease;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.about-values {
  animation: fadeInUp 0.8s ease;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.about-journey {
  animation: fadeInUp 0.8s ease;
  animation-delay: 0.8s;
  animation-fill-mode: both;
}

.about-interests {
  animation: fadeInUp 0.8s ease;
  animation-delay: 1s;
  animation-fill-mode: both;
}

/* Dark Mode Styles */
body.dark-mode .about-story {
  background: #1f2937;
  border-color: #374151;
}

body.dark-mode .skills-section {
  background: #1f2937;
  border-color: #374151;
}

body.dark-mode .skill-category {
  background: #111827;
  border-color: #374151;
}

body.dark-mode .value-card {
  background: #1f2937;
  border-color: #374151;
}

body.dark-mode .value-card:hover {
  border-color: #3b82f6;
}

body.dark-mode .journey-content {
  background: #1f2937;
  border-color: #374151;
}

body.dark-mode .journey-content::before {
  border-right-color: #374151;
  border-left-color: #374151;
}

body.dark-mode .journey-year {
  background: #1f2937;
  border-color: #374151;
}

body.dark-mode .about-interests {
  background: #1f2937;
  border-color: #374151;
}

body.dark-mode .interest-item {
  background: #111827;
  border-color: #374151;
}

body.dark-mode .interest-item:hover {
  border-color: #06b6d4;
}

body.dark-mode .page-actions {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(14, 165, 233, 0.2));
  border-color: #374151;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-small h1 {
    font-size: 2.2rem;
  }
  
  .about-intro {
    padding: 3rem 1.5rem;
    margin-bottom: 3rem;
  }
  
  .about-intro h1 {
    font-size: 2.5rem;
  }
  
  .about-intro p {
    font-size: 1.1rem;
  }
  
  .about-intro .profile-photo {
    width: 120px;
    height: 120px;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .about-story,
  .skills-section,
  .about-interests {
    padding: 2rem;
    margin-bottom: 3rem;
  }
  
  .about-story h2,
  .skills-section h2,
  .about-values h2,
  .about-journey h2 {
    font-size: 2rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .skill-category {
    padding: 1.5rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .value-card {
    padding: 2rem;
  }
  
  .journey-timeline::before {
    left: 30px;
  }
  
  .journey-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 60px;
    margin-bottom: 3rem;
  }
  
  .journey-item::before {
    left: 30px;
    transform: none;
  }
  
  .journey-year {
    flex: none;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    padding: 0.75rem;
  }
  
  .journey-content {
    padding: 2rem;
  }
  
  .journey-content::before {
    display: none;
  }
  
  .interests-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .interest-item {
    padding: 1.25rem;
  }
  
  .page-actions {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .page-actions .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-small h1 {
    font-size: 1.8rem;
  }
  
  .about-intro {
    padding: 2rem 1rem;
  }
  
  .about-intro h1 {
    font-size: 2rem;
  }
  
  .about-intro .profile-photo {
    width: 100px;
    height: 100px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .about-story,
  .skills-section,
  .about-interests {
    padding: 1.5rem;
  }
  
  .about-story h2,
  .skills-section h2,
  .about-values h2,
  .about-journey h2 {
    font-size: 1.75rem;
  }
  
  .value-card {
    padding: 1.5rem;
  }
  
  .value-card i {
    font-size: 2.5rem;
  }
  
  .journey-item {
    padding-left: 40px;
    margin-bottom: 2.5rem;
  }
  
  .journey-item::before {
    left: 20px;
  }
  
  .journey-timeline::before {
    left: 20px;
  }
  
  .journey-year {
    font-size: 1.1rem;
    padding: 0.5rem;
  }
  
  .journey-content {
    padding: 1.5rem;
  }
  
  .journey-content h3 {
    font-size: 1.3rem;
  }
  
  .interest-item {
    padding: 1rem;
  }
  
  .interest-item i {
    font-size: 1.25rem;
  }
  
  .interest-item span {
    font-size: 0.9rem;
  }
  
  .page-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}
