/* General Reset */
/* Remove default margin and padding, set box-sizing for consistency */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar Section */
/* Style the navigation bar to be fixed at the top with custom background */
.navbar {
  position: fixed; /* Fixed position */ 
  background-color: lavenderblush; /* Background color */
  width: 100%; /* Full width */
  z-index: 1000; /* On top of other elements */
}
/* Style for each navigation item */
.nav-item {
  margin: 0 10px; /* Space between items */
  font-size: 1.2rem; /* Font size */
  font-weight: bold; /* Font weight */
  color: purple; /* Text color */
  text-decoration: none; /* No underline */
}

/* Set the background image */
/* Styles for the main background container */
.background-container {
  position: relative;
  background-image: url('../assets/Temp_imgs/newsletterBanner.JPG'); /* Image URL */  
  align-items: center;
  justify-content: center;
  display: flex;
  background-size: cover;
  background-position: center;
  min-height: 100vh; /* Cover the entire screen */
}

 /* Dimming effect */
 /* Overlay to darken the background for better readability */
 .background-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
}

/* Styling the form container */
/* Styles for the newsletter subscription form */
.form-container {
  position: relative;
  z-index: 1; /* Ensuring form to be above the dimmed background */
  background: rgba(255, 255, 255, 0.8); /* Light background with opacity for the form */
  margin: 0 auto;
  max-width: 600px; /* max width for the form */
  padding: 50px;
  border-radius: 10px;
}
.form-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: purple; /* Matches the homepage theme */
  margin-bottom: 10px;
}
.form-container p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}
.form-control {
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Button Styling */
/* Styles for the primary button */
.btn-primary {
  background-color: purple; /* Matches the homepage theme */
  border: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: darkorchid; /* Slightly darker shade on hover */
}

/* Footer Styling */
/* Styles for the footer section */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
}

/* Thank-you modal styling */
/* Styles for the thank-you modal popup */
.thank-you-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.thank-you-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
.thank-you-modal-header {
  padding: 2px 16px;
  background-color: lavenderblush; /* Matches the homepage theme */
  color: purple; /* Matches the homepage theme */
}
.thank-you-modal-body {
  padding: 2px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: beige;
}
.thank-you-modal-footer {
  padding: 2px 16px;
  background-color: lavenderblush; /* Matches the homepage theme */
  color: purple; /* Matches the homepage theme */
}
.thank-you-modal-footer button {
  background-color: purple; /* Matches the homepage theme */
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}
.thank-you-modal-footer button:hover {
  background-color: darkorchid; /* Slightly darker shade on hover */
}
/* Close button for the modal */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* Large icon styling for modal */
.large-icon {
  font-size: 3rem; /* Size of the icon */
  color: purple; /* Matches the homepage theme */
  margin-bottom: 10px; /* Space below the icon */
}