
/* Apply a soft background for contrast */
body {
    font-family: "Cinzel", serif;
    background-color: #b38d8f;
    color: #ffd0d3;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #siteflower {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;
    text-align: center;
    z-index: 100;
}

#siteflower img {
    max-width: 150%;
    height: auto;
}

  /* Main content container */
  .container {
    max-width: 900px;
    padding: 2.5rem;
    margin: 2.5rem auto;
  }
  
  /* Navigation Bar */
  #nav4site {
    padding: 0.938 0;
    text-align: center;
    width: 100%;
  }
  
  #nav4site ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  #nav4site ul li {
    display: inline;
    margin: 0 0.938rem;
  }
  
  #nav4site ul li a {
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.75rem;
    transition: color 0.3s ease, transform 0.2s ease;
  }
  
  /* Hover Effect - Changes color and adds a slight transformation */
  #nav4site ul li a:hover {
    color: #d3abae; /* Light pink color */
    transform: scale(1.1); /* Slightly enlarges the text */
  }
  
  /* Active (Click) Effect - Changes color and applies a subtle shadow */
  #nav4site ul li a:active {
    color: #78514e; /* Darker pink color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Adds shadow when clicked */
  }
  
  /* Focus Effect - Keeps color change after click */
  #nav4site ul li a:focus {
    color: #78514e;
    box-shadow: 0 0.125rem 0.313rem rgba(0, 0, 0, 0.3);
  }
  
  /* Active Link - Keeps the active link a specific color */
  #nav4site ul li a.active {
    color: #866e6f; /* Light pink color to highlight active page */
    font-weight: bold;
    text-decoration: none; /* Optional: underline the active link */
  }
  
  /* Wedding Date */
  h3 {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 0.063rem;
    font-weight: 600;
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: -2.188rem;
    
  }

  h2 {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 0.063rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #ffffff;
  
    
  }
  h4 {
    font-family: "Passions Conflict", cursive;
  font-weight: 400;
  font-style: normal;
    font-size: 2rem;
    color: #ffffff;
    margin-top: -0.313rem;
  }
  h5 {
    font-family: 'Times New Roman', Times, serif;
  font-weight: 400;
  font-style: normal;
    font-size: 0.875rem;
    color: #ffffff;
    margin-top: 0.313rem;
  }
  
  /* Centered Image */
  #centerpic {
    max-width: 6.25rem;
    display: block;
    margin: 1.25rem auto;
  }

  
  /* Our Story Section */
  .ourstory {
    text-align: left;
    padding: 0rem;
    margin-bottom: -5rem;
  }
  
  .ourstory h1 {
    text-align: center;
    font-family: "Cinzel", serif;
    letter-spacing: 0.063rem;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
    color: #ffffff;
  }
  
  .ourstory p {
    line-height: 1.3rem;
    font-size: 0.875rem;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    color: #ffffff;
  }
  #ournames {
    font-family: "Fleur De Leah", cursive;
  
    color: #5f3c40;
    font-size: 1.5rem;
    font-style: normal;
  }
  #ournames {
    text-decoration: none;  /* Remove the underline */
    color: #5f3c40;         /* Inherit the color of the text */
  }
  /* Banner Image */
  #banner {
    width: 100%;
    max-width: 56.25rem;
    display: block;
    margin: 1.25rem auto;
    border-radius: 0.063rem;
    border-style: solid;
    border-color: #ffffff;
    border-width: 0.188rem;
  }
/* Schedule Section */

  #schedulebannerpic {
    width: 100%;
    max-width: 50rem;
    display: block;
    margin: 1.25rem auto;
    border-radius: 1px;
    border-style: solid;
    border-color: #ffffff;
    border-width: 0.188rem;
  }

  #scheduledate {
    text-align: center; /* Center the content in the div */
    padding: 1.25rem
    ; /* Add padding around the content */
  }

  #scheduledate h2 {
    font-family: "Cinzel", serif; /* Change the font of the date */
    font-size: 1.75rem; /* Set the font size */
    color: #ffffff; /* Set the color */
    margin-bottom: 0.625rem
    ; /* Space between the date and the image */
  }

  #scheduledate img {
    width: 100px; /* Set the width of the image */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 0.5rem; /* Optional: add rounded corners to the image */
    margin-top: -0.625rem
    ; /* Space above the image */
  }

  #ceremony {
    text-align: center; /* Center the content in the div */
    padding: 1.25rem; /* Add padding around the content */
  }

  #ceremony h2 {
    font-family: "Cinzel", serif; /* Change the font of the date */
    font-size: 1.5rem; /* Set the font size */
    color: #ffffff; /* Set the color */
    margin-top: -3.125rem; /* Space between the date and the image */
  }
  #ceremony h3 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 200;/* Change the font of the date */
    font-size: 1.5rem; /* Set the font size */
    color: #ffffff; /* Set the color */
    margin-top: -1.125rem; /* Space between the date and the image */
  }
  #ceremony h6 {
    font-family: 'Times New Roman', Times, serif;/* Change the font of the date */
    font-size: 1rem; /* Set the font size */
    font-weight: 300;
    text-align: center;
    color: #ffffff; /* Set the color */
    margin-bottom: 0.625rem; /* Space between the date and the image */
    line-height: 1.5rem;
  }
  #reception {
    text-align: center; /* Center the content in the div */
    padding: 1.25rem; /* Add padding around the content */
  }

  #reception h2 {
    font-family: "Cinzel", serif; /* Change the font of the date */
    font-size: 1.5rem; /* Set the font size */
    color: #ffffff; /* Set the color */
    margin-bottom: 0.625rem; /* Space between the date and the image */
  }

  #reception h3 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 200;/* Change the font of the date */
    font-size: 1.5rem; /* Set the font size */
    color: #ffffff; /* Set the color */
    margin-top: -.5rem; /* Space between the date and the image */
  }
  #reception h6 {
    font-family: 'Times New Roman', Times, serif;/* Change the font of the date */
    font-size: 1rem; /* Set the font size */
    font-weight: 300;
    text-align: center;
    color: #ffffff; /* Set the color */
    margin-bottom: 0.625rem; /* Space between the date and the image */
    line-height: 1.5rem;
  }
  /* RSVP Section */

.rsvp-container {
  padding: 3.125rem;
  margin-top: 6.25rem;
  display: flex;
  font-family: 'Times New Roman', Times, serif;
  justify-content: center;
  align-items: center;
  background-color: #977979;
  border-radius: 0.938rem;
}

.card {
  background-color: #b38d8f; /* White background for the card */
  padding: 1.875rem; /* Add padding inside the card */
  border-radius: 0.938rem; /* Rounded corners */
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* Subtle shadow for a floating effect */
  width: 100%;
  max-width: 31.25rem; /* Control the card width */
  text-align: center;
}

.card h2 {
  font-family: 'Cinzel', serif;
  color: #5f3c40; /* Dark color for the heading */
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.card form {
  display: flex;
  flex-direction: column;
  gap: 0.938rem; /* Space between form elements */
}

.card label {
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  color: #5f3c40; /* Match text color with the heading */
}

.card input,
.card select {
  padding: 0.625rem;
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  border: 0.063rem solid #ddd; /* Light border for input fields */
  border-radius: 0.313rem; /* Rounded corners for inputs */
  width: 100%;
  box-sizing: border-box; /* Ensure padding is inside the element */
}

.card button {
  padding: 0.625rem 1.25rem;
  background-color: #5f3c40; /* Match button color with heading */
  color: white;
  border: none;
  border-radius: 0.313rem;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  transition: background-color 0.3s ease;
}

.card button:hover {
  background-color: #78514e; /* Darker shade on hover */
}

.slideshow-container {
  position: relative;
  width: 50rem;
  height: 50rem; /* Adjust based on preference */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent; /* No background */
  margin-top: 2rem;

}
/* Make the slideshow container responsive */
@media screen and (max-width: 1024px) {
  .slideshow-container {
    width: 40rem; /* Shrinks to 40rem for tablets and smaller devices */
    height: 40rem; /* Shrinks the height */
  }
}

@media screen and (max-width: 768px) {
  .slideshow-container {
    width: 50rem; /* Further shrink */
    height: 50rem;
  }
}

@media screen and (max-width: 480px) {
  .slideshow-container {
    width: 90%; /* Full width on very small screens */
    height: auto; /* Adjust height automatically based on aspect ratio */
  }
}


.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Keeps aspect ratio */
}
/* Navigation Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(81, 81, 81, 0.5);
  color: white;
  border-radius: 0.125rem;
  padding: 0.625rem;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.prev { left: 0.625rem; }
.next { right: 0.625rem; }

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

footer {
  margin-top: 2rem;
}
footer p {
  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.8rem;
}

footer a {
  color: #5f3c40;
}
/* Responsive design for smaller screens */
/* Show mobile nav and hamburger menu on smaller screens */
@media (max-width: 48rem) {
  .main-nav {
    display: none; /* Hide desktop navigation on smaller screens */
  }

  .mobile-nav {
    display: block; /* Show mobile navigation */
  }

  .hamburger-menu {
    display: block; /* Show the hamburger menu */
  }
}

/* Hide mobile nav and hamburger menu on larger screens */
@media (min-width: 48.063rem) {
  .mobile-nav {
    display: none; /* Hide the mobile menu */
  }

  .main-nav {
    display: block; /* Show the main navigation */
  }

  .hamburger-menu {
    display: none; /* Hide thes hamburger menu */
  }
}

/* Hamburger Menu (positioned to the right) */
.hamburger-menu {
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 20px; /* Align hamburger to the right */
  top: 20px; /* Adjust the vertical position */
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 5px auto;
}

/* Mobile navigation links */
.mobile-nav li a {
  text-decoration: none;
  font-size: 1.25rem;
  color: #333; /* Ensure the link text color is dark enough to be visible */
  display: block; /* Make sure the link takes the full width of the container */
  padding: 1rem;
}

.mobile-nav {
  display: none; /* Hide the menu by default */
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 250px; /* Adjust the width of the sliding menu */
  position: fixed;
  right: -250px; /* Start off-screen */
  top: 0;
  bottom: 0;
  background-color: #5f3c40; /* Background color */
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease; /* Smooth sliding transition */
  z-index: 1000;
}

/* When the menu is active, slide it in from the right */
.mobile-nav.active {
  display: block; /* Make it visible */
  right: 0; /* Slide in from the right */
}

/* Overlay darkens the background when menu is active */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-nav-overlay.active {
  display: block; /* Show the overlay when menu is active */
}

