/* BASE STYLES */
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #F8F1E3;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Georgia', serif;
  color: #4B6B43;
}

a {
  color: #7D3C3A;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background-color: #4B6B43;
  padding: 20px;
  color: #fff;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

nav li {
  display: inline;
}

nav a {
  color: #fff;
  font-weight: bold;
}

#hero {
  position: relative;
  height: 80vh;
  background: url('../img/Acrossthepond.jpeg') center 60% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(75, 107, 67, 0.85);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  max-width: 90%;
}

#hero h2 {
  color: #ffffff;
}


#intro {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px;
  background-color: #F8F1E3;
}

.feature {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
}

.feature img {
  width: 100%;
  height: auto;
}

.feature h3 {
  margin: 15px 0 10px;
  color: #4B6B43;
}

.feature p {
  padding: 0 15px;
}

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #7D3C3A;
  color: #fff;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #5A2A27;
}

#cta {
  text-align: center;
  background-color: #4B6B43;
  color: #fff;
  padding: 30px 20px;
}

#cta h2 {
  margin-bottom: 20px;
}

#cta .button {
  margin: 5px;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* GALLERY PAGE STYLES */

#gallery-hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #4B6B43;
  color: #fff;
}

#gallery-hero h2 {
  margin: 0;
  font-size: 2.5rem;
  font-family: 'Georgia', serif;
}

#gallery-hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.gallery-section {
  background-color: #ffffff;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding-bottom: 20px;
}

.gallery-section h3 {
  text-align: center;
  font-family: 'Georgia', serif;
  color: #4B6B43;
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 2rem;
}

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

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* CONTACT PAGE STYLES */

#contact-hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #4B6B43;
  color: #fff;
}

#contact-hero h2 {
  margin: 0;
  font-size: 2.5rem;
  font-family: 'Georgia', serif;
}

#contact-hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-info, .contact-form {
  flex: 1 1 300px;
  max-width: 450px;
}

.contact-info h3 {
  color: #4B6B43;
  font-family: 'Georgia', serif;
  margin-top: 20px;
}

.contact-info a {
  color: #7D3C3A;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form h3 {
  color: #4B6B43;
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}

.contact-form button {
  background-color: #7D3C3A;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #5A2A27;
}

/* EXPERIENCES PAGE STYLES */

#experiences-hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #4B6B43;
  color: #fff;
}

#experiences-hero h2 {
  margin: 0;
  font-size: 2.5rem;
  font-family: 'Georgia', serif;
}

#experiences-hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.experiences-intro {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.experience-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.experience-card img {
  width: 100%;
  height: auto;
}

.experience-card h3 {
  margin: 15px 0 10px;
  color: #4B6B43;
  font-family: 'Georgia', serif;
}

.experience-card p {
  padding: 0 15px;
}

.cta-experiences {
  text-align: center;
  background-color: #4B6B43;
  color: #fff;
  padding: 30px 20px;
}

.cta-experiences h2 {
  margin-bottom: 20px;
}

.cta-experiences .button {
  margin: 5px;
}

/* ABOUT PAGE STYLES */

#about-hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #4B6B43;
  color: #fff;
}

#about-hero h2 {
  margin: 0;
  font-size: 2.5rem;
  font-family: 'Georgia', serif;
}

#about-hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 30px auto;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.about-image {
  flex: 1 1 300px;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1 1 300px;
  padding: 20px;
}

.about-text p {
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
}

.cta-about {
  text-align: center;
  background-color: #4B6B43;
  color: #fff;
  padding: 30px 20px;
}

.cta-about h2 {
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-about .button {
  margin: 5px;
}

.tours-section {
  max-width: 800px;
  margin: 30px auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
}

.tours-section h2 {
  color: #4B6B43;
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
}

.tours-section p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.racing-section {
  max-width: 800px;
  margin: 30px auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: left;
}

.racing-section h2 {
  text-align: center;
  color: #4B6B43;
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
}

.racing-section p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.button-center {
  text-align: center;
  margin: 20px 0;
}

.stable-story, .stable-articles, .race-videos, .stable-contact {
  max-width: 800px;
  margin: 30px auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: left;
}

.stable-story h2, .stable-articles h2, .race-videos h2, .stable-contact h2 {
  text-align: center;
  color: #4B6B43;
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
}

.stable-articles ul, .race-videos ul {
  padding-left: 20px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}

.tour-option .button {
  margin-top: 0;
  margin-bottom: 13px;
}

/* Make footer text white */
footer, footer * {
  color: white;
}

