* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

hr {
  margin: 6rem auto;
}

body {
  background-color: #f5f5f5; /* Light grey */
  color: #333; /* Dark grey for text */
}

section {
  scroll-margin-top: 150px; /* Adjust this value to match the height of your sticky header */
}

.site-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  /* background-color: #2f2f2f; Dark grey-black */
  background-color: rgba(47, 47, 47, 0.85); /* Dark grey with 15% transparency */
  color: #e6e6e6; /* Light grey for text */
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-grow: 1;
  margin-left: 2rem;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: #e6e6e6;
  text-decoration: none;
  font-size: 1.4rem;
  padding-left: 1.5rem;
}

.nav-menu a:hover {
  color: #b8a68a; /* Earthy taupe */
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #e6e6e6;
  transition: all 0.3s ease;
}

/* Main Content */
main {
  padding: 2rem;
}

p {
  color: #555; /* Medium grey */
  color: #333; /* Dark grey for text */
  font-size: 1.6em;
  padding: 2em 1.8em;
  line-height: 1.8;
}

.welcome {
  background-color: #d9c2a7; /* Earthy beige */
  background-color: rgba(47, 47, 47, 0.2); /* Dark grey with light transparency */
  padding: 1.8rem;
  border-radius: 10px;
  padding: 2.2em;
  font-size: 2.8em;
  text-align: center;
}
.welcome,
h1 {
  margin: 3rem 0 2rem;
  color: #2f2f2f; /* Dark grey-black */
  font-size: 2.8em;
}

h2 {
  color: #2f2f2f; /* Dark grey-black */
  font-size: 2em;
}

.intro-section {
  color: #333; /* Dark grey for text */
  font-size: 1.6em;
  padding: 3.4em 1.8em;
  text-align: center;
}

#print-flyer {
  min-height: 40vh;
  text-align: center;
}

.details {
  min-height: 40vh;
  text-align: center;
}

.print-section hr {
  border: none;
  margin: 15rem;
}

.button {
  display: inline-block;
  margin-bottom: 4rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.button a {
  font-size: 1rem;
}

a.btn {
  display: inline-block;
  padding: 1.5rem 2.5rem;
  background-color: #8a7a5e; /* Earthy brown */
  border-radius: 5px;
  color: #f5f5f5;
  text-decoration: none;
  border: none;
  cursor: pointer;
  
}

a.btn:hover {
  background-color: #6b5e45; /* Darker earthy brown */
}

/* Photo Gallery */

#photos {
  min-height: 40vh;
  text-align: center;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5em;
}

.gallery img {
  width: 46%;
  object-fit: cover;
  border: 3px solid #d9c2a7; /* Earthy beige border */
}

/* Add this to your existing CSS */
.responsive-img {
  width: 100%; /* Takes up 100% of the parent container's width */
  height: auto; /* Maintains aspect ratio */
  max-width: 100%; /* Prevents the image from exceeding its original size */
  display: block; /* Removes extra space below the image */
  margin: 1rem auto; /* Centers the image and adds spacing */
}

.horizontal-line {
   border: 1px solid #d9c2a7; /* change the color and style as needed -- Earthy Beige Line */
}

.contact-us {
  min-height: 40vh;
  text-align: center;
}

/* Footer */
.footer {
  background-color: rgba(47, 47, 47, 0.85); /* Dark grey with 15% transparency */
  color: #e6e6e6; /* Light grey for text */
}

.footer-text {
  position: bottom; /* or absolute, fixed, sticky */
  z-index: 1000; /* Higher values are on top */
  color: #e6e6e6; /* Light grey for text */
  font-weight: thinner;
  font-size: 1rem;
  text-align: center;


}


/* Responsive Design */

/* Media Query for Hamburger Menu */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2f2f2f;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  .footer-text {
    font-size: 0.8rem;
  }
}

/* This is the CSS for the full size image and close button functionality in the Gallery */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-button {
  position: absolute;
  font-size: large;
  top: 4rem;
  right: 3.7rem;
  padding: 1.8rem;
  background-color: #8a7a5e; /* Earthy brown */
  border-radius: 5px;
  color: #f5f5f5;
  text-decoration: none;
  box-shadow: #333 3px 5px 10px;
}

/* Media Query for Small Screens & Older Phones */
@media (max-width: 565px) {
  .welcome {
    padding: 1.2rem;
    margin-top: 2rem;
  }

  .home p {
    margin: 2rem auto;
    font-size: 1.4rem;
  }

  .close-button {
    top: 3.7rem;
    right: 1.2rem;
    padding: 1.2rem;
  }
  .intro-section {
    font-size: large;
    font-weight: 600;
    padding: 2.5rem 0.5rem;
  }
  .print-flyer p {
    padding-top: 1.8rem;
    font-size: large;
  }
  .details p {
    padding-top: 1.8rem;
    font-size: large;
  }
  .contact-us p {
    padding-top: 1.8rem;
    font-size: large;
  }
  .footer-text {
    font-size: 0.6rem;
  }
}
