/* Reset default browser styles */
body,
h1,
h2,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

/* General styles */
body {
  background-color: #fff;
  font-family: "Futura", Arial, sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  align-items: center;
}

/* Navigation links */
.navigation ul {
  list-style: none;
  text-align: left;
  padding-left: 20px;
}

.navigation li {
  margin-bottom: 10px;
}

.custom-font {
  font-family: "Hiragino Kaku Gothic Std", sans-serif;
}

.navigation a {
  text-decoration: none;
  color: black;
  font-size: 20px;
}

/* Contact button */
.contact-button {
  text-decoration: none;
  color: black;
  background-color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-family: "Avenir Black", Arial, sans-serif;
  text-align: left;
  padding-left: 10px;
}

/* Email address section */
.email-address {
  text-align: center;
  font-size: 18px;
  color: black;
  margin-top: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.email-address p {
  margin: 0;
}

.email-address a {
  text-decoration: none;
  color: black;
}

.email-address a:hover {
  text-decoration: underline;
}

/* Image container */
#image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  overflow: hidden;
  padding: 30px 0; /* ✅ adds white border top/bottom */
}

#image {
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  background-color: white;
}

/* ✅ Black text arrows positioned in the white border */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: black;
  cursor: pointer;
  user-select: none;
  z-index: 5;
  font-family: Arial, sans-serif;
}

/* Default position — arrows in white border */
#prev-arrow {
  left: 5%;
}

#next-arrow {
  right: 5%;
}

/* Mobile styles */
@media (max-width: 768px) {
  h1 {
    font-size: 12px;
  }

  #my-heading {
    font-size: 12px;
    color: black;
    text-decoration: none;
    margin-left: 0;
    padding-left: 12px;
  }

  .navigation a {
    color: black;
    font-size: 17px;
  }

  .contact-button {
    font-size: 12px;
  }

  .email-address {
    text-align: center;
    font-size: 10px;
    color: black;
    margin-top: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  #image-wrapper {
    padding: 20px 0; /* a bit smaller border on mobile */
  }

  #image {
    max-width: 92%;
    max-height: 65vh;
  }

  .nav-arrow {
    font-size: 2rem;
  }

  #prev-arrow {
    left: 10px;
  }

  #next-arrow {
    right: 10px;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  h1 {
    font-size: 15px;
  }

  #my-heading {
    font-size: 15px;
    color: black;
    text-decoration: none;
    margin-left: 0;
    padding-left: 11px;
  }

  .navigation a {
    color: black;
    font-size: 17px;
  }

  #image {
    max-height: 565px;
  }

  .nav-arrow {
    font-size: 3rem;
  }

  #prev-arrow {
    left: 40px;
  }

  #next-arrow {
    right: 40px;
  }
}
