body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}

body a {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  text-decoration: none;
}

main {
  padding: 2rem;
}

header, footer {
  background: #222;
  color: #fff;
  padding: 2rem;
  text-align: left;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-row > div {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

header h1 {
  color: #fff;
  text-decoration: none;
  margin-bottom: 0;
}

header a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 0;
}

header p {
  margin-top: 0;
  margin-bottom: 0;
}

h1 {
    color: #fff
}

h2 {
  color: #222;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: transparent; /* Changed from #f8f8f8 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: 
    transform 0.2s, 
    box-shadow 0.2s, 
    background 0.2s, 
    backdrop-filter 0.2s;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px) saturate(180%);
  opacity: 0;
  pointer-events: none; /* Allow clicks to pass through */
  transition: opacity 0.2s;
  border-radius: 12px;
  z-index: 3; /* Make sure this is above the content */
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  background: rgba(255, 255, 255, 0.3); /* More translucent */
  backdrop-filter: blur(12px) saturate(180%);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: relative;
  z-index: 2;
}

.gallery-item span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  width: auto;
  min-width: 70%;
  max-width: 90%;
  padding: 1rem 0.5rem;
  font-size: 1.2rem;
  color: #3a3a3a;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

.gallery-item:hover span {
  opacity: 1;
  pointer-events: auto;
}

.hamburger {
  position: static;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 10;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
  position: relative;
}

/* Hamburger to X transition */
.hamburger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile menu styles */
.mobile-menu {
  display: none;
  position: absolute;
  top: 4.5rem;
  right: 2rem;
  background: rgba(34,34,34,0.97);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  padding: 1rem 2rem;
  z-index: 9;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin: 1rem 0;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

.mobile-menu.open {
  display: block;
}

.about-photo {
  float: right;
  width: 250px;
  height: auto;
  margin: 0 0 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  object-fit: cover;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin-bottom: 2rem;
  margin-top: 0;
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
}

.hero-image-wca {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: bottom center;
  border-radius: 12px;
}

.hero-title {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.75em 1.5em;
  color: #fff;
  border-radius: 8px;
  font-size: 2rem;
}

.image-credit {
  position: absolute;
  bottom: 1rem;
  right: 3rem;
  margin: 0;
  padding: 0.75em 1.5em;
  color: #fff;
  border-radius: 8px;
  font-size: 0.625rem;
}

.credit-link {
  color: #fff;
  text-decoration: none;
}

.callout {
  background: #222;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 12px;
  padding: 1rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.callout a {
  color: #fff;
  text-decoration: none;
}

/* Report / presentation preview cards */
.media-float {
  float: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 1.5rem 1rem 0;
}

.media-float-right {
  float: right;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 1.5rem 1rem 0;
}

.report-preview-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.report-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 220px;
}

.report-pdf-thumb,
.report-pptx-thumb {
  position: relative;
  width: 220px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.report-pdf-thumb {
  height: 285px;
}

.report-pptx-thumb {
  height: 124px;
}

.report-pdf-thumb:hover,
.report-pptx-thumb:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

.report-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Frosted-glass hover overlay — matches gallery-item pattern */
.report-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px) saturate(180%);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.report-pdf-thumb:hover .report-hover-overlay,
.report-pptx-thumb:hover .report-hover-overlay {
  opacity: 1;
}

.report-hover-overlay span {
  font-size: 1rem;
  font-weight: 700;
  color: #3a3a3a;
  text-align: center;
  padding: 0.5rem 1rem;
  letter-spacing: 0.03em;
}

.report-label {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
  font-family: Arial, sans-serif;
  text-align: center;
}

.floated-table-left {
  float: left;
  width: 35%;
  margin: 0 1.5rem 1rem 0;
}

.floated-table-right {
  float: right;
  width: 35%;
  margin: 0 0 1rem 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
}

thead tr {
  background: #222;
  color: #fff;
}

thead th {
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.03em;
}

tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background: #f4f4f4;
}

tbody tr:nth-child(odd) {
  background: #fff;
}

tbody td {
  padding: 0.85rem 1.25rem;
  vertical-align: top;
  line-height: 1.6;
}

tbody td:first-child {
  font-weight: 600;
  white-space: nowrap;
  width: 20%;
}