body {
  font-family: 'Merriweather', serif;
  margin: 0;
  background: #fdfcf7;
  color: #333;
}

/* Header */
header nav {
  background: #2f4f4f;
  padding: 1rem;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
header nav a {
  color: #fff;
  text-decoration: none;
}

/* Hero */
.hero {
  background-color: #2f4f4f;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.05) 10px,
    transparent 10px,
    transparent 20px
  );
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}

.hero-banner {
  background-image: url('/assets/images/mountains-bg.png'); /* update path as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-tagline {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.hero-subtagline {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Media Library */
.library {
  padding: 2rem;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.media-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
}
.media-card img,
.media-card video {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #2f4f2f;; /* deep forest green */
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
footer a {
  color: #fff;
  text-decoration: underline;
}

/* Status Dashboard */
.status {
  padding: 2rem;
  text-align: center;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.status-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
}

.status-card h3 {
  margin-bottom: 0.5rem;
  color: #2f4f4f;
}

.status-card p {
  font-size: 1.1rem;
}

.healthy {
  color: green;
  font-weight: bold;
}

.error {
  color: red;
  font-weight: bold;
}
/* Compact Status Widget */
.status-widget {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: 1rem auto;
  max-width: 600px;
  text-align: center;
}

.status-summary {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 0.95rem;
}

.status-summary .service {
  font-weight: bold;
  color: #2f4f4f;
}

.status-summary .status.healthy {
  color: green;
  font-weight: bold;
}

.status-summary .status.error {
  color: red;
  font-weight: bold;
}

.status-summary .uptime {
  color: #555;
}

.site-title {
  text-align: center;
  padding: 1rem;
  background-color: #2f4f4f;
  color: #fff;
  font-size: 2rem;
  font-family: 'Merriweather', serif;
}

.lead-form {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2.5rem;
  max-width: 700px;
  margin: 3rem auto;
}

.form-wrapper {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 3rem auto;
  font-family: 'Merriweather', serif;
}
.form-title {
  text-align: center;
  font-size: 2rem;
  color: #2f4f4f;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

input[type="text"] {
  width: 100%;
  max-width: 600px; /* or whatever width fits your layout */
  box-sizing: border-box;
  height: 28px; /* or try 28px for tighter spacing */
  padding: 4px 8px;
  line-height: 1.2;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Merriweather', serif;
  background: #fdfcf7; /* light tan background */}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  background: #fdfcf7;
}

/* Required fields: red asterisk */
.form-grid label.required::after {
  content: '*';
  color: red;
  margin-left: 4px;
}

/* Optional fields: grey "(optional)" */
.form-grid label.optional::after {
  content: ' (optional)';
  color: #777;
  font-size: 0.85em;
  margin-left: 4px;
}

  .form-wrapper,
  .lead-form {
    padding: 2rem 1rem;
    margin: 2rem 1rem;
  }

@media (max-width: 600px) {
    .form-grid {
      grid-template-columns: 1fr;
    }
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid #2f4f4f;
  outline-offset: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.service-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-card h2 {
  margin-top: 0;
  color: #6b4f3b;
}

.checkbox-group, .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.5rem 0;
}

.checkbox-group label, .radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-actions {
  text-align: center;
  margin-top: 20px;
}

.form-actions .button {
  margin: 0 10px;
  padding: 6px 14px;
  font-size: 14px;
}

.cta-btn {
  font-family: 'Merriweather', serif;
  background: #1a3d2f; /* deep forest green */;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 200px;
  text-align: center;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #1a3d2f;
}

.home-btn {
  font-family: 'Merriweather', serif;
  display: inline-block;         /* match button behavior */
  width: 200px;
  padding: 0.75rem 1.5rem;
  background: #2f4f4f;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 6px;            /* match .cta-btn */
  font-weight: bold;
  font-size: 1.1rem;             /* match .cta-btn */
  text-align: center;
  box-sizing: border-box;        /* ensures padding fits inside width */
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 0 auto;
}

.home-btn:hover {
  background-color: #1f2f2f;
}

.branded-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 0;
}

.form-title {
  text-align: center;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 4px;
}

.form-group input[type="text"] {
  width: 100%;
  max-width: 600px;
  height: 32px;
  padding: 4px 8px;
  font-size: 14px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}



.button-secondary {
  background-color: #666;
  color: #fff;
}

.button-secondary:hover {
  background-color: #444;
}


/* For forms using .branded-form */
.branded-form label.required::after {
  content: " *";
  color: red;
  font-weight: bold;
  margin-left: 4px;
}

label {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 1rem;
}

.optional {
  color: #666;
  font-size: 0.9em;
  margin-left: 4px;
  font-weight: normal;
}

input, textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  width: 100%;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #2f4f4f;
  box-shadow: 0 0 0 2px rgba(47, 79, 79, 0.2);
}

button {
  align-self: flex-start;
  padding: 6px 14px;
  margin: 2px;
  background-color: #2f6d2f; /* Appalachian green */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none; /* removes underline */
  font-size: 14px;
  font-family: inherit;
  display: inline-block;
  transition: background-color 0.2s ease-in-out;
}

a.button {
  background-color: #2f6d2f; /* Appalachian green */
  color: #fff;
  border: none;
  padding: 6px 14px;
  margin: 2px;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none; /* removes underline */
  display: inline-block;
}

a.button:hover {
  background-color: #1e4a1e; /* darker hover */
}

button:hover {
  background-color: #1e4a1e;
}

.button-edit {
  background-color: #2f6d2f; /* same green */
}

.button-edit:hover {
  background-color: #1e4a1e; /* slightly darker hover */
}



.nav-left a,
.nav-right a {
  margin-right: 1rem;
  text-decoration: none;
  color: #2f4f2f; /* Appalachian green */
  font-weight: 500;
}

.nav-right a {
  margin-right: 0; /* no extra spacing on the far right */
}

.contact-info {
  margin-top: 30px;
  text-align: center;
  font-size: 1rem;
}

.header {
  display: flex;
  justify-content: space-between; /* left group vs right group */
  align-items: center;
  background-color: #2f4f2f;; /* tan heritage background */
  padding: 0.5rem 1rem;
}

.header a {
  text-decoration: none;
  color: #f5f0e6;         /* Appalachian green */
  font-weight: 500;
}

.header button:hover,
.header a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-decoration: underline;
}

.header button:active {
  background-color: #4c8b6d;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%;
  max-width: 900px;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5); /* optional polish */
}

.modal-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.modal-content video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000; /* ensures it's above the video */
}

.gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)) !important;
  gap: 20px !important;
  padding: 20px !important;
  background-color: #1a3d2f;
}

.gallery .item img,
.gallery .item video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;   /* ensures consistent cropping */
  border-radius: 4px;
}

.item {
  text-align: center;
  background: #f0e0d6;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.item img {
  max-width: 100%;
  border: 2px solid #1a3d2f;
  border-radius: 8px;
}

.pagination {
  text-align: center;   /* centers the links */
  margin: 20px 0;       /* spacing above/below */
}

.pagination a, .pagination span {
  display: inline-block;
  margin: 0 10px;
  padding: 8px 12px;
  color: #fff;
  background-color: #2f4f2f; /* Appalachian Archives green */
  text-decoration: none;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #3a5f3a; /* slightly lighter hover */
}

.headertext {
  text-align: center;
  padding: 1rem;
  background-color: #fff;
  color: #2f4f4f;
  font-size: 1.2rem;
  font-family: 'Merriweather', serif;
}

.btn-trash {
  display: inline-block;
  font-family: 'Merriweather', serif;
  margin-top: 10px;     /* pushes button down */
  margin-left: 10px;    /* horizontal spacing */
  margin-right: 10px;
  padding: 8px 12px;
  color: #fff;
  background-color: #2f4f2f; /* Appalachian Archives green */
  text-decoration: none;
  border-radius: 4px;
}
.btn-trash:hover {
  background-color: #f0ad4e;
}

/* Restore button */
.restore-form button {
  background-color: #1abc9c;   /* green for restore */
  color: #fff;
  border: none;
  padding: 6px 12px;           /* smaller padding */
  border-radius: 4px;          /* tighter corners */
  font-size: 0.9rem;           /* smaller text */
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.restore-form button:hover {
  background-color: #27ae60;
}

/* Permanent delete button */
.delete-form button {
  background-color: #8e2c2c; /* red */
  color: #fff;
  border: none;
  padding: 6px 12px;           /* smaller padding */
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-delete:hover {
  background-color: #a93226;
}

.btn-restore {
  background-color: #2ecc71;
  color: #fff;
}
.btn-restore:hover {
  background-color: #27ae60;
}

.btn-delete {
  background-color: #c0392b;
  color: #fff;
}


.popup {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #2f4f2f; /* Appalachian Archives green */
  color: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  text-align: center;
}

.popup button {
  margin-top: 10px;
  padding: 6px 12px;
  background: #f0ad4e;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}

.inline-alert {
  text-align: center;
  margin: 10px auto;
  padding: 8px 12px;
  max-width: 400px;
  border-radius: 4px;
  background-color: #ff0000; /* red
  
  */
  color: #fff;
  font-weight: bold;
  opacity: 1;
  transition: opacity 0.5s ease; /* smooth fade */
}

.overlay-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(47,79,47,0.95);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-weight: bold;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

/* Modal container */
#deleteConfirmModal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', sans-serif;
}

/* Modal content box */
#deleteConfirmModal .modal-content {
  background: #f0e0d6;
  padding: 24px 32px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  max-width: 420px;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

/* Modal message */
#deleteConfirmModal p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
}

/* Button container */
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Confirm button */
#confirmDeleteBtn {
  background-color: #c0392b;
  color: #fff;
  border: none;
  padding: 6px 12px;       /* smaller padding */
  border-radius: 4px;      /* tighter corners */
  font-size: 0.9rem;       /* smaller text */
  font-weight: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#confirmDeleteBtn:hover {
  background-color: #a93226;
}

/* Cancel button */
#cancelDeleteBtn {
  background-color: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  padding: 6px 12px;       /* smaller padding */
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#cancelDeleteBtn:hover {
  background-color: #e0e0e0;
}
#cancelDeleteBtn:hover {
  background-color: #e0e0e0;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px; 
  height: 60px;
  border-radius: 50%;          /* makes it a circle */
  background-color: #c0392b;   /* deep red background */
  color: #ffffff;                 /* tan color */
  font-size: 2rem;
  font-weight: normal;
  margin: 0 auto 16px auto;    /* center above text */
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px; /* space between buttons */
  margin-top: 12px;
  flex-wrap: wrap; /* allows stacking on small screens */
}

.restore-form button,
.delete-form button {
  min-width: 100px;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 4px;
  font-weight: normal;
  cursor: pointer;
}

.action-btn {
  display: inline-block;
  min-width: 120px;         /* fixed width for consistency */
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  border: none;
}

.thumbnail-preview {
  margin-top: 8px;
  text-align: center;
}

.thumbnail-preview img {
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 300px;
  height: auto;
}

