/* Bulls Page Specific Styles */

/* About-style classes needed for bulls page */
.about-hero {
  width: 100%;
  height: 400px;
  background-image: url('../Images/Image_11.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 0;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-overlay h2 {
  color: #fff;
  font-size: 48px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-section {
  padding: 60px 0;
  background-color: #f2e8d5;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  min-width: 0;
}

.about-text p {
  margin-bottom: 20px;
  text-align: justify;
}

.about-text h3 {
  color: #6b4226;
  font-size: 32px;
  margin-bottom: 25px;
  position: relative;
}

.about-text h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #800000;
}

.about-slider {
  flex: 0 0 500px;
  min-width: 300px;
  align-self: flex-start;
  margin-top: 80px;
  margin-bottom: 20px;
}

.about-slider .slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  height: auto !important;
  max-height: 350px;
}

.about-slider .slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
}

.about-slider .slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.about-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  background: #f8f3ea;
}

.about-slider .prev,
.about-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.about-slider .prev {
  left: 10px;
}

.about-slider .next {
  right: 10px;
}

.about-slider .prev:hover,
.about-slider .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive styles for about classes */
@media (max-width: 992px) {
  .about-container {
    gap: 30px;
  }

  .about-slider {
    flex: 0 0 400px;
  }
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-slider {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    max-height: 220px;
  }

  /* Improve touch interaction on mobile */
  .about-slider .slider {
    touch-action: pan-y pinch-zoom;
  }

  .about-slider .prev,
  .about-slider .next {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .about-text h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-text h3 {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-hero-overlay h2 {
    font-size: 36px;
    text-align: center;
  }

  .about-text h3 {
    font-size: 28px;
  }

  .about-slider .slider {
    height: 220px;
  }
}

/* Hero Section */
.bulls-hero {
  background-size: cover;
  background-position: center;
  background-color: #800000; /* Fallback */
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 0;
}

.bulls-hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.bulls-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bulls-hero p {
  font-size: 22px;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Bulls Introduction */
.bulls-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.bulls-intro h2 {
  color: #6b4226;
  font-size: 36px;
  margin-bottom: 20px;
}

.bulls-intro p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* Bulls Section */
.bulls-section {
  margin-bottom: 50px;
}

.bulls-section h3 {
  color: #800000;
  font-size: 30px;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #e8d5c5;
  padding-bottom: 10px;
}

/* Bull Cards */
.bull-card {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
}

.bull-card.alt {
  background-color: #f8f3eb;
}

.bull-info {
  flex: 1;
  padding: 30px;
}

.bull-image {
  flex: 0 0 300px;
  position: relative;
  overflow: hidden;
  background-color: #e8e8e8;
}

.bull-card h4 {
  color: #6b4226;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
}

.bull-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.placeholder-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
  color: #800000;
}

.placeholder-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.placeholder-image i {
  font-size: 60px;
  margin-bottom: 10px;
}

.placeholder-image span {
  font-size: 18px;
  font-weight: 600;
}

/* Bull Features */
.bull-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.feature {
  display: flex;
  align-items: center;
  color: #6b4226;
}

.feature i {
  margin-right: 10px;
  font-size: 18px;
}

.feature span {
  font-size: 14px;
  font-weight: 600;
}

/* Bull Link */
.bull-link {
  display: inline-block;
  background-color: #800000;
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.bull-link:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.bull-link i {
  margin-left: 8px;
  font-size: 14px;
}

/* Semen Available */
.semen-available {
  margin-top: 15px;
  color: #006600;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.semen-available i {
  margin-right: 10px;
}

/* Coming Soon */
.bull-card.future {
  position: relative;
  border: 2px dashed #800000;
  background-color: #fbf7f2;
}

.coming-soon {
  background-color: #800000;
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

/* Bulls Contact */
.bulls-contact {
  text-align: center;
  padding: 30px;
  background-color: #f2e8d5;
  border-radius: 10px;
  margin-top: 50px;
}

.bulls-contact h3 {
  color: #6b4226;
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 15px;
}

.bulls-contact p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .bull-card {
    flex-direction: column;
  }

  .bull-image {
    flex: none;
    height: 250px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .bulls-hero {
    height: 300px;
  }

  .bulls-hero h1 {
    font-size: 36px;
  }

  .bulls-hero p {
    font-size: 18px;
  }

  .bulls-intro h2 {
    font-size: 30px;
  }

  .bulls-section h3 {
    font-size: 24px;
  }

  .bull-card h4 {
    font-size: 20px;
  }

  .bulls-intro p {
    font-size: 18px;
  }

  .bull-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .bull-features {
    grid-template-columns: 1fr;
  }

  .bulls-hero h1 {
    font-size: 30px;
  }

  /* Ensure slider buttons are touch-friendly on small screens */
  .about-slider .prev,
  .about-slider .next {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/* Adjustment for Font Awesome */
.fa-cow:before {
  content: '\f6c8'; /* This is the content code for fa-cow */
}

/* If fa-cow doesn't exist in this version, use an alternative */
.fa-cow:before {
  content: '\f71d'; /* This is the code for fa-horse which might work as a substitute */
}
