* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding-bottom: 100px;
  width: 100vw;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  background-color: #282828;
  color: white; /* This sets text color to white for better visibility */
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

body {
  min-height: 100vh; /* Ensure the body takes at least the full viewport height */
}

.bg-transparent-page {
  background: transparent !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lora", serif; /* Lora for headings */
}

.content {
  min-height: 300px;
  padding: 20px;
  border: 1px solid #ddd;
  margin: 20px;
}

.footer {
  background-color: #282828;
  color: white;
  padding: 5px;
  position: absolute;
  bottom: 0;
  width: 10%;
  text-align: left;
  font-size: 0.7rem;
}

/* ------------------------------------------------------------------ */
/* NavBar */
.navbar {
  background: #141414;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-right: 100px;
}
.navbar a {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.logo {
  width: 50px; /* Adjust size as needed */
  height: auto;
}

/* ------------------------------------------------------------------ */
.home-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-template-rows: repeat(2, auto); /* 2 rows */
  gap: 10px; /* Adjust spacing between images */
  width: 100vw; /* Full viewport width */
}

.home-container2 {
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 3 columns */
  gap: 10px; /* Adjust spacing between images */
  width: 100vw; /* Full viewport width */
}

.home-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  max-height: 300px;
}
.home-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-overlay {
  position: absolute;
  top: 400px; /* Adjust the position of the overlay */
  left: 0;
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.1); /* Slight transparency */
  display: flex;
  align-items: top;
  justify-content: center;
  opacity: 1; /* Always visible */
}

.home-overlay h1 {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.home-description {
  font-size: 1 rem;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 45%;
  margin: auto;
}

/* ------------------------------------------------------------------ */
/* Gallery */

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: fill; /* This will stretch the image */
  display: block;
}

.gallery-topimage {
  position: relative;
  width: 100%;
  height: 500px;
  left: 0;
  right: 0;
  overflow: hidden;
}

.overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0));
  color: white;
  padding: 20px;
  text-align: center; /* Center the content */
  display: flex;
  flex-direction: column;
  align-items: center; /* Align content in the center horizontally */
}

.title {
  font-size: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px; /* Adjust margin */
}

/* Larger font on medium+ screens */
@media (min-width: 768px) {
  .title {
    font-size: 1.5rem;
  }
}

.description {
  font-size: 0.8rem;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 400px;
}

/* ------------------------------------------------------------------ */
/* Gallery2 */

.gallery-image2 {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This will cover the container */
  display: block;
}

.gallery-topimage2 {
  position: relative;
  width: 100%;
  height: 500px;
  left: 0;
  right: 0;
  overflow: hidden;
}

.overlay2 {
  position: absolute;
  top: 20px; /* Align near the top of the container */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust horizontal centering */
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.2)); /* Slight dark gradient for contrast */
  color: white;
  padding: 15px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* Align content in the center horizontally */
  max-width: 90%; /* Prevent the content from stretching too wide */
}

.title2 {
  font-size: 2rem; /* Increase font size for better readability */
  font-weight: bold;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); /* Darker shadow for contrast */
  margin-bottom: 20px;
  color: #f0f8ff; /* Light color for better visibility on a darker overlay */
}

.description2 {
  font-size: 0.8rem;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Darker text shadow */
  max-width: 600px;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background */
  padding: 10px;
  border-radius: 8px; /* Rounded corners for the description box */
  white-space: pre-line;
}

/* ------------------------------------------------------------------ */
/* Gallery3 */

.gallery3-image-container {
  display: flex;
  justify-content: center; /* Horizontally center the image */
  align-items: flex-start; /* Align the image to the top */
  width: 100%;
  padding-top: 20px; /* Optional padding if you want some space at the top */
  box-sizing: border-box;
}

.gallery3-image {
  max-width: 90vw; /* Max 80% of the viewport width */
  max-height: 70vh; /* Max 70% of the viewport height */
  width: 100%; /* Set to 100% to ensure the image scales down proportionally */
  height: 100%; /* Set to 100% to ensure the image scales down proportionally */
  object-fit: contain; /* Ensure the image fits within the container without distortion */
}

.title3 {
  font-size: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px; /* Adjust margin */
  margin-top: 10px;
}

.description3 {
  font-size: 0.8rem;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 50%;
  margin: auto;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
  max-width: 600px;
  margin: auto;
  margin-top: 20px;
}

.grid-cell3 {
  border: solid 1px;
  height: 50px;
  display: flex;
  justify-content: center; /* Centers text horizontally */
  align-items: center; /* Centers text vertically */
}

/* ------------------------------------------------------------------ */
.prints-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 column on small screens */
  grid-gap: 10px;
  max-width: 80vw;
  margin: auto;
  margin-top: 20px;
  background-color: white;
  color: black;
}

@media (min-width: 768px) {
  .prints-grid {
    grid-template-columns: 1fr 1fr; /* Each cell in the parent grid takes 50% */
  }
}

.prints-grid-cell {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Ensures content is aligned at the top */
  text-align: left;
}

/* Inner grid style */
.inner-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 column on small screens */
  gap: 1rem;
}

@media (min-width: 768px) {
  .inner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.prints-grid-cell2 {
  padding: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 10px;
}

.prints-image {
  max-width: 200px;
}

.prints-grid-cell h1 {
  margin-bottom: 20px; /* Adds space above the title inside the grid cells */
}

.span-two-columns {
  grid-column: span 2; /* This forces the item to span 2 columns */
}

.prints-button {
  font-size: 0.6rem;

  height: 50px;
  display: flex;
  justify-content: center; /* Centers text horizontally */
  align-items: center; /* Centers text vertically */
}

/* Larger font on medium+ screens */
@media (min-width: 768px) {
  .prints-button {
    font-size: 1rem;
    border: solid 1px;
  }
}

.prints-button:hover {
  background-color: #275d2b; /* Darker green on hover */
  color: white;
  transform: scale(1); /* Slightly enlarge the button */
}
/* ------------------------------------------------------------------ */
/* Inquiry Form */
/* Centering the reCAPTCHA */
/* Center Captcha and Submit Button below the form */
.captcha-wrapper,
.form-submit {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .captcha-wrapper,
  .form-submit {
    margin-top: 20px;
    grid-column: span 2; /* Span both columns */
  }
}

.bg-overlay {
  position: fixed; /* Ensure it covers the whole page */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/Categories/Popular/Misty\ Shoreline.jpg") center/cover no-repeat;
  z-index: -1;
}

.bg-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
  z-index: -1;
}

#contact-form {
  display: grid;
  gap: 20px;
  max-width: 90%; /* Limit the width of the form */
  margin: auto; /* Ensure the form stays centered */
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
}

@media (min-width: 768px) {
  #contact-form {
    grid-template-columns: repeat(2, minmax(50%, 1fr));
    max-width: 60%; /* Limit the width of the form */
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* Labels */
.form-group label {
  text-align: left;
  font-size: 1rem;
  margin-bottom: 8px;
  width: 100%;
  color: black;
}

/* Inputs, Select, and Textarea */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: black;
}

/* Textarea specific styles */
.form-group textarea {
  height: 100px; /* Adjust height */
  resize: vertical; /* Allow vertical resizing */
}

/* Submit button */
button {
  width: 30%;
  padding: 10px;
  background-color: #007bff !important;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #0056b3;
}

.form-grid {
  grid-template-columns: 1fr;
  display: grid;
  gap: 1rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(95%, 1fr));
  }

  .form-group.message-field {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  #nav-menu {
    display: none;
  }

  #hamburger-btn {
    display: block;
  }

  #mobile-menu {
    display: flex;
  }
}
