/* ----------------------------------------------------
   COLOUR VARIABLES
   ---------------------------------------------------- */
:root {
  --green-dark: #4f6b3a;
  --green-mid: #7fae5d;
  --green-light: #d5edb3;
  --soft-green: #e8f5e9;
  --bg: #f4ffe4;
  --text: #333;
}

/* ----------------------------------------------------
   GLOBAL BASE STYLES
   ---------------------------------------------------- */
html, body {
   height:100%;
   margin:0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: auto;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 0.8rem;
}

/* ----------------------------------------------------
   JUMBOTRON / HERO AREA
   ---------------------------------------------------- */
.jumbotron {
  position: relative;
  background: url('../Images/Website 01.JPG') center/cover no-repeat;
  min-height: 280px;
  padding: 3rem 0;
  text-align: center;
  color: white;
}

/* Dark overlay */
.jumbotron::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Jumbotron text (Safari-safe wrapping) */
.jumbotron h1,
.jumbotron p {
  position: relative; /* ensures text sits above overlay */
  z-index: 1;
  max-width: 700px;
  width: 90%;          /* ensures wrapping on wide iPhones */
  margin-left: auto;
  margin-right: auto;
  display: block;
  box-sizing: border-box;
  word-wrap: break-word;
}

/* ----------------------------------------------------
   HEADER
   ---------------------------------------------------- */
header {
  background: var(--green-light);
  padding: 1rem;
  text-align: center;
}

header img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ----------------------------------------------------
   NAVIGATION
   ---------------------------------------------------- */
nav {
  background: var(--green-dark);
  padding: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: 0.3rem 0.6rem;
  margin: 0.2rem 0.4rem;
  border-radius: 4px;
}

nav a:hover {
  text-decoration: underline;
}

/* Centre nav on wider screens */
@media (min-width: 700px) {
  nav {
    text-align: center;
  }
}

/* ----------------------------------------------------
   MAIN CONTENT AREA
   ---------------------------------------------------- */
main {
  flex:1;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Content links */
main a {
  color: var(--green-dark);
  text-decoration: underline;
  font-weight: bold;
}

section {
  margin-bottom: 2rem;
}

/* ----------------------------------------------------
   FOOTER
   ---------------------------------------------------- */
footer {
  background: var(--green-dark);
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* ----------------------------------------------------
   MISC ELEMENTS
   ---------------------------------------------------- */
.date {
  font-weight: bold;
  margin-bottom: 1.5rem;
}

a.back {
  display: inline-block;
  margin-top: 2rem;
  color: var(--green-dark);
  font-weight: bold;
  text-decoration: none;
}

.caption {
  font-style: italic;
  font-size: 0.9rem;
  color: #555;
}

/* ----------------------------------------------------
   PHOTO GRID (mobile first)
   ---------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.photo {
  margin-bottom: 0.5rem;
}

.photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Three columns on desktop */
@media (min-width: 700px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}