body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Site background image */
/* Site background image */
body {
  background-image: url('asserts/background.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: #222;
  position: relative;
}

/* Lighten the background image with a translucent white overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.35); /* adjust alpha to taste */
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above the overlay */
header, .container, main, footer {
  position: relative;
  z-index: 1;
}

/* Ensure main content remains readable over the background */
main {
  padding: 20px;
  background: rgba(255,255,255,0.85);
  max-width: 1000px;
  margin: 40px auto; /* lift content from the edges */
  border-radius: 8px;
}

.slideshow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 18px auto;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.slideshow .slide {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.6s ease;
}

header {
  background: #d8f3d3; /* light green */
  color: #083e08; /* dark green for text */
  padding: 18px 0; /* vertical padding; horizontal handled by .container */
}

/* Center content and limit width to align with main */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, title right */
  gap: 12px;
}

.site-logo {
  max-height: 140px; /* larger logo to grow the top panel */
  width: auto;
  border-radius: 6px;
}

nav {
  margin-top: 16px;
  display: flex;
  justify-content: center; /* center the nav */
  gap: 12px;
}

/* Larger site title in the header */
.site-header h1 {
  font-size: clamp(1.8rem, 8vw, 6.5rem); /* scales with viewport */
  margin: 0;
  letter-spacing: 1px;
  text-align: center;
  flex: 1 1 auto; /* allow title to take available space */
}

nav a {
  color: #083e08; /* dark green text to contrast light header */
  text-decoration: none;
  padding: 8px 15px;
  display: inline-block;
}

/* Make links occupy equal space on larger screens */
@media (min-width: 480px) {
  nav a {
    flex: 1 1 auto;
    text-align: center;
    max-width: 200px;
  }
}

nav a:hover {
  background: rgba(8,62,8,0.08);
  border-radius: 5px;
}

main {
  padding: 20px;
}

form {
  max-width: 400px;
  margin: auto;
}

form input, form textarea, form button {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
}

form button {
  background: #083e08; /* primary dark green */
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #055005;
}

footer {
  background: #d8f3d3; /* light green */
  color: #083e08; /* dark green text */
  text-align: center;
  padding: 15px;
  position: fixed;
  bottom: 0;
  width: 100%;
}
