/* ==========================================
   INDIVIDUAL SPECIES PAGE STYLES
   Poultry, Swine, Aquaculture, Ruminants, Rabbits
   ========================================== */

/* Species Hero with Background Image */
.species-hero {
  background-size: cover;
  background-position: center;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
}

.species-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.species-badge {
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--ahc-green);
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(0, 153, 0, 0.25);
}

.species-hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.species-hero .hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* Content Centered */
.content-centered {
  max-width: 800px;
  margin: 0 auto;
}

.content-centered h2 {
  text-align: center;
  margin-bottom: 32px;
}

.content-centered p {
  font-size: 17px;
  line-height: 1.9;
}

/* Split Content - Species Pages */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.tech-visual-box {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
  border-radius: 16px;
  padding: 60px;
  position: relative;
  min-height: 300px;
}

.nano-particles-small {
  position: relative;
  width: 100%;
  height: 200px;
}

.np-s {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    var(--ahc-gold) 0%,
    rgba(0, 153, 0, 0.3) 100%
  );
  box-shadow: 0 0 20px rgba(255, 192, 0, 0.4);
  animation: float 4s ease-in-out infinite;
}

.np-s1 { width: 50px; height: 50px; top: 20%; left: 20%; animation-delay: 0s; }
.np-s2 { width: 40px; height: 40px; top: 10%; right: 25%; animation-delay: 0.5s; }
.np-s3 { width: 60px; height: 60px; top: 45%; left: 45%; animation-delay: 1s; }
.np-s4 { width: 35px; height: 35px; bottom: 20%; left: 25%; animation-delay: 1.5s; }
.np-s5 { width: 45px; height: 45px; bottom: 25%; right: 20%; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.split-text h2 {
  margin-bottom: 24px;
}

.split-text p {
  font-size: 16px;
  line-height: 1.8;
}

/* Stage Grid */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stage-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.breeder-card,
.emerging-card {
  background: var(--off-white);
  border: 2px dashed var(--border-gray);
}

.stage-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--ahc-green), #007700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 20px;
}

.breeder-icon,
.emerging-icon {
  background: linear-gradient(135deg, var(--light-gray), var(--dark-gray));
}

.swine-icon {
  background: linear-gradient(135deg, #e86c6c, #c44);
}

.aqua-icon {
  background: linear-gradient(135deg, #4a90d9, var(--ahc-blue));
}

.stage-card h3 {
  margin-bottom: 16px;
}

.stage-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-gray);
}

.key-applications {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-gray);
}

.key-applications .label {
  font-weight: 600;
  color: var(--ahc-blue);
  font-size: 14px;
}

.key-applications ul {
  margin: 8px 0 0 20px;
  font-size: 14px;
  color: var(--dark-gray);
}

.key-applications li {
  margin-bottom: 4px;
}

/* Methods Grid */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.method-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.method-icon {
  width: 70px;
  height: 70px;
  background: var(--ahc-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  margin: 0 auto 20px;
}

.method-card h3 {
  margin-bottom: 16px;
}

.method-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin: 0;
}

/* Unique Challenges - Aquaculture */
.unique-challenges {
  max-width: 800px;
  margin: 0 auto;
}

.unique-challenges h2 {
  text-align: center;
  margin-bottom: 32px;
}

.unique-challenges p {
  font-size: 17px;
  line-height: 1.9;
}

.challenge-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: 8px;
}

.challenge-item i {
  color: var(--ahc-gold);
  font-size: 18px;
  margin-top: 2px;
}

.challenge-item span {
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Solution Visual - Aquaculture */
.solution-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.visual-box {
  background: linear-gradient(180deg, #e8f4ff 0%, #d0e8f8 100%);
  border-radius: 16px;
  padding: 50px;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.water-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 100, 200, 0.1));
}

.dispersion-visual {
  position: relative;
  width: 100%;
  height: 250px;
}

.nano-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--ahc-gold), rgba(0, 153, 0, 0.4));
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 192, 0, 0.5);
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(0, 100, 200, 0.3);
  animation: rippleExpand 3s ease-out infinite;
}

.ripple.r1 { width: 120px; height: 120px; animation-delay: 0s; }
.ripple.r2 { width: 180px; height: 180px; animation-delay: 0.5s; }
.ripple.r3 { width: 240px; height: 240px; animation-delay: 1s; }

@keyframes rippleExpand {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}

.solution-text h2 {
  margin-bottom: 24px;
}

.solution-text p {
  font-size: 16px;
  line-height: 1.8;
}

.benefit-list {
  margin-top: 24px;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--dark-gray);
}

.benefit-list li i {
  color: var(--ahc-green);
}

/* Digestive Visual - Ruminants/Rabbits */
.digestive-visual {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
  border-radius: 16px;
  padding: 50px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gut-diagram {
  position: relative;
  width: 200px;
  height: 200px;
}

.gut-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--white), var(--off-white));
  border: 4px solid var(--ahc-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gut-icon {
  font-size: 60px;
  color: var(--ahc-green);
}

.floating-particle {
  position: absolute;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, var(--ahc-gold), rgba(255, 192, 0, 0.5));
  border-radius: 50%;
  animation: orbitFloat 5s linear infinite;
}

.fp1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.fp2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1s; }
.fp3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.fp4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 3s; }

@keyframes orbitFloat {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(10px, -10px) scale(1.2); }
  50% { transform: translate(0, -20px) scale(1); }
  75% { transform: translate(-10px, -10px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Emerging Section */
.emerging-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.emerging-section h2 {
  margin-bottom: 24px;
}

.emerging-section p {
  font-size: 17px;
  line-height: 1.9;
}

.emerging-section .btn {
  margin-top: 24px;
}

/* CTA Content (Shared) */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

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

.cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
  .species-hero h1 {
    font-size: 36px;
  }
  
  .split-content {
    grid-template-columns: 1fr;
  }
  
  .stage-grid {
    grid-template-columns: 1fr;
  }
  
  .solution-visual {
    grid-template-columns: 1fr;
  }
  
  .challenge-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .species-hero {
    padding: 60px 0 40px;
  }
  
  .species-hero h1 {
    font-size: 28px;
  }
  
  .species-badge {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
  
  .methods-grid {
    grid-template-columns: 1fr;
  }
  
  .method-card {
    padding: 30px 24px;
  }
  
  .tech-visual-box,
  .visual-box,
  .digestive-visual {
    padding: 40px 20px;
    min-height: 250px;
  }
}
