/* style/main.css */

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base Typography and Layout */
html {
  font-size: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
  background-color: #fafafa;
  color: #333;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 18px;
  }
}

body {
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-content {
  flex-grow: 1;
  padding: 2rem 0;
}

h1, h2, h3 {
  color: #222;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: #555;
}

a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
button, .btn {
  cursor: pointer;
  background-color: #0077cc;
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
  background-color: #005fa3;
}

/* Forms */
form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

form input:focus,
form textarea:focus {
  border-color: #0077cc;
  outline: none;
}

/* Utilities */
.cursive {
  font-family: 'Dancing Script', cursive;
  font-style: normal;
  font-weight: 400;
}

/* Page Banner */
.page-banner {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  margin-bottom: 2rem;
  border-bottom: 5px solid #0f0707;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.4);
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  text-align: center;
  max-width: 800px;
  padding: 1rem;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-overlay p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.page-banner .hero-overlay {
  color: #fff; /* Make all text white */
}

.page-banner .hero-overlay h1,
.page-banner .hero-overlay p {
  color: #fff; /* Ensure white overrides any inherited color */
}

/* Optional: add text shadow for even better contrast on busy images */
.page-banner .hero-overlay h1,
.page-banner .hero-overlay p {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

