/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BASE
========================= */
html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Century Gothic", Arial, sans-serif;
  background-color: #faf7f2;
  color: #555;
}

/* =========================
   HEADER
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  transition: background-color 0.4s ease;
}

header a {
  text-decoration: none;
  font-size: 14px;
  color: #faf7f2;
}

nav a {
  margin-left: 32px;
}

/* Header when scrolling */
header.header-opaque {
  background-color: #faf7f2;
}

header.header-opaque a {
  color: #555;
}

/* =========================
   COVER IMAGE
========================= */
.work-cover {
  height: 550px;
  width: 100%;
  overflow: hidden;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%; /* adjust crop here */
}

/* =========================
   FIRST CONTENT BLOCK
========================= */
.work-content {
  display: flex;
  gap: 80px;
  padding: 80px 60px;
  font-size: 14px;
  line-height: 1.8;
}

/* LEFT TEXT */
.text-block {
  flex: 0 0 35%;
  text-align: justify;
}

.description {
  margin-bottom: 40px;
}

.details {
  line-height: 1.6;
}

/* RIGHT IMAGE */
.image-block {
  flex: 0 0 60%;
}

.image-block img {
  width: 100%;
  display: block;
}

/* =========================
   GALLERY
========================= */
.work-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 0;
}

.work-gallery img {
  width: 80%;
  max-width: 900px;
}

.photo-credit {
  width: 100%;
  margin-top: 40px;

  text-align: right;
  margin-right: 10px;
  letter-spacing: 0.02em;
  font-style: italic;
  font-size: 12px;
  color: #999;
}

/* =========================
   FOOTER
========================= */
footer {
  padding: 40px;
  font-size: 12px;
  color: #777;
}
