/* Exame de Maturidade Page Styles */

.page.exame-maturidade {
  background: linear-gradient(135deg, #fcfad9 0%, #f8f5e4 100%);
  min-height: 100vh;
  padding: 2rem 1rem;
}

.page.exame-maturidade .content {
  max-width: 900px;
  background: linear-gradient(135deg, #ffffff 0%, #fffbe6 100%);
  border: 2px solid #e8dcc0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Header styling */
.page.exame-maturidade h1 {
  font-family: 'Tagesschrift', 'Eagle Lake', serif;
  font-size: 2.8rem;
  color: #8b4513;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page.exame-maturidade #subtitle {
  font-family: 'Eagle Lake', serif;
  font-size: 1.1rem;
  color: #d4af37;
  text-align: center;
  font-style: italic;
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: 1px;
}

.page.exame-maturidade hr {
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border: none;
  margin: 0 auto 2.5rem auto;
}

/* Introduction section */
.exame-introduction {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.exame-note {
  font-style: italic;
  color: #8b4513;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Section styling */
.exame-section {
  margin-bottom: 3rem;
  background: rgba(248, 245, 228, 0.3);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid #f0ead6;
}

.exame-section h2 {
  font-family: 'MedievalSharp', serif;
  font-size: 1.8rem;
  color: #8b4513;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d4af37;
  position: relative;
}

.exame-section h2::before {
  content: "📝";
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.section-intro {
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #f0ead6;
}

/* Questions styling */
.exame-questions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exame-questions li {
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  padding: 1rem 1.2rem 1rem 2.5rem;
  border-radius: 8px;
  border-left: 4px solid #d4af37;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.exame-questions li:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exame-questions li::before {
  content: "💭";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #d4af37;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Conclusion section */
.exame-conclusion {
  background: linear-gradient(135deg, #f8f5e4 0%, #f0ead6 100%);
  border: 2px solid #d4af37;
  border-radius: 15px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.conclusion-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #8b4513;
  margin-bottom: 1.5rem;
}

.conclusion-text strong {
  color: #d4af37;
  font-weight: 700;
}

.source-attribution {
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #d4af37;
  padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page.exame-maturidade .content {
    max-width: 100%;
    padding: 2rem 1.5rem;
    border-radius: 15px;
  }
  
  .page.exame-maturidade h1 {
    font-size: 2.4rem;
  }
  
  .exame-section {
    padding: 1.5rem;
  }
  
  .exame-section h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page.exame-maturidade {
    padding: 1rem 0.5rem;
  }
  
  .page.exame-maturidade .content {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }
  
  .page.exame-maturidade h1 {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }
  
  .page.exame-maturidade #subtitle {
    font-size: 1rem;
  }
  
  .exame-section {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  .exame-section h2 {
    font-size: 1.4rem;
  }
  
  .exame-questions li {
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    margin-bottom: 0.6rem;
  }
  
  .exame-introduction,
  .exame-conclusion {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .page.exame-maturidade h1 {
    font-size: 1.8rem;
  }
  
  .exame-section h2 {
    font-size: 1.3rem;
  }
  
  .exame-section h2::before {
    font-size: 1.2rem;
  }
  
  .page.exame-maturidade hr {
    width: 80%;
  }
  
  .exame-questions li {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .conclusion-text {
    font-size: 1rem;
  }
}

/* Print styles for those who want to print the examination */
@media print {
  .page.exame-maturidade {
    background: white;
    padding: 0;
  }
  
  .page.exame-maturidade .content {
    background: white;
    box-shadow: none;
    border: none;
    max-width: none;
    padding: 1rem;
  }
  
  .exame-questions li {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .exame-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
