body {
  margin: 0;
  padding: 2rem;
  font-family: Arial, sans-serif;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

.container {
  max-width: 600px;
  margin: auto;
}

h1 {
  font-size: 2.5rem;
  color: #ffffff;
}

.profile-img {
  width: 250px;
  height: 350px;
  border-radius: 10px;      /* Slightly rounded corners, or use 0 for sharp edges */
  object-fit: cover;        /* This crops the image to fill the box */
  object-position: center;  /* Ensures it crops from the center */
  border: 2px solid #ffffff;
  margin-top: 1.5rem;
}


.links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links a {
  text-decoration: none;
  color: #000000;
  background-color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.links a:hover {
  background-color: #cccccc;
}

/* Logo button styles */
.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: #000000;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.logo-link svg {
  width: 20px;
  height: 20px;
}

.logo-link span {
  font-size: 1rem;
}

.github-link:hover {
  background-color: #cccccc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255,255,255,0.2);
}

.linkedin-link:hover {
  background-color: #cccccc;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255,255,255,0.2);
}

/* Text link styles (for Projects) */
.text-link {
  background-color: #ffffff;
  color: #000000;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.text-link:hover {
  background-color: #cccccc;
}

/* Projects Grid Styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.project-card {
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-card h3 {
  padding: 1rem;
  margin: 0;
  font-size: 1.2rem;
  text-align: center;
  background-color: #ffffff;
  color: #000000;
}

.back-link {
  margin-top: 2rem;
  text-align: center;
}

/* Project Detail Page Styles */
.project-detail {
  max-width: 800px;
  margin: 0 auto;
}

.project-header {
  text-align: center;
  margin-bottom: 2rem;
}

.project-image-large {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.project-image-large img {
  width: 100%;
  height: auto;
  display: block;
}

.project-content {
  background-color: #ffffff;
  color: #000000;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  line-height: 1.6;
}

.project-content h2 {
  color: #000000;
  margin-top: 0;
  margin-bottom: 1rem;
}

.project-content h3 {
  color: #000000;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.project-content p {
  margin-bottom: 1rem;
}

.project-content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.project-content li {
  margin-bottom: 0.5rem;
}

.project-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .links a {
    font-size: 0.95rem;
  }
  
  .logo-link svg {
    width: 18px;
    height: 18px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card h3 {
    font-size: 1.1rem;
  }
}
