/* HEADER */
.graphics-hero {
  position: relative;
  min-height: 55vh;
  padding-top: 160px; /* clears fixed navbar */
  padding-bottom: 90px;

  background-image: url("../Final\ images/AbstractImgGraphics.png"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;
}

/* Overlay for contrast */
.graphics-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(239, 240, 244, 0.35),
    rgba(239, 240, 244, 0.85)
  );
  z-index: 1;
}

/* Header content */
.graphics-header-content {
  position: relative;
  z-index: 2;
}

/* Kicker */
.graphics-kicker {
  margin: 0 0 12px;
  font-family: "Roboto", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #003049;
  opacity: 0.75;
}

/* Title */
.graphics-title {
  margin: 0 0 14px;
  font-family: "Instrument Serif", serif;
  font-weight: 500;
  color: #003049;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
}

/* Subtitle */
.graphics-subtitle {
  margin: 0;
  max-width: 52rem;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #003049;
  opacity: 0.9;
  line-height: 1.6;
}

/* Optional editorial accent */
.graphics-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: #EC8997;
  margin-top: 18px;
}

h2 {
  font-family:"ephesis", serif;
}

.project-link{
text-decoration: none;
color: inherit;
display:block;
}


/* Mobile refinement */
@media (max-width: 768px) {
  .graphics-hero {
    min-height: 60vh;
    padding-top: 140px;
    padding-bottom: 70px;
  }

  .graphics-subtitle {
    max-width: 100%;
  }
}

/* Graphics page layout */
.graphics-page {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Each project row */
.project-row {
  padding: 60px 0;
  border-bottom: 1px solid #003049;
cursor: url("../CursorIcons/pointer.png"), pointer;
transition: transform .35s ease;
}

.project-row:hover{
transform: translateY(-6px);
opacity: .9;
}
/* Last one without border */
.project-row:last-of-type {
  border-bottom: none;
}

/* Image wrapper */
.project-image-wrapper {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.project-img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  transform: scale(1.02);
  transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  cursor: url("../CursorIcons/pointer.png"), pointer;
}

/* Hover: color + slight zoom */
.project-image-wrapper:hover .project-img {
  filter: none;
  transform: scale(1.06);
}

/* Project text */
.project-title {
  margin-bottom: 0.25rem;
}

.project-subtitle {
  color: #EC8997;
  margin-bottom: 0.75rem;
}

.project-tag {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #003049;
  opacity: 0.7;
  margin-bottom: 0.3rem;
}

/* Optional small description style if you add copy later */
.project-description {
  font-size: 0.95rem;
  max-width: 32rem;
}

/* Alternate layout every other row on desktop */
@media (min-width: 768px) {
  .project-row.reverse .project-image-col {
    order: 2;
  }
  .project-row.reverse .project-text-col {
    order: 1;
  }
}

