/* ==========================================================================
   STRAINS-DESKTOP.CSS
   Theme: Genetic Archive, Dark Mode, High Contrast
   ========================================================================== */

/* --- HERO SECTION --- */
.strains-hero {
  position: relative; 
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.85)), url(/assets/heros/strains_hero_desktop.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 20rem 0 10rem !important;
  overflow: hidden; 
}

/* Fade-Out Effect */
.strains-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15rem; 
  background: linear-gradient(to bottom, transparent, var(--bg-black));
  z-index: 1; 
}

.strains-hero .content-wrapper {
  position: relative;
  z-index: 2;
}

/* --- STRAIN GRID --- */
.strain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  padding: 4rem 5%;
  max-width: 120rem;
  margin: 0 auto;
}

.strain-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(234, 84, 85, 0.2);
  border-radius: var(--radius-large);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative; /* Context for badges */
}

.strain-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-dark);
  border-color: var(--fc-accent-red);
}

/* 1. Image Container */
.strain-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-black);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 2. Base Image State */
.strain-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
  cursor: pointer;
}

.strain-card:hover .strain-image {
  transform: scale(1.15);
}

/* 3. Color-Coded Seed Badges */
.seed-badge {
  position: absolute;
  top: 1.5rem;   
  right: 1.5rem; 
  z-index: 10;
  padding: 0.5rem 1.2rem; 
  border-radius: var(--radius-subtle);
  
  font-family: var(--ff-headers);
  font-size: 1.1rem; 
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.badge-reg {
  background: rgba(85, 85, 85, 0.9);
  color: var(--fc-main); 
}

.badge-fem {
  background: rgba(234, 84, 85, 0.95); /* Matches accent-red */
  color: var(--fc-main); 
}

/* 4. Text & Info Styles */
.strain-info {
  padding: 2.5rem; 
}

.strain-name {
  font-family: var(--ff-headers);
  color: var(--signature-orange);
  font-size: 2.4rem; 
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.strain-lineage {
  display: block;
  font-family: var(--ff-main);
  color: var(--fc-accent-red); 
  font-size: 1.4rem; 
  font-style: italic;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05rem;
}

.strain-tag {
  display: inline-block;
  background: var(--fc-accent-red); 
  color: #fff; 
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-subtle);
  font-family: var(--ff-headers);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem; 
  margin-bottom: 1.5rem;
  letter-spacing: 0.1rem;
}

.strain-info p {
  color: var(--fc-muted);
  line-height: 1.6;
  font-family: var(--ff-main);
  font-size: 1.6rem; 
}

.status-group {
margin: 2rem 0 -5rem;
}

/* --- BOTTOM BANNER --- */
.strains-petition-banner {
  background: linear-gradient(90deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 6rem 0;
  border-top: 1px solid rgba(248, 194, 93, 0.3);
  margin-top: 6rem;
}

.banner-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  max-width: 100rem;
  margin: 0 auto;
}

.banner-content h3 {
  font-family: var(--ff-headers);
  font-size: 2rem;
  color: var(--signature-orange);
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
}

.banner-content p {
  color: var(--fc-muted);
  font-size: 1.4rem;
  max-width: 60rem;
  margin: 0;
  line-height: 1.6;
}

.btn-petition-alt {
  padding: 1.5rem 4rem;
  background: transparent;
  border: 2px solid var(--signature-orange);
  color: var(--signature-orange);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-petition-alt:hover {
  background: var(--signature-orange);
  color: #000;
  box-shadow: 0 0 2rem rgba(248, 194, 93, 0.3);
}