/* General Body and Main Container Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #1a1a2e; /* Dark background similar to your image */
  color: #e0e0e0; /* Light text color */
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background-color: #16213e;
  padding: 20px;
  border-bottom: 1px solid #0f3460;
}

header nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: bold;
}

.project-detail {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  /*background-color: #0f3460; /* Slightly lighter dark background for the content area */
  border-radius: 8px;
}

/* Project Header Section */
.project-header {
  text-align: center;
  margin-bottom: 40px;
}

.project-header h1 {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 10px;
}

.project-header .year {
  font-size: 1.2em;
  color: #a0a0a0;
  font-style: italic;
}

/* Project Info Section */
.project-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.project-info h2 {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.project-info .description {
  flex: 2; /* Takes more space */
  background-color: #0f3460;
  margin-right: 20px;
  padding: 40px;
  border-radius: 8px;
  min-width: 300px;
}
.project-info .description:hover {
  transition: background-color 0.3s ease;
}

.project-info .description p {
  margin-bottom: 15px;
  color: #c0c0c0;
  line-height: 1.8;
}

.project-info .details {
  flex: 1; /* Takes less space */
  min-width: 250px;
}

.project-info .detail-item {
  margin-bottom: 25px;
}

.project-info .detail-item h3 {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 8px;
}

.project-info .detail-item p {
  color: #c0c0c0;
}

/* Tags Styling (reused from your existing button structure) */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tags span {
  background-color: #0f3460; /* A purple tone for tags */
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.tags span:hover {
  background-color: #925c9b; /* Slightly lighter on hover */
}

/* Learn More Button Styling (inspired by your existing button) */
.project-actions {
  text-align: center;
  margin-top: 50px;
}

.learn-more-button {
  display: inline-block;
  background-color: #0f3460; /* A reddish tone for the button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.learn-more-button:hover {
  background-color: #141459; /* Lighter on hover */
  transform: translateY(-2px); /* Slight lift effect */
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  color: #a0a0a0;
  background-color: #16213e;
  border-top: 1px solid #0f3460;
}
