:root {
  --accent-color1: #fff;
  --accent-color2: #5c5c5c;
  /* --accent-color3: #2c3e50; */
  --accent-color3: #5c5c5c;
  --myfont: black;
  --myfont2: #5d6d7e;
  /* color: #2c3e50; */
    /* color: #34495e; */
}


/* ====================================================================================================
  Navigation Section
==================================================================================================== */

.corner-trace {
  position: fixed;      /* stays in place even when scrolling */
  top: 0;               /* top-right corner */
  right: 0;
  width: 15rem;         /* adjust size as needed */
  height: 16rem;         /* maintain SVG aspect ratio */
  z-index: 0;           /* behind content */
  pointer-events: none; /* allow clicks to pass through */
}

.nav-wrapper {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}
.nav {
  display: flex;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: #fafafa;
  border: 1px dashed #e5e5e5;
}

.nav-link {
  font-size: 1rem;
  font-weight: 2rem;
  padding: 0.5rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--myfont);
  position: relative;
  padding-bottom: 6px;

}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.2em;

  width: 70%;
  height: 2px;
  background: currentColor;

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;

  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
  transition-duration: 0.35s;
}
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}




/* ====================================================================================================
  Individual Project Layout - Professional, Minimalist, Spacious
==================================================================================================== */

.project-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
  /* line-height: 1.7; */
}

.project-heading {
  text-align: center;
}

/* Headings */
.project-container h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  
  line-height: 1.15;
  font-weight: 700;
  /* position: relative; */
  /* margin-bottom: 3rem; */

}

.project-container h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color3);
  margin: 0.5rem auto 0;
  border-radius: 2px;
   
}

.project-info-heading p {
  font-size: 1rem;
  color: var(--myfont2);
  max-width: 800px;
}

.project-container h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 2rem 0 2.5rem;

  color: var(--myfont);
  position: relative;
  padding-bottom: 0.5rem;
}

.project-container h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color3);
  margin-top: 0.5rem;
  border-radius: 1px;
}

/* Paragraphs */
.project-info p,
.project-container p {
  font-size: 1rem;
  color: var(--myfont2);
  max-width: 800px;
  margin: 1rem auto 2rem;
  line-height: 1.8;
}

/* Links */
.project-container a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-container a:hover {
  text-decoration: underline;
}

/* ==============
  Project Image
============== */

.project-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: block;
  margin: 2.5rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ==============
  Project Meta (Year / Info under image)
============== */


.publication {
  display: flex;
  justify-content: center;
  gap: 10rem;
  align-items: center;
  margin: 2rem auto 0;
}

/* Left column */
.date-content {
  display: flex;
  flex-direction: column;
}

/* Year text */
.publication-year {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--myfont2);
}

/* Big year number */
.publication-date {
  font-size: 1rem;
  padding: 0.55rem 0.9rem;
  color: var(--myfont);
  font-weight: 600;
}

/* Right column (button only) */
.publication-content.center {
  display: flex;
  align-items: center;   /* vertical centering */
  justify-content: center;
}

/* Button (unchanged, reused system) */
.publication-link.dark {
  font-size: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;

  background: #262626;
  color: var(--accent-color1);
  text-decoration: none;
  font-weight: 600;

  transition:
    color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.publication-link.dark:hover {
  background: var(--accent-color2);
  color: var(--accent-color1);
  transform: translateY(-1px);
  text-decoration: none;
}


/* ==============
  Lists
============== */

ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 3rem;
  max-width: 800px;
}

ul li {
  font-size: 1rem;
  line-height: 2;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: var(--myfont2);
}

ul li:last-child {
  border-bottom: none;
}

/* Recommendations list (optional extra style) */
.recommendations ul {
  list-style-type: square;
  padding-left: 2rem;
}

/* ==============
  Challenges & Discussion Articles
============== */

.challenges article,
.discussion article {
  background: var(--accent-color1);
  padding: 2rem 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenges article:hover,
.discussion article:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

.challenges article h3,
.discussion article h3 {
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--accent-color3);
}

.challenges article p,
.discussion article p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--accent-color2);
}

/* ==============
  Sections
============== */

section {
  margin-bottom: 4rem;
  padding: 0 1rem;
}

section + section {
  border-top: 1px solid #e0e0e0;
  padding-top: 3rem;
}


/* ==============
  Responsive Tweaks
============== */

@media (max-width: 768px) {
  .project-image img {
    max-height: 300px;
    margin: 2rem 0;
  }

  ul li {
    line-height: 1.7;
  }

  .challenges article,
  .discussion article {
    padding: 1.5rem 1.5rem;
  }
}






/* ====================================================================================================
  UNDER CONSTRUCTION Card
==================================================================================================== */

.under-construction {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* roughly center vertically */
  text-align: center;
}

/* Big heading */
.under-construction h1 {
  font-size: 2rem;
  margin-top: 2rem;
}

/* Ensure the GIF container stays centered */
.construction-animation {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Optional: make the GIF a reasonable size */
.construction-animation img {
  max-width: 200px;  /* adjust as needed */
  width: 100%;
  height: auto;
}






