/* -------------------- Base Styles -------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background:  #02030f;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* -------------------- Header -------------------- */
header#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000210;
  color: white;
  border-bottom: 3px solid #ffffff;
}

header#hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  text-align: left;
  flex-wrap: wrap;
}

header#hero .text-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

header#hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header#hero nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

header#hero nav a {
  color: white;
  text-decoration: none;
}

/* -------------------- Profile Picture -------------------- */
.pfp-wrapper {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid #f5f5f5;
  overflow: hidden;
  transition: transform 0.4s ease; /* smooth zoom in and out */
  transform: scale(1);
}

.pfp-wrapper:hover {
  transform: scale(1.3); /* zoom in on hover */
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  transform: scale(1.8);
}

/* -------------------- Sections -------------------- */
section {
  padding: 4rem 0;
}

section h2, section h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

section h1 {
  margin-bottom: 2rem;
}

/* -------------------- Projects -------------------- */
.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(600px, 1fr));
  gap: 2rem;
  justify-items: center;
  justify-content: center;
  align-items: stretch;
}

.project-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #03000b;
  padding: 3rem;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-item img.project-image {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  background: #0b0334;
  cursor: pointer;
}

.project-item h3 {
  font-size: 1.8rem;
}

.project-item p {
  font-size: 1.1rem;
}

/* -------------------- Experience -------------------- */
.container.experience-container {
  max-width: 1200px;
}

.experience-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}

#experience {
  padding-top: 1rem;
}

.education, .skills {
  flex: 1;
  min-width: 400px;
  color: #ffffff;
  text-align: center;
  border: 3px solid #ffffff;
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.skills ul {
  list-style-type: none;
}

/* -------------------- Footer -------------------- */
footer {
  background: #000210;
  color: white;
  text-align: center;
  border-top: 3px solid #ffffff;
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;      /* stack items vertically */
  align-items: center;         /* center horizontally */
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
}

.footer-copy {
  text-align: center;
}

/* Social links */
.social-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0.5rem 0 0 0;
  justify-content: center;
}

.social-links a {
  color: #ffffff;
  text-decoration: none;
}

/* -------------------- About Section -------------------- */
#about {
  text-align: center;
  padding: 3rem 0;
}

#about h2 {
  margin-bottom: 1rem;
}

#about p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  color: #ffffff;
}

/* -------------------- Responsive Styles -------------------- */

/* Small tablets / large phones (up to 1024px) */
@media (max-width: 1024px) {
  header#hero .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  header#hero nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }

  .project-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .experience-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .education, .skills {
    min-width: 100%;
  }

  .pfp-wrapper {
    width: 150px;
    height: 150px;
  }

  header#hero h1 {
    font-size: 2.2rem;
  }

  header#hero p {
    font-size: 1rem;
  }
}

/* Phones (up to 768px) */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 1.5rem 0;
  }

  header#hero {
    padding: 2rem 1rem;
    height: auto;
  }

  header#hero .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
  }

  .pfp-wrapper {
    width: 120px;
    height: 120px;
  }

  header#hero h1 {
    font-size: 2rem;
  }

  header#hero p {
    font-size: 1rem;
  }

  header#hero nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  header#hero nav a {
    font-size: 0.9rem;
  }

  .project-item {
    padding: 2rem;
  }

  .project-item img.project-image {
    max-width: 100%;
  }

  footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-copy {
    text-align: center;
  }
}

/* Very small phones (up to 480px) */
@media (max-width: 480px) {
  .pfp-wrapper {
    width: 100px;
    height: 100px;
  }

  header#hero h1 {
    font-size: 1.6rem;
  }

  header#hero p {
    font-size: 0.85rem;
  }

  .project-item h3 {
    font-size: 1.4rem;
  }

  .project-item p {
    font-size: 1rem;
  }
}

