/* Custom Font */
@font-face {
  font-family: 'VillageTitle';
  src: url('villagefonts/title/Brush Script.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Base Page Styling */
body {
  font-family: "Times New Roman", serif;
  background-color: white;
  color: black;
  margin: 2rem;
  font-size: 1.5rem; /* Uniform font size across all pages */
}

/* Apply custom spacing ONLY on index page */
body.index {
  line-height: 1.3; /* between single and 1.5 */
}

/* Headings */
h1, h2 {
  font-size: 1.5rem; /* Uniform with body text */
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Homepage Title Styling (index only) */
.site-title {
  font-family: 'VillageTitle', "Times New Roman", serif;
  font-size: 3rem; /* Leave as-is */
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
}

/* Navigation Styling */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  margin-bottom: .25rem;
}

/* Link Styling */
a {
  color: black;
  text-decoration: none;
  font-size: 1.5rem; /* Match uniform size */
}

a:hover {
  text-decoration: underline;
}

/* Image Formatting */
section img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 1rem 0 2rem 2rem; /* top, right, bottom, left */
}

/* Newsletter Form Styling */
.newsletter-form {
  margin-top: 4rem;    /* ⬅ increased space above newsletter */
  margin-bottom: 2rem; /* space below before back button */
}

.newsletter-form label {
  margin-right: 0.5rem;
}

.newsletter-form input[type="email"] {
  padding: 0.4rem;
  font-size: 1.2rem;
  border: 1px solid black;
  margin-right: 0.5rem;
}

.newsletter-form button {
  padding: 0.4rem 1rem;
  font-size: 1.2rem;
  border: 1px solid black;
  background-color: white;
  cursor: pointer;
  border-radius: 8px; /* Rounded corners */
  -webkit-appearance: none; /* ensure iOS renders correctly */
  appearance: none;
  color: black; /* default state text color */
}

.newsletter-form button:hover {
  background-color: black !important;
  color: white !important;
}

/* Back link spacing */
a[href="index.html"] {
  display: inline-block;
  margin-top: 2rem;  /* space above back button */
}
