/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600&family=Merriweather:wght@400;700&display=swap');

body {
  font-family: 'Merriweather', serif;
  background-color: #1b2618;
  color: #e0e5db;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ================= HEADER ================= */
.site-header {
  background-color: #263a1d;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  width: 100%;
  font-family: 'Lato', sans-serif;
  position: relative;
  z-index: 10000;
}

/* Top section: logo + contacts */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-link {
  display: inline-block;
  max-width: 180px;
}

.logo {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contact info */
.contact-info {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}
.contact-info a {
  color: #d3e6d1;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-info a:hover {
  color: #a4d48b;
}

/* Sticky navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: #435839;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  z-index: 10001;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mobile menu toggle */
.menu-toggle {
  color: #d3e6d1;
  font-size: 28px;
  cursor: pointer;
  display: none;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.25s ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  color: #a4d48b;
  outline: none;
}

/* Nav menu */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.menu li a {
  color: #d3e6d1;
  text-decoration: none;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}
.menu li a:hover,
.menu li a:focus-visible {
  background-color: #2b471d;
  color: #ffffff;
}
/* Responsive menu */
@media screen and (max-width: 768px) {
  .contact-info {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: #263a1d;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 0;
    border-top: 1px solid #3a5031;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .menu.show {
    display: flex;
    max-height: 500px;
  }

  .menu li {
    text-align: center;
    border-bottom: 1px solid #3c5035;
  }

  .menu li:last-child {
    border-bottom: none;
  }

  .menu li a {
    padding: 12px;
    font-size: 1.05rem;
  }

  /* Other mobile-specific adjustments */
  .container {
    padding: 1rem;
    margin: 0 auto;
    text-align: center;
  }

  .flex-section {
    flex-direction: column;
    align-items: center;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: #263a1d;
  color: #d3e6d1;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
  border-top: 1px solid #3a5031;
}

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

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.3px;
}
.footer-links a {
  color: inherit;        /* same color as surrounding text */
  font-family: inherit;  /* same font as surrounding text */
  text-decoration: underline; /* underline the links */
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #5d9143; /* optional hover color matching your site accent */
}
.btn-mail {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  background-color: #5d9143; /* same as your submit button */
  color: #fff;
  text-decoration: none; /* removes underline */
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-mail:hover,
.btn-mail:focus {
  background-color: #4b7636; /* hover effect same as buttons */
  transform: translateY(-1px);
}


/* ================= CONTENT ================= */
h1, h2 {
  color: #cfe9c7;
  text-align: center;
  margin-top: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: 'Merriweather', serif;
}

.container {
  max-width: 960px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #2c3b27;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ================= FORM STYLES ================= */
.contact-container {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2.5rem;
  background: #2c3b27;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  text-align: center;
}

.contact-intro {
  font-size: 1.05rem;
  color: #cfe9c7;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Form layout: center everything */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 500px; /* uniform width */
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #d3e6d1;
  font-family: 'Lato', sans-serif;
}

.required {
  color: #ff6b6b;
}
.optional {
  color: #a9c5a5;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #435839;
  background: #edf7e3;
  color: #1b2618;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5d9143;
  outline: none;
  box-shadow: 0 0 0 3px rgba(93,145,67,0.4);
}

.contact-form input[type="file"] {
  padding: 0.3rem;
  background: transparent;
  color: #d3e6d1;
  border: none;
}

/* Center the submit button and add spacing */
.btn-submit {
  display: block; /* ensures centering */
  width: 100%;
  max-width: 250px; /* button width */
  margin: 1.5rem auto 0 auto; /* top margin + auto horizontal centering */
  padding: 0.9rem 2rem;
  background: #5d9143;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover,
.btn-submit:focus {
  background: #4b7636;
  transform: translateY(-2px);
}

.confirmation-message {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #cfe9c7;
  display: none;
}

/* ================= INPUTS & BUTTONS ================= */
input, button {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  margin: 0.5rem 0; /* vertical spacing */
  border: none;
  border-radius: 2px; /* less curved, more angular */
  transition: all 0.2s ease-in-out;
  font-family: 'Lato', sans-serif;
}

input {
  background: #edf7e3;
  border: 1px solid #ccd5bc;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
input:focus-visible {
  outline: none;
  border-color: #9fcf83;
  box-shadow: 0 0 0 3px rgba(159, 207, 131, 0.4);
}

button {
  background-color: #5d9143;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 2px; /* updated for angular corners */
}
button:hover,
button:focus-visible {
  background-color: #4b7636;
  outline: none;
}

/* ================= FILE UPLOAD / DRAG & DROP ================= */
.file-upload {
  width: 100%;
  max-width: 500px; /* match form input width */
  margin: 1rem auto; /* center horizontally */
  padding: 2rem;
  border: 2px dashed #ccd5bc;
  border-radius: 8px;
  background: #edf7e3;
  color: #1b2618;
  font-family: 'Lato', sans-serif;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.file-upload.dragover {
  background: #e1f0c9;
  border-color: #5d9143;
}

.file-upload input[type="file"] {
  display: none; /* hide default file input */
}

.file-upload-text {
  font-size: 1rem;
  color: #1b2618;
}

.file-upload p {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  color: #4b7636;
}

.file-upload-icon {
  font-size: 2rem;
  color: #5d9143;
  margin-bottom: 0.5rem;
}

.file-upload-files {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #1b2618;
  word-break: break-word;
}

/* ================= TABLES ================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #354834;
  border: 1px solid #3a5031; /* example border */
}

/* Prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
}