/* Reset body */
body {
  margin: 0;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

/* Hero section with fixed background */
.hero {
  position: relative;
  background: url('images/fit.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 80vh;        /* taller hero so more image shows */
  padding-bottom: 180px;   /* pushes content down, reveals more background */
}

/* White gradient overlay fading down */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* keep transparent until ~70%, then fade to white */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 98%,
    rgba(255,255,255,1.5) 100%
  );
  pointer-events: none;
}

/* Face picture overlaps into intro section */
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #fff;
  position: absolute;       /* anchor to hero */
  bottom: -80px;            /* overlap into bio */
  left: 50%;                /* center horizontally */
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  /* add soft blending glow */
  box-shadow: 0 0 40px rgba(255,255,255,2);
}

/* Intro section (white background) */
.bio {
  background: #fff;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: #333;
  padding-top: 100px; /* space for overlapping face pic */
}

/* Slideshow section */
.slideshow-section {
  background-color: #fff;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Slideshow container */
.slideshow {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Slideshow images */
.slideshow img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* show full image */
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Slideshow buttons */
button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

#prev { left: 10px; }
#next { right: 10px; }
