/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.8;
  color: #1a1a1a;
  background-color: #ffffff;
}

section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.5px;
}

h2 {
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
}

/* ===== Header ===== */
header {
  background-color: #000000;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-name {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* ===== About Section ===== */
.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #000000;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #333333;
}

.resume-link {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.resume-link:hover {
  background-color: #333333;
}

/* ===== Skills Section ===== */
#skills {
  background-color: #f7f7f7;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-card {
  background-color: #ffffff;
  padding: 2rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.skill-name {
  margin-bottom: 0.8rem;
}

.skill-description {
  color: #555555;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background-color: #000000;
  border-radius: 4px;
}

.progress-label {
  font-size: 0.85rem;
  color: #666666;
}

/* ===== Footer ===== */
footer {
  background-color: #000000;
  color: #ffffff;
  padding: 2.5rem 2rem;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.9rem;
  color: #cccccc;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: #ffffff;
  font-size: 1.3rem;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.6;
}

/* ===== Responsive Media Queries ===== */

/* Tablets */
@media (max-width: 768px) {
  section {
    padding: 3rem 1.5rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
  }

  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .profile-pic {
    width: 110px;
    height: 110px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}