/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 80vh; /* 80% of viewport height */
    background: url('goats1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-content {
    text-align: center;
    font-family: "Open Sans", Open Sans, sans-serif;
    font-size: 100%;
    color: #FFF8F0; /* cream text */
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: "Playfair Display", Playfair Display, sans-serif;
    color: #8ed192; /* light green */
  }
  
  .hero-content p {
    font-size: 1.5rem;
    font-family: "Open Sans", Open Sans, sans-serif;
    margin-bottom: 1.5rem;
  }
  
  .cta-button {
    padding: 12px 30px;
    background-color: #D1603D; /* terracotta */
    color: #FFF8F0;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #B1472A; /* slightly darker on hover */
  }

  /* Gallery Section */
.gallery-about {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
  }
  
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
  }
  
  .photo-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .photo-grid img:hover {
    transform: scale(1.05);
  }
  
  /* About Text */
  .about-text {
    text-align: center;
  }

  .about-text img {
    border-radius: 16px;
}
  
  .about-text h2 {
    font-size: 2.5rem;
    color: #8ed192; /* light green */
    margin-bottom: 15px;
  }
  
  .about-text p {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 25px;
    line-height: 1.6;
  }
  
  .about-text .cta-button {
    padding: 12px 30px;
    background-color: #D1603D; /* terracotta */
    color: #FFF8F0;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .about-text .cta-button:hover {
    background-color: #B1472A;
  }

  /* Hero Section */
.hero2 {
    position: relative;
    width: 100%;
    height: 80vh; /* 80% of viewport height */
    background: url('goats3.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero2-content {
    text-align: center;
    font-family: "Open Sans", Open Sans, sans-serif;
    font-size: 100%;
    color: #FFF8F0; /* cream text */
  }
  
  .hero2-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: "Playfair Display", Playfair Display, sans-serif;
    color: #8ed192; /* light green */
  }
  
  .hero2-content p {
    font-size: 1.5rem;
    font-family: "Open Sans", Open Sans, sans-serif;
    margin-bottom: 1.5rem;
  }
  
.our-goats {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
}

.our-goats h2 {
  text-align: center;
  color: #8ed192; /* forest green */
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.goat-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 50px;
  gap: 20px;
}

.goat-card img {
  width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.goat-info {
  flex: 1;
  min-width: 250px;
}

.goat-info h3 {
  font-size: 1.8rem;
  color: #8ed192;
  margin-bottom: 10px;
}

.goat-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .goat-card {
    flex-direction: column;
    text-align: center;
  }
  .goat-card img {
    width: 100%;
    height: auto;
  }
}
/* Hero Section */
.hero3 {
    position: relative;
    width: 100%;
    height: 80vh; /* 80% of viewport height */
    background: url('goats15.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero3-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero3-content {
    text-align: center;
    font-family: "Open Sans", Open Sans, sans-serif;
    font-size: 100%;
    color: #FFF8F0; /* cream text */
  }
  
  .hero3-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: "Playfair Display", Playfair Display, sans-serif;
    color: #8ed192; /* light green */
  }
  
  .hero3-content p {
    font-size: 1.5rem;
    font-family: "Open Sans", Open Sans, sans-serif;
    margin-bottom: 1.5rem;
  }

.hero4 {
    position: relative;
    width: 100%;
    height: 80vh; /* 80% of viewport height */
    background: url('goats16.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero4-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero4-content {
    text-align: center;
    font-family: "Open Sans", Open Sans, sans-serif;
    font-size: 100%;
    color: #FFF8F0; /* cream text */
  }
  
  .hero4-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: "Playfair Display", Playfair Display, sans-serif;
    color: #8ed192; /* light green */
  }
  
  .hero4-content p {
    font-size: 1.5rem;
    font-family: "Open Sans", Open Sans, sans-serif;
    margin-bottom: 1.5rem;
  }

  .site-footer {
  background-color: #333333;
  color: #FFF8F0;
  padding: 50px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  justify-content: space-between;
}

.footer-container div {
  min-width: 200px;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 100px;
}

.footer-links a {
  display: block;
  color: #FFF8F0;
  text-decoration: none;
  margin-bottom: 8px;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-contact p {
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a svg {
  transition: transform 0.3s;
}

.social-icons a:hover svg {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }
}

.contact-page {
  min-height: 100vh;
  background-color: #FFF8F0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.contact-box {
  background: white;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  max-width: 900px;
  width: 100%;
}

.contact-box h2 {
  text-align: center;
  color: #2E7D32;
}

.subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info-wrapper {
  display: flex;
  justify-content: space-between; 
  align-items: center;            
  max-width: 700px;
  margin: 0 auto;                 
  gap: 20px;                       
  flex-wrap: wrap;               
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.social-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0; 
  max-width: 250px;      
  width: 100%;           
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.facebook {
  background: #1877F2;
}

.instagram {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

/* Mobile */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
}

/* Center the box and make it responsive */
.sales-policies-box {
  width: 90%;                      /* Take up most of the screen on small devices */
  max-width: 50%;                /* Limit width on larger screens */
  padding: 15px;
  border: 2px solid #6b4f2a;      /* Farm-themed brown border */
  background-color: #fff8f0;       /* Soft cream background */
  border-radius: 10px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  
  /* Centering */
  margin: 20px auto;               /* Auto left/right margin centers it */
}

/* Header style */
.sales-policies-box h3 {
  margin-top: 0;
  color: #4b2e1c;
  font-size: 16px;
  text-align: center;
}

/* List inside the box */
.sales-policies-box ul {
  padding-left: 20px;
  margin: 10px 0 0 0;
}

.sales-policies-box li {
  margin-bottom: 5px;
}

/* Optional: slightly larger text for very small screens */
@media (max-width: 400px) {
  .sales-policies-box {
    font-size: 15px;
    padding: 12px;
  }
}