.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  /* background-color: #5c7f96; */
  color: #ffffff;
  flex-wrap: wrap;
  background-color: rgb(36, 15, 3);
}

body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgb(179, 171, 166);
  color: white;
}

.profile-left {
  max-width: 600px;
}

.profile-left h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.profile-image {
  width: 150px;
  height: auto;
  object-fit: contain;
  border: none;
  border-radius: 0;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column-reverse;
    text-align: center;
  }

  .profile-left {
    max-width: 100%;
  }

  .profile-image {
    margin-bottom: 1rem;
  }
}

.navbar {
  background-color: black;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #00bfff;
}

#theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.card-link {
  text-decoration: none;
}

.card {
  background-color: #ffffff;
  border-left: 6px solid #523106;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  color: #333;
  text-align: center;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  color: #555;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background-color: #cab9a8;
}

/* week 02 - 06 style */
/* Detail page content card */
.detail-card {
  background-color: rgb(238, 235, 231);
  margin: 2rem auto;
  padding: 2.5rem;
  border-radius: 1rem;
  max-width: 1000px;
  border-left: 6px solid #523106;
  color: #333;
}

.detail-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #007acc;
}

.detail-card h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #2e2e2e;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

.detail-card h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
  color: #444;
}

.detail-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.detail-card ul li {
  margin-bottom: 0.4rem;
}

.detail-card a {
  color: #007acc;
  text-decoration: none;
}

.detail-card a:hover {
  text-decoration: underline;
}

.detail-card img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Adjust links and bullets for clarity */
.detail-card p,
.detail-card li,
.detail-card a {
  font-size: 1rem;
  line-height: 1.6;
}

/* Projects page */
.banner {
  background-color: #2e2e2e;
  color: #ffffff;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  display: block;
  background-color: #ffffff;
  border-left: 6px solid #523106; /*HERE*/
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.project-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #007acc;
}

.project-card p {
  margin-top: 0.75rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background-color: #cab9a8;
}

.page-content h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #523106;
}

.author-info {
  background-color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.author-info strong {
  color: #007acc;
}

.author-info a {
  color: #007acc;
  text-decoration: none;
}

.author-info a:hover {
  text-decoration: underline;
}

/* Footer */

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Wrap all content except footer */
.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Footer styling (already given, now it stays at bottom) */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: black; */
  color: #ffffff;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  background-color: rgb(36, 15, 3);
}

.footer-logo {
  width: 40px;
  height: auto;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-center p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-right a {
  color: #00bfff;
  text-decoration: none;
  font-weight: 500;
}

.footer-right a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-left,
  .footer-right {
    order: 1;
  }

  .footer-center {
    order: 0;
  }
}
