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

/* Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdfdfd;
}

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

main {
  padding: 2rem;
}

/* Top Header Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: #f4f1ed;
  border-bottom: 2px solid #c7b198;
}

.logo img {
  height: 100px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
}

.main-nav a {
  color: #4a1e1e;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
}

.main-nav a.active {
  text-decoration: underline;
  color: #a15000;
}

.top-contact {
  text-align: right;
}

.top-contact a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

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

/* Hero Section - Background Image */
.hero-alt {
  height: 100vh;
  background-image: url("images/hero-ranch-herd.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-alt .hero-text {
  font-family: 'Montserrat', sans-serif;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 90%;
}

/* Image row layout */
.homepage-flex {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap; /* Keeps it responsive on smaller screens */
  gap: 2rem;
  margin-top: 2rem;
}

/* Reduce image size */
.intro img,
.pasture-shot img {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
}
/* Sale Listings Page */
.sale-listings {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.bull-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

.bull-card img {
  width: 300px;
  height: auto;
  border: 2px solid #d7a67c;
  border-radius: 4px;
}

.bull-info {
  flex: 1;
  min-width: 250px;
}

/* Sale Terms Page */
.sale-terms {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.sale-terms h1, .sale-terms h2 {
  color: #4a1e1e;
  margin-top: 2rem;
}

.sale-terms ul {
  list-style: disc;
  padding-left: 2rem;
}

/* Rotated Image */
.rotate-ccw {
  transform: rotate(-90deg);
  transform-origin: center center;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Footer */
footer {
  background-color: #333;
  color: #eee;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

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

  .main-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .top-contact {
    text-align: center;
  }

  .hero-alt {
    height: 60vh;
  }

  .hero-alt .hero-text {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .bull-card {
    flex-direction: column;
    text-align: center;
  }
}
