﻿/* ============================================
   ABOUT PAGE - MODERN REDESIGN
   ============================================ */

/* CSS Variables for theming */
.about-hero,
.about-main {
  --brand: #667eea;
  --brand-dark: #5a67d8;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Hero Section */
.about-hero {
  background: var(--gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -100px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 20px;
}

.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 32px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* Main Content */
.about-main {
  background: var(--bg, #f8fafc);
  padding: 60px 0 80px;
}

.about-main .container {
  max-width: 1100px;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text, #1a202c);
  margin: 0;
}

/* Creator Section */
.creator-section {
  margin-bottom: 48px;
}

.creator-card {
  display: flex;
  gap: 32px;
  background: var(--card, #fff);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border, #e2e8f0);
}

.creator-avatar {
  flex-shrink: 0;
  position: relative;
}

.avatar-ring {
  width: 120px;
  height: 120px;
  background: var(--gradient);
  border-radius: 50%;
  padding: 4px;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  background: var(--card, #fff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--brand);
}

.avatar-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 3px solid var(--card, #fff);
}

.creator-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text, #1a202c);
  margin: 0 0 4px;
}

.creator-title {
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 8px !important;
}

.creator-location {
  color: var(--muted, #64748b);
  font-size: 0.9rem;
  margin: 0 0 16px !important;
}

.creator-location i {
  color: var(--brand);
}

.creator-bio {
  color: var(--text, #475569);
  line-height: 1.7;
  margin: 0 0 20px !important;
}

.creator-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg, #f1f5f9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text, #475569);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

/* Skills Section */
.skills-section {
  margin-bottom: 48px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.skill-card {
  background: var(--card, #fff);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border, #e2e8f0);
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.skill-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.skill-icon.security { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.skill-icon.tools { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.skill-icon.scripting { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.skill-icon.soft { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }

.skill-card-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text, #1a202c);
  margin: 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 6px 14px;
  background: var(--bg, #f1f5f9);
  color: var(--text, #475569);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: var(--brand);
  color: #fff;
}

/* Certifications Section */
.certs-section {
  margin-bottom: 48px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card, #fff);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border, #e2e8f0);
  transition: all 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.cert-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--brand);
}

.cert-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #1a202c);
  margin: 0 0 2px;
}

.cert-content p {
  font-size: 0.8rem;
  color: var(--muted, #64748b);
  margin: 0;
}

/* Experience Timeline */
.experience-section {
  margin-bottom: 48px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, rgba(102, 126, 234, 0.2) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 0;
}

.marker-dot {
  width: 16px;
  height: 16px;
  background: var(--brand);
  border-radius: 50%;
  border: 3px solid var(--card, #fff);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.timeline-content {
  background: var(--card, #fff);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border, #e2e8f0);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text, #1a202c);
  margin: 0 0 4px;
}

.timeline-company {
  color: var(--muted, #64748b);
  font-weight: 500;
  margin: 0 0 8px !important;
}

.timeline-desc {
  color: var(--text, #475569);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 !important;
}

/* Two Column Section */
.two-col-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Projects Section */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-item {
  display: flex;
  gap: 16px;
  background: var(--card, #fff);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border, #e2e8f0);
}

.project-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.project-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #1a202c);
  margin: 0 0 6px;
}

.project-content p {
  font-size: 0.9rem;
  color: var(--muted, #64748b);
  line-height: 1.5;
  margin: 0;
}

/* Education Section */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.education-item {
  display: flex;
  gap: 16px;
  background: var(--card, #fff);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border, #e2e8f0);
}

.edu-year {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.edu-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #1a202c);
  margin: 0 0 4px;
}

.edu-content p {
  font-size: 0.9rem;
  color: var(--muted, #64748b);
  margin: 0;
}

/* Career Goal Section */
.goal-section {
  margin-bottom: 0;
}

.goal-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--gradient);
  border-radius: 20px;
  padding: 32px;
  color: #fff;
}

.goal-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.goal-content {
  flex: 1;
}

.goal-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.goal-content p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
}

.goal-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #fff;
  color: var(--brand);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.goal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--brand);
}

/* Dark Mode Support */
[data-theme="dark"] .about-main {
  --bg: #0f172a;
  --card: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: #334155;
}

[data-theme="dark"] .skill-tag {
  background: rgba(102, 126, 234, 0.15);
}

[data-theme="dark"] .cert-icon {
  background: rgba(102, 126, 234, 0.2);
}

/* Responsive */
@media (max-width: 991px) {
  .about-hero {
    padding: 60px 0;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .two-col-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .about-hero {
    padding: 48px 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-stats {
    padding: 16px 20px;
    gap: 16px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-divider {
    height: 30px;
  }
  
  .creator-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .creator-avatar {
    margin: 0 auto;
  }
  
  .creator-socials {
    justify-content: center;
  }
  
  .certs-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 28px;
  }
  
  .timeline-marker {
    left: -28px;
  }
  
  .goal-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .goal-cta {
    width: 100%;
    justify-content: center;
  }
}
