/* basic custom styles to get that refined look from screenshots */
.serif {
  font-family: 'EB Garamond', serif;
  color: #2d2d2d;
}

input[type="text"],
input[type="password"],
input[type="number"],
textarea,
select {
  border: 1px solid #e6e6e6;
  padding: 0.5rem;
  border-radius: 6px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.02);
  border-color: #d0d0d0;
}

/* Desktop image */
.header-img-desktop {
  width: 100%;
  height: auto;
  /* full height automatically */
  max-height: none;
  /* remove cap if you want full height */
  object-fit: contain;
  /* show full image without cropping */
  object-position: center top;
  /* can keep top align */
  display: block;
}

/* Mobile image – same approach */
.header-img-mobile {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

/* Overlap the section below dynamically */
header+main {
  margin-top: -15vw;
  /* negative margin proportional to viewport width */
}

/* Fine tune on larger screens */
@media (min-width: 1024px) {
  header+main {
    margin-top: -30vw;
  }
}

header {
  position: relative;
  z-index: 0;
  /* header image sits below */
}

main {
  position: relative;
  z-index: 1;
  /* main content sits above */
}

/* ==============================
   Portrait Section Styling
   ============================== */
#portrait {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9f7 100%);
  overflow: hidden;
}

/* Soft shadow and hover lift */
#portrait img {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Responsive typography */
#portrait h2 {
  font-family: 'EB Garamond', serif;
  letter-spacing: 0.5px;
}

#portrait p {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
}

/* Optional floral frame transparency */
#portrait img[alt=""] {
  opacity: 0.7;
}

/* Gentle drifting animation */
@keyframes floral-drift {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 50% 50%;
  }

  100% {
    background-position: 0 0;
  }
}

/* 🪶 Prevent background layers from blocking clicks */
.event-bg,
.event-overlay {
  pointer-events: none;
}