/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background-color: #fffefc;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #d0f0f0;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #009999;
}

header h1 {
  font-size: 2.5em;
  color: #007070;
}

nav {
  margin-top: 10px;
}

nav a {
  margin: 0 15px;
  color: #004d4d;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero section */
.hero {
  background-color: #e6fafa;
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 2.5em;
  color: #007070;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.3em;
  color: #004d4d;
  font-style: italic;
  margin-bottom: 20px;
}

.hero.with-image {
  background-image: url('images/forston_wedding.jpg'); /* Or .webp */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay for contrast */
  padding: 40px;
  border-radius: 10px;
}

.hero-overlay h2,
.hero-overlay p {
  color: #fff;
}


.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  background-color: #009999;
  color: white;
  text-decoration: none;
  font-size: 1em;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #007777;
}

/* Sections */
section {
  padding: 50px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

section h2 {
  font-size: 2em;
  color: #006666;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  margin: 20px auto;
  padding: 0;
  text-align: center;
}

.floral-background {
  background-image: url('images/floral_border.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}


ul li {
  margin: 10px 0;
  font-size: 1.1em;
}

/* Locations Section */
.region-section {
  background-color: #f0fbff;
  border-top: 2px solid #009999;
  border-bottom: 2px solid #009999;
}

.region-section ul li {
  font-weight: bold;
  color: #444;
}

.region-section .highlight {
  font-style: italic;
  color: #007777;
  margin-top: 20px;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: auto;
}

label {
  align-self: flex-start;
  margin-bottom: 5px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 12px 25px;
  font-size: 1em;
  background-color: #009999;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #007777;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #d0f0f0;
  color: #444;
  margin-top: 40px;
  font-size: 0.95em;
}

#about {
  text-align: center;
  padding: 50px 20px;
}

#about p {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 20px auto;
  color: #444;
}

.certificate {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 20px auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive Layout */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 1.8em;
  }

  nav a {
    display: inline-block;
    margin: 5px 8px;
    font-size: 0.95em;
  }

  .hero h2 {
    font-size: 1.6em;
  }

  .hero p {
    font-size: 1em;
  }

  section {
    padding: 30px 15px;
  }

  form {
    width: 100%;
    padding: 0 10px;
  }

  input, textarea {
    font-size: 0.95em;
  }

  button, .btn {
    font-size: 0.95em;
    padding: 10px 20px;
  }
}

/* Tablet View (Medium Screens: 768px to 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  header h1 {
    font-size: 2.2em;
  }

  nav a {
    font-size: 1em;
    margin: 0 12px;
  }

  .hero h2 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1.1em;
  }

  section {
    padding: 40px 25px;
  }

  form {
    max-width: 90%;
  }

  input, textarea {
    font-size: 1em;
  }

  button, .btn {
    font-size: 1em;
    padding: 12px 24px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1280px) and (orientation: landscape) {
  /* Additional spacing or layout shifts here */
}

/* Large Screens (1280px and up) */
@media screen and (min-width: 1280px) {
  body {
    font-size: 1.1em;
  }

  header h1 {
    font-size: 3em;
  }

  nav a {
    font-size: 1.1em;
    margin: 0 18px;
  }

  .hero {
    padding: 80px 40px;
    min-height: 550px;
  }

  .hero h2 {
    font-size: 3em;
  }

  .hero p {
    font-size: 1.5em;
  }

  .btn, button {
    font-size: 1.1em;
    padding: 14px 28px;
  }

  section {
    max-width: 1100px;
    margin: auto;
    padding: 60px 40px;
  }

  form {
    max-width: 600px;
  }

  footer {
    font-size: 1em;
  }
}
