body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #333;
  /* Mont Saint Michel background applied site-wide with a light overlay for readability */
  background-image: linear-gradient(rgba(249,246,242,0.62), rgba(249,246,242,0.62)), url('photos/Mont_Saint_Michel.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* fallback solid color if image fails to load */
  background-color: #f9f6f2;
}

/* (removed .bg-mont - background is applied site-wide on the body) */
nav {
  background: #fff;
  padding: 1em;
  text-align: center;
}
nav a {
  margin: 0 1em;
  text-decoration: none;
  color: #b48a78;
  font-weight: bold;
}
header {
  background: #b48a78;
  color: #fff;
  padding: 2em 0;
  text-align: center;
}
.photos, .donate {
  max-width: 800px;
  margin: 2em auto;
  background: #fff;
  padding: 2em;
  border-radius: 8px;
}
.photos h2 {
  text-align: center;
}
.gallery {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #eee;
}

/* Slideshow styles (homepage dynamic photos) */
.slideshow {
  max-width: 800px;
  margin: 2em auto;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.slideshow img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}
.slideshow img.fade-out { opacity: 0; }

/* Arrow navigation */
.slideshow { position: relative; }
.slideshow .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 64px;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.slideshow .arrow.left { left: 12px; }
.slideshow .arrow.right { right: 12px; }
.slideshow .arrow:hover { background: rgba(0,0,0,0.6); }
.slideshow .arrow:focus { outline: 3px solid rgba(180,138,120,0.4); }
footer {
  text-align: center;
  padding: 1em 0;
  background: #eee;
  margin-top: 2em;
}
button {
  background: #b48a78;
  color: #fff;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}
button:hover {
  background: #a06c5a;
}

/* Styles for location / events table */
.location-section {
  max-width: 900px;
  margin: 2em auto;
  background: #fff;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(180,138,120,0.06);
}
.events-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.events-table thead th {
  text-align: left;
  background: #f3e6e1;
  color: #5a3c34;
  padding: 0.75em;
  font-weight: 700;
}
.events-table td {
  padding: 0.75em;
  border-bottom: 1px solid #f0ece9;
  vertical-align: top;
}
.events-table tr:nth-child(even) {
  background: #fbf7f5;
}
.events-table tr:hover {
  background: #fff7f3;
}
.map-link {
  display: inline-block;
  background: #b48a78;
  color: #fff;
  padding: 0.45em 0.7em;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
}
.map-link:hover { background: #a06c5a; }
.map-note { margin-top: 0.6em; color: #666; font-size: 0.95rem; }

/* Responsive: stack table rows as cards on narrow screens */
@media (max-width: 600px) {
  .events-table, .events-table thead, .events-table tbody, .events-table th, .events-table td, .events-table tr {
    display: block;
  }
  .events-table thead { display: none; }
  .events-table tr { margin-bottom: 1em; background: #fff; border-radius: 8px; padding: 0.75em; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
  .events-table td { border: none; padding: 0.4em 0; }
  .events-table td:before { content: attr(data-label); font-weight: 700; display: inline-block; width: 110px; color: #5a3c34; }
}