/* Modern About Me Section Styles */

.about-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Profile Card */
.profile-card {
  padding: 2rem;
  text-align: center;
  position: sticky;
  top: 8rem;
  height: fit-content;
}

.profile-image-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

body.light-mode .profile-image {
  border: 4px solid rgba(0, 0, 0, 0.1);
}

.profile-image:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.profile-status {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(34, 197, 94, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.profile-info {
  text-align: center;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-title {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

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

.stat-item {
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

body.light-mode .stat-item {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

body.light-mode .stat-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* About Content */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  padding: 2rem;
}

.about-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
  position: relative;
}

.about-subtitle::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.about-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.expertise-card {
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.expertise-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.expertise-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.expertise-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* CV Section */
.cv-section {
  padding: 2rem;
  text-align: center;
}

.cv-section-button {
  margin-top: 20px;
}

.cv-section-button .btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cv-section-button .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--outer-shadow-0);
}

.cv-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.cv-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Enhanced CV Dropdown */
.cv-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .cv-dropdown-content a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cv-dropdown-content a:last-child {
  border-bottom: none;
}

.cv-dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

body.light-mode .cv-dropdown-content a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.cv-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cv-dropdown-content a div {
  text-align: left;
  flex: 1;
}

.cv-dropdown-content a strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cv-dropdown-content a small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .profile-card {
    position: static;
    padding: 1.5rem;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
  }
  
  .profile-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .stat-item {
    padding: 0.75rem 0.5rem;
  }
  
  .stat-number {
    font-size: 1.25rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .about-text,
  .cv-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .profile-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .cv-dropdown-content a {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  
  .cv-icon {
    font-size: 1.25rem;
  }
}