body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fdfdfc;
  color: #333;
}

header {
  background: #004c7a;
  color: white;
  padding: 1em;
  text-align: center;
}

nav a {
  color: orange;
  margin: 0 1em;
  text-decoration: none;
}

.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2em;
  font-size: 1.5em;
  text-align: center;
  max-width: 90%;
  box-sizing: border-box;
}


.gallery {
  padding: 2em;
  text-align: center;
}

.main-image img {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  border: 4px solid tan;
}

.thumbnails {
  margin-top: 1em;
}

.thumbnails img {
  width: 100px;
  height: 70px;
  margin: 0.3em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.3s;
}

.thumbnails img:hover {
  border: 2px solid orange;
}

.contact {
  padding: 2em;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.contact-text {
  width: 100%;
  max-width: none;
  margin: 1em auto;
  font-size: 1.1em;
  line-height: 1.6;
  padding: 0 2em;
  text-align: left;
}


.text-block {
  max-width: 80%;
  margin: 1em auto;
  font-size: 1.1em;
  line-height: 1.6;
  text-align: left;
}

.center-text {
  text-align: center;
}



.contact-form {
  display: flex;
  gap: 2em;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  flex: 1;
}

form input, form textarea {
  padding: 0.7em;
  border: 1px solid #ccc;
}

form button {
  background-color: orange;
  color: white;
  border: none;
  padding: 0.8em;
  cursor: pointer;
}

.contact img {
  width: 600px;
  height: auto;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1em;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


.socials a {
  color: #ddd;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  header nav a {
    display: block;
    margin: 0.5em 0;
  }

  .hero, .gallery, .contact, .thank-you, .about {
    padding: 1em;
  }

  .main-image img {
    width: 100%;
  }
    
    .bio-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 2em auto;
  border-radius: 8px;
}

    @media screen and (max-width: 768px) {
  .bio-image {
    margin: 1.5em auto;
  }
}


  .thumbnails img {
    width: 60px;
    height: auto;
  }

  .contact-form {
    flex-direction: column;
    align-items: center;
  }

  .contact img {
    width: 80%;
    margin-top: 1em;
  }

  .text-block, .bio-text {
    max-width: 95%;
    padding: 0 1em;
    text-align: left;
  }

  footer {
    font-size: 0.9em;
    padding: 1em 0.5em;
  }
}

