/* all styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica", sans-serif;
  background-color: #fffaf3;
  color: #333;
  line-height: 1.7;
}

/* guide */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffe7ba;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #d17e00;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #f39c12;
}

/* title */
.page-header {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #fff8e1, #ffe7ba);
}

.page-header h2 {
  color: #d17e00;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
  font-size: 1rem;
}

/* container */
.reflection-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* card */
.reflection-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reflection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.reflection-card h3 {
  color: #d17e00;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.reflection-card p {
  margin-bottom: 0.8rem;
}

/* critical reflections */
.critical {
  background: #fff6e6;
  padding: 1rem 1.2rem;
  border-left: 4px solid #f39c12;
  border-radius: 8px;
  color: #333;
  font-style: italic;
}

/* footer */
footer {
  text-align: center;
  padding: 1.5rem 0;
  background-color: #ffe7ba;
  color: #444;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* see more */
details.critical {
  background: #fff6e6;
  padding: 1rem 1.2rem;
  border-left: 4px solid #f39c12;
  border-radius: 8px;
  color: #333;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

details.critical:hover {
  background: #fff1d9;
}

details.critical summary {
  cursor: pointer;
  font-style: italic;
  font-weight: 600;
  color: #d17e00;
  outline: none;
  list-style: none;
}

details.critical summary::-webkit-details-marker {
  display: none; 
}

/* arrow */
details.critical summary::after {
  content: " ↓";
  font-weight: bold;
  transition: transform 0.3s;
}

details.critical[open] summary::after {
  content: " ↑";
}

/* details */
details.critical p {
  margin-top: 1rem;
  font-style: normal;
  color: #444;
  line-height: 1.6;
}
details[open] p {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* pictures */
.reflection-img {
  display: block;         
  margin: 20px auto;      
  max-width: 100%;         
  border-radius: 10px;    
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
  transition: transform 0.3s ease; 
}

.reflection-img:hover {
  transform: scale(1.03); 
}
