/**
 * About Section Styles
 *
 * @format
 */

.about {
  padding: 6rem 2rem;
  background: #fafafa;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  position: relative;
}

.profile-photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about-text {
  padding-top: 1rem;
}

.about-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.about-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-description p {
  margin-bottom: 1.5rem;
}

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

.skills {
  margin-top: 3rem;
}

.skills-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

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

.skill-category {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.skill-category h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.skill-category li:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    padding: 1rem;
    padding-top: 70px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .btn {
    width: 200px;
    text-align: center;
  }

  .hero-social {
    gap: 1.5rem;
  }

  .about {
    padding: 4rem 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .about-image {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .profile-photo {
    max-width: 250px;
  }

  .about-text {
    padding-top: 0;
  }

  .about-title {
    font-size: 1.75rem;
  }

  .skills-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-greeting {
    font-size: 0.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    width: 180px;
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
  }

  .about {
    padding: 3rem 1rem;
  }

  .profile-photo {
    max-width: 200px;
  }

  .about-title {
    font-size: 1.5rem;
  }
}
