/* ========================================
   DOG UNDERSTANDING HUMANS - PAGE STYLES
   ======================================== */

.understanding-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2em 1em;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 3em 1em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  color: white;
  margin-bottom: 2em;
}

.hero-section h1 {
  font-size: 2.5em;
  margin: 0 0 0.5em 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 1.3em;
  margin: 0;
  opacity: 0.95;
}

/* Intro Section */
.intro-section {
  background: white;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2em;
}

.intro-text {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* Content Sections */
.content-section {
  background: white;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2em;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1.5em;
  padding-bottom: 0.5em;
  border-bottom: 3px solid #667eea;
}

.section-icon {
  font-size: 2em;
}

.section-header h2 {
  margin: 0;
  color: #667eea;
  font-size: 2em;
}

/* Content Blocks */
.content-block {
  margin-bottom: 2.5em;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h3 {
  color: #0078d4;
  font-size: 1.5em;
  margin: 0 0 1em 0;
}

.content-block h4 {
  color: #444;
  font-size: 1.2em;
  margin: 1.5em 0 0.5em 0;
}

.content-block p {
  line-height: 1.8;
  color: #444;
  margin: 0 0 1em 0;
  text-align: justify;
}

/* Experiment Boxes */
.experiment-box {
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  padding: 1.5em;
  margin: 1.5em 0;
  border-radius: 8px;
}

.experiment-box h4 {
  color: #667eea;
  margin-top: 0;
  font-size: 1.3em;
}

.experiment-box p {
  margin: 0.75em 0;
}

.experiment-box strong {
  color: #0078d4;
}

.experiment-box ul {
  margin: 0.5em 0 0.5em 1.5em;
  line-height: 1.8;
}

/* Evidence Lists */
.evidence-list {
  margin: 1em 0 1em 1.5em;
  line-height: 1.8;
  list-style-type: none;
  padding: 0;
}

.evidence-list li {
  margin: 0.75em 0;
  padding-left: 1.5em;
  position: relative;
}

.evidence-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
  font-size: 1.2em;
}

.evidence-list li strong {
  color: #0078d4;
}

/* Case Studies */
.case-study {
  background: #fff8dc;
  border: 2px solid #ffd700;
  padding: 1.5em;
  margin: 1.5em 0;
  border-radius: 8px;
}

.case-study h4 {
  color: #e67e22;
  margin-top: 0;
  font-size: 1.3em;
}

.case-study p {
  margin: 0.75em 0;
}

/* Stat Highlights */
.stat-highlight {
  text-align: center;
  padding: 2em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
  margin: 1.5em 0;
}

.stat-number {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 0.25em;
}

.stat-label {
  font-size: 1.1em;
  opacity: 0.95;
}

/* Comparison Table */
.comparison-table {
  margin: 1.5em 0;
  overflow-x: auto;
}

.comparison-table h4 {
  color: #667eea;
  margin-bottom: 1em;
  font-size: 1.3em;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.comparison-table th {
  background: #667eea;
  color: white;
  padding: 1em;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 1em;
  border-bottom: 1px solid #e0e0e0;
  color: #444;
}

.comparison-table tr:nth-child(even) {
  background: #f8f9fa;
}

.comparison-table tr:hover {
  background: #e3f2fd;
}

/* Breed Comparisons */
.breed-comparison {
  background: #e3f2fd;
  border-left: 4px solid #0078d4;
  padding: 1.5em;
  margin: 1em 0;
  border-radius: 8px;
}

.breed-comparison h4 {
  color: #0078d4;
  margin-top: 0;
  font-size: 1.2em;
}

.breed-comparison p {
  margin: 0.5em 0 0 0;
}

/* Practical Tips */
.practical-tip {
  background: #d4edda;
  border-left: 4px solid #27ae60;
  padding: 1.5em;
  margin: 1em 0;
  border-radius: 8px;
}

.practical-tip h4 {
  color: #27ae60;
  margin-top: 0;
  font-size: 1.2em;
}

.practical-tip p {
  margin: 0.5em 0 0 0;
  color: #155724;
}

/* Final Thought */
.final-thought {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2em;
  border-radius: 12px;
  margin-top: 2em;
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
}

.final-thought p {
  margin: 0;
  color: white;
}

/* Conclusion Section */
.conclusion-section {
  background: linear-gradient(to bottom, white 0%, #f8f9fa 100%);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .understanding-container {
    padding: 1em 0.5em;
  }

  .hero-section {
    padding: 2em 1em;
  }

  .hero-section h1 {
    font-size: 1.8em;
  }

  .hero-subtitle {
    font-size: 1.1em;
  }

  .content-section {
    padding: 1.5em 1em;
  }

  .section-header h2 {
    font-size: 1.5em;
  }

  .section-icon {
    font-size: 1.5em;
  }

  .intro-section {
    padding: 1.5em 1em;
  }

  .intro-text {
    font-size: 1em;
    text-align: left;
  }

  .content-block p {
    text-align: left;
  }

  .stat-number {
    font-size: 2.5em;
  }

  .stat-label {
    font-size: 1em;
  }

  .comparison-table {
    font-size: 0.9em;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75em 0.5em;
  }

  .experiment-box,
  .case-study,
  .practical-tip,
  .breed-comparison {
    padding: 1em;
  }

  .final-thought {
    padding: 1.5em 1em;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.5em;
  }

  .hero-subtitle {
    font-size: 1em;
  }

  .section-header h2 {
    font-size: 1.3em;
  }

  .content-block h3 {
    font-size: 1.2em;
  }

  .content-block h4 {
    font-size: 1.1em;
  }
}
