/* ----------------------------
   Coleford, Devon Website Styles
   Traditional Countryside Theme
   ---------------------------- */

/* Global Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Georgia", serif;
  background-color: #fdf8ef; /* soft cream */
  color: #2c2c2c;
  line-height: 1.6;
  font-size: 18px;
  margin: 0;
}

/* ----------------------------
   Header & Navigation
   ---------------------------- */
header {
  background-color: #004d26; /* Devon Green */
  color: #fff;
  padding: 20px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 5px solid #7c593c; /* warm brown accent */
}

header img {
  margin-bottom: 10px;
}

header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 5px;
}

.tagline {
  font-style: italic;
  font-size: 1.1rem;
  color: #fdf8ef;
  margin-bottom: 10px;
}

/* Navigation Bar */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

nav ul li a {
  color: #fdf8ef;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #7c593c; /* warm brown */
}

/* ----------------------------
   Main Content
   ---------------------------- */
main {
  padding: 40px 8%;
  max-width: 1100px;
  margin: 0 auto;
}

main h2 {
  font-family: "Playfair Display", serif;
  color: #004d26;
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 15px;
  border-left: 5px solid #7c593c;
  padding-left: 10px;
}

main p {
  margin-bottom: 20px;
}

ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

ul li {
  margin-bottom: 10px;
}

/* ----------------------------
   Call-to-Action Buttons
   ---------------------------- */
.cta-button {
  display: inline-block;
  background-color: #004d26;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #7c593c;
}

/* ----------------------------
   Footer
   ---------------------------- */
footer {
  background-color: #004d26;
  color: #fdf8ef;
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
  border-top: 5px solid #7c593c;
}

/* ----------------------------
   Responsive Design
   ---------------------------- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  header {
    padding: 15px 3%;
  }

  header h1 {
    font-size: 1.6rem;
  }

  nav ul {
    flex-direction: column;
    gap: 8px;
  }

  main {
    padding: 25px 5%;
  }
}

/* ----------------------------
   Optional Enhancements
   ---------------------------- */

/* Section Dividers */
section {
  margin-bottom: 40px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

/* Links within content */
a {
  color: #004d26;
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: #7c593c;
}

/* Lists inside sections */
section ul li::marker {
  color: #004d26;
}

/* Highlight Boxes (optional use in homepage or tips) */
.highlight-box {
  background-color: #f3eee3;
  border-left: 5px solid #7c593c;
  padding: 15px;
  margin: 20px 0;
}

/* Image Style Placeholder */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Quote or Motto Style */
blockquote {
  font-style: italic;
  color: #555;
  border-left: 4px solid #7c593c;
  margin: 20px 0;
  padding-left: 10px;
}

