/* dog-organ.css - Dog Organ Page Specific Styles */
/* Import global styles first in your HTML */

/* Dog Organ Page Color Variables - Scoped to avoid conflicts */
:root {
  --organ-olive: #2C7A7B;
  --organ-teal: #008080;
  --organ-forest: #1c3d32;
  --organ-dark: #1f2937;
  --organ-beige: #f1e8d2;
  --organ-rust: #a94436;
  --organ-bg-page: linear-gradient(180deg, #f8faf7 0%, #ffffff 100%);
}

/* HERO SECTION - MATCHING DOG-SKIN STRUCTURE */
.dog-organ-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: var(--organ-bg-page);
  margin-top: 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-grid { 
  display: grid; 
  gap: 3rem; 
  align-items: center; 
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-grid { 
      grid-template-columns: 1fr 1fr; 
      gap: 3rem;
  }
}

/* Left column - copy */
.hero-copy { 
  max-width: 720px;
  margin-top: 0;
}

/* Organ-specific badge styles */
.organ-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
  border-radius: 6px; 
  padding: 0.125rem 0.5rem; 
  font-size: 0.75rem; 
  font-weight: 600; 
}

.organ-badge-intro { 
  background: var(--organ-olive); 
  color: #fff; 
  border: 1px solid transparent; 
  margin-bottom: 1.5rem; 
}

.organ-badge-small { 
  background: var(--organ-olive); 
  color: #fff; 
  border: 1px solid transparent; 
  margin-top: 1rem; 
}

/* hero title & lead */
.hero-title {
  font-size: 2.25rem;
  line-height: 1.03;
  font-weight: 800;
  color: var(--organ-forest);
  margin-bottom: 1.25rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .hero-title { 
      font-size: 3.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title { 
      font-size: 1.75rem; 
      line-height: 1.2;
  }
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--organ-dark);
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* CTA group */
.cta-group { 
  display: flex; 
  flex-direction: column; 
  gap: 0.75rem; 
}

@media (min-width: 640px) { 
  .cta-group { 
      flex-direction: row; 
  } 
}

/* Dog Organ specific buttons */
.dog-organ-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dog-organ-hero .btn svg { 
  margin-left: 0.4rem; 
}

.dog-organ-hero .btn-primary {
  background: var(--organ-olive);
  color: #fff;
}

.dog-organ-hero .btn-primary:hover { 
  opacity: 0.94;
  transform: translateY(-2px);
}

.dog-organ-hero .btn-outline {
  background: transparent;
  border: 1px solid var(--organ-teal);
  color: var(--organ-teal);
}

.dog-organ-hero .btn-outline:hover {
  background: var(--organ-teal);
  color: #fff;
  transform: translateY(-2px);
}

/* Right column panel - MATCHING DOG-SKIN STRUCTURE */
.hero-panel { 
  display: flex; 
  justify-content: center;
  margin-top: 0;
}

.panel-outer {
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  padding: 2rem;
  background: linear-gradient(135deg, var(--organ-teal) 0%, var(--organ-olive) 100%);
  box-shadow: 0 20px 40px rgba(14, 16, 18, 0.12);
}

.panel-inner {
  background: #fff;
  padding: 1.5rem;
  border-radius: 18px;
  text-align: center;
}

.panel-circle {
  width: 128px; 
  height: 128px; 
  margin: 0 auto 1rem; 
  border-radius: 50%;
  background: var(--organ-beige);
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.icon-organ-large { 
  width: 64px; 
  height: 64px; 
  color: var(--organ-rust); 
}

.panel-title { 
  font-size: 1.25rem; 
  font-weight: 700; 
  color: var(--organ-forest); 
  margin-bottom: 0.5rem; 
}

.panel-sub { 
  color: var(--organ-dark); 
}

/* fade-in-up animation */
.fade-in-up { 
  animation: organFadeInUp 0.6s ease both; 
}

@keyframes organFadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive fixes */
@media (max-width: 480px) {
  .panel-outer { 
      padding: 1.25rem; 
  }
  
  .dog-organ-hero {
      padding-top: 7rem;
      min-height: auto;
  }
  
  .hero-lead {
      font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .dog-organ-hero {
      padding-top: 6rem;
  }
  
  .hero-title {
      font-size: 1.5rem;
  }
  
  .cta-group {
      flex-direction: column;
  }
  
  .dog-organ-hero .btn {
      width: 100%;
      justify-content: center;
  }
}

/* -------------------------
Dog Organ Stats Section
------------------------- */

.dog-organ-stats-section {
  padding: 4rem 0;
  background: var(--color-gray-50);
}

.stats-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .stats-grid { 
      grid-template-columns: repeat(4, 1fr); 
  }
}

.stat-item { }

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-value.rust { color: var(--organ-rust); }
.stat-value.teal { color: var(--organ-teal); }
.stat-value.olive { color: var(--organ-olive); }
.stat-value.forest { color: var(--organ-forest); }

.stat-text {
  color: var(--organ-dark);
  font-size: 1rem;
  line-height: 1.5;
}

/* -------------------------
Dog Organ Issues Section
------------------------- */

.dog-organ-issues {
  padding: 5rem 0;
}

.dog-organ-issues .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.dog-organ-issues .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--organ-forest);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .dog-organ-issues .section-header h2 { 
      font-size: 3rem; 
  }
}

.dog-organ-issues .section-header p {
  font-size: 1.25rem;
  color: var(--organ-dark);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* grid */
.issues-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .issues-grid { 
      grid-template-columns: repeat(2, 1fr); 
  }
}

@media (min-width: 1024px) {
  .issues-grid { 
      grid-template-columns: repeat(3, 1fr); 
  }
}

/* card */
.issue-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.issue-card:hover { 
  transform: translateY(-6px); 
}

.issue-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.issue-card h3 {
  color: var(--organ-forest);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 1.5rem;
}

.issue-card p {
  color: var(--organ-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 1.5rem;
}

/* icon colors */
.icon { 
  width: 2rem; 
  height: 2rem; 
}

.icon.olive { color: var(--organ-olive); }
.icon.rust { color: var(--organ-rust); }
.icon.teal { color: var(--organ-teal); }

/* badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}

.badge.high { background: var(--organ-olive); }
.badge.severe { background: var(--organ-rust); }
.badge.moderate { background: var(--organ-teal); }

/* solution box - NOW INSIDE ISSUES SECTION */
.solution-box {
  margin-top: 4rem;
  background: var(--organ-rust);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.solution-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.solution-box p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #fff;
}

/* -------------------------
Dog Organ Ingredients Section
------------------------- */

.dog-organ-ingredients-section {
  padding: 5rem 0;
  background: var(--color-gray-50);
}

.dog-organ-ingredients-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.dog-organ-ingredients-section .section-header .section-badge {
  display: inline-flex;
  align-items: center;
  background: var(--organ-olive);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.dog-organ-ingredients-section .section-header .section-badge .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.dog-organ-ingredients-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--organ-forest);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .dog-organ-ingredients-section .section-header h2 { 
      font-size: 3rem; 
  }
}

.dog-organ-ingredients-section .section-header p {
  font-size: 1.25rem;
  color: var(--organ-dark);
  max-width: 48rem;
  margin: 0 auto;
}

/* grid */
.ingredients-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .ingredients-grid { 
      grid-template-columns: repeat(2, 1fr); 
  }
}

/* card */
.ingredient-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.ingredient-card:hover { 
  transform: translateY(-6px); 
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.ingredient-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--organ-forest);
  margin: 0 1.5rem;
}

.ingredient-card .subtitle {
  margin: 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.subtitle.teal { color: var(--organ-teal); }

.card-body { 
  padding: 0 1.5rem; 
}

.card-body p { 
  margin-bottom: 1rem; 
  color: var(--organ-dark); 
  line-height: 1.6; 
}

/* highlights */
.highlight {
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.highlight.beige { background: var(--organ-beige); }
.highlight.white { background: #fff; }
.teal-border { border-left: 4px solid var(--organ-teal); }

.highlight h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--organ-forest);
  margin-bottom: 0.5rem;
}

.highlight p { 
  font-size: 0.85rem; 
}

/* check info */
.card-check {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.card-check.teal { color: var(--organ-teal); }

/* endorsement box - NOW INSIDE INGREDIENTS SECTION */
.endorsement-box {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--organ-dark), var(--organ-forest));
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
}

.endorsement-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.endorsement-box p { 
  margin-bottom: 1rem; 
  color: rgba(255, 255, 255, 0.9);
}

.endorsement-box .author { 
  font-size: 0.9rem; 
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

.endorsement-box .btn.rust {
  background: var(--organ-rust);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.endorsement-box .btn.rust:hover {
  background: #8b372c;
}

/* Dog Organ Protection Section */
.dog-organ-protection-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1c3d32, #162b26);
  color: #fff;
  text-align: center;
}

.dog-organ-protection-section .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--organ-rust);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.dog-organ-protection-section .section-badge .icon {
  width: 20px;
  height: 20px;
}

.dog-organ-protection-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #fff;
}

.dog-organ-protection-section .lead {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Formula List */
.formula-box {
  background: rgba(169, 68, 54, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.dog-organ-protection-section .formula-box h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  color: #fff;
}

.formula-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dog-organ-protection-section .formula-grid p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
      flex-direction: row;
  }
}

.dog-organ-protection-section .btn {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dog-organ-protection-section .btn.rust {
  background: var(--organ-rust);
  color: #fff;
  border: none;
}

.dog-organ-protection-section .btn.rust:hover {
  background: #8b372c;
}

.dog-organ-protection-section .btn.outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.dog-organ-protection-section .btn.outline:hover {
  background: #fff;
  color: #1c3d32;
}

.dog-organ-protection-section .disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Fix for very small screens */
@media (max-width: 360px) {
  .dog-organ-hero {
      padding-top: 5rem;
  }
  
  .dog-organ-protection-section,
  .dog-organ-ingredients-section,
  .dog-organ-issues {
      padding-left: 0.75rem;
      padding-right: 0.75rem;
  }
  
  .formula-grid {
      grid-template-columns: 1fr;
  }
  
  .panel-outer {
      padding: 1rem;
  }
  
  .panel-circle {
      width: 100px;
      height: 100px;
  }
  
  .icon-organ-large {
      width: 48px;
      height: 48px;
  }
}