/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #111;
  margin: 0;
}

/* Hero Section */
.hero {
  background-image: url("header-background-min.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 1rem 2rem;
  position: relative;
}

.hero .overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
}
nav a:hover {
  text-decoration: underline;
}

/* Main Layout */
main {
  max-width: 1150px;
  margin: auto;
  padding: 2rem 1rem;
}
section {
  margin-bottom: 3rem;
}
section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1rem;
  text-align: left;
}

/* Collapsible States */
details {
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  background-color: #f8f8f8;
  transition: background-color 0.3s ease;
}
details:hover {
  background-color: #f0f0f0;
}

summary {
  font-weight: bold;
  font-size: 1.25rem;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
}
summary::marker {
  content: '';
}
summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
}
details[open] summary::before {
  transform: rotate(90deg);
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  border-top: 1px solid #ccc;
  padding: 1rem;
  background: #f0f0f0;
  margin-top: 2rem;
}


.task-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 0;
  border-bottom: 1px solid #ccc;
}

.task-header h3 {
  margin: 0;
  font-size: 1.1em;
  flex-grow: 1;
}

.task-checkbox {
  display: flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
  padding-left: .8em;
}

section > * > .task-header .task-checkbox label {
  font-size: 0.9em;
}






/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
  summary {
    font-size: 1rem;
  }
}
