/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Tangerine&display=swap');

.bythesehands,
h1,
h2 {
  font-family: "Tangerine", serif;
  font-style: normal;
}

a {
  color: #333; /* Dark grey color */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Add a smooth color transition */
}

a:hover {
  color: #007bff; /* Change color on hover */
}

h2 {
  font-size: 3.5em;
  text-align: center;
  margin: 1em 0;
}

.center {
  text-align: center;
  margin: auto;
}

body {
  background-color: #f4f4f4;
  font-family: Arial, sans-serif;
}

.container {
  width: 90%;
  margin: auto;
}

header {
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  text-align: center;
  padding: 50px 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Vertically center content */
  align-items: center;
  /* Horizontally center content */
  text-align: center;
  /* Center text */
  padding: 20px;
  /* Add some padding */

}

header h1 {
  font-size: 6em;
  color: white;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* Add a subtle shadow for readability */
  z-index: 10;
}

@media screen and (max-width: 600px) {
  header h1 {
    font-size: 5em;
  }
}

@media screen and (max-width: 500px) {
  header h1 {
    font-size: 4em;
  }
}

header h3 {
  font-size: 1.5em;
  color: white;
  margin: 1px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  /* Lighter shadow for subtitle */
  z-index: 10;
}

header p {
  font-size: 1.2em;
  color: white;
  margin: 1px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  /* Lighter shadow for subtitle */
  z-index: 10;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust opacity as needed */
  z-index: 5;
  height: 400px;
}

/* Testimonials Section */
#testimonials {
  overflow: hidden;
  white-space: nowrap;
  margin: 2em 0 6em;
}

.testimonial-container {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.testimonial {
  display: inline-block;
  padding: 1em 2em;
  margin-right: 2em;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-style: italic;
  text-align: center;
  height: 150px;
  /* Keep testimonials consistent height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial p {
  margin: 0;
}

#testimonial-scroll {
  display: flex;
  animation: scrollTestimonials 30s linear infinite;
}

@keyframes scrollTestimonials {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  /* Allow images to wrap onto multiple lines */
  justify-content: center;
  /* Center the entire gallery horizontally */
  align-items: center;
  /* Center each row vertically */
}

.image-gallery img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  /* Crop and center the image */
  margin: 10px;
  /* Add spacing between images */
}

/* Optional: Media query for smaller screens (adjust breakpoint as needed) */
@media (max-width: 768px) {
  .image-gallery img {
    width: calc(50% - 20px);
    /* Two images per row */
  }
}

@media (max-width: 480px) {
  .image-gallery img {
    width: calc(100% - 20px);
    /* One image per row */
  }
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* Semi-transparent grey background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* Ensure it's on top */
}

#overlay.hidden {
  display: none;
}

#close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 3em;
  color: white;
  cursor: pointer;
}

#zoomed-image {
  max-width: 90%;
  max-height: 90%;
  /* cursor: grab; */
  /* Change to grabbing on drag */
}

#zoomed-image:active {
  /* cursor: grabbing; */
}



/* About Me Section */
#about {
  background-color: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#about p {
  font-size: 1.2em;
  line-height: 1.6;
}

@media screen and (max-width: 800px) {
  #about {
    padding: 1em 2em;
  }
}

#about .hire-button {
  padding: 1em 2em;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  border-radius: 5px;
}

#contact {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Form Styling */
form input,
form textarea {
  width: 100%;
  padding: 1em;
  margin: 1em 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 1em 2em;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

footer {
  text-align: center;
  margin-top: 3em;
  font-size: 0.8em;
  padding: 1em;
}
