/* Gloucestershire Orchard Trust Website Styles */

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

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  background: #e0ddac;
  color: #333;
}

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

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Lato', sans-serif;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #067845;
}

h1 {
  font-size: 38px;
  margin-bottom: 20px;
}

h2 {
  font-size: 32px;
  margin-bottom: 18px;
  margin-top: 30px;
}

h3 {
  font-size: 28px;
  margin-bottom: 15px;
  margin-top: 25px;
}

h4 {
  font-size: 24px;
  margin-bottom: 12px;
  margin-top: 20px;
}

h5 {
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 15px;
}

p {
  margin-bottom: 15px;
  line-height: 1.8;
}

a {
  color: #067845;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #B9D871;
}

/* Header Styles */
header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.top-nav {
  background: #067845;
  padding: 10px 0;
}

.top-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-nav a {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 5px 10px;
  display: block;
}

.top-nav a:hover {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.search-form {
  display: flex;
  gap: 5px;
}

.search-form input[type="text"] {
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  font-size: 13px;
  min-width: 200px;
}

.search-form button {
  padding: 5px 15px;
  background: #387022;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.search-form button:hover {
  background: #2a5418;
}

.header-main {
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  max-width: 350px;
}

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

.tagline {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: #067845;
  font-weight: 700;
  text-align: right;
  max-width: 500px;
}

/* Main Navigation */
.main-nav {
  background: #067845;
  padding: 0;
  border-top: 3px solid #387022;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.main-nav a:hover {
  background: #387022;
  color: #B9D871;
}

/* Main Content */
main {
  background: #fff;
  padding: 40px;
  margin: 30px auto;
  max-width: 1200px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 5px;
}

.featured-image {
  width: 100%;
  margin: 20px 0 30px 0;
}

/* Lists */
ul, ol {
  margin: 15px 0 15px 30px;
  line-height: 1.8;
}

li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: #067845;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 50px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  margin-bottom: 10px;
  color: #fff;
}

.footer-content a {
  color: #B9D871;
}

.footer-content a:hover {
  color: #fff;
}

/* Breadcrumb Navigation */
.breadcrumb {
  background: #f5f5f5;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 3px;
  font-size: 13px;
}

.breadcrumb a {
  color: #067845;
}

.breadcrumb span {
  color: #666;
  margin: 0 5px;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 20px;
  background: #067845;
  color: #fff;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
}

.button:hover {
  background: #387022;
  color: #fff;
}

/* Page Specific Styles */
.variety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.variety-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  border: 2px solid #e0ddac;
  transition: all 0.3s ease;
}

.variety-card:hover {
  border-color: #067845;
  box-shadow: 0 4px 10px rgba(6, 120, 69, 0.1);
}

.variety-card h3 {
  margin-top: 0;
  font-size: 22px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .tagline {
    text-align: center;
  }

  .top-nav-inner {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    text-align: center;
  }

  main {
    padding: 20px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 22px;
  }

  .variety-grid {
    grid-template-columns: 1fr;
  }

  .search-form input[type="text"] {
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .logo {
    max-width: 280px;
  }

  .tagline {
    font-size: 16px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  main {
    padding: 15px;
  }
}

/* Print Styles */
@media print {
  header, footer, .breadcrumb {
    display: none;
  }

  main {
    box-shadow: none;
    padding: 0;
  }

  body {
    background: #fff;
  }
}
