/* ===== BUTTONS ===== */
.openbtn {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #c33; /* dark red */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ===== LAYOUT CONTAINER ===== */
.container { 
  max-width: 1200px; 
  margin: auto; 
  padding: 40px 20px; 
}

/* ===== SECTIONS ===== */
.section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
}

/* Alternate sections: reverse order for even ones */
.section:nth-child(even) { 
  flex-direction: row-reverse; 
}

/* ===== IMAGE AND TEXT BLOCKS ===== */
.image-box, 
.text-box {
  flex: 1 1 400px;
  padding: 10px;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADINGS ===== */
h2 { 
  margin-top: 0; 
}

/* ===== TEXT STYLING ===== */
.text-box p, 
.text-box ul {
  margin: 8px 0;
  line-height: 1.5;
}

/* Unstyled list for text content */
.text-box ul {
  list-style: none;
  padding-left: 0;
}

/* Custom bullet (en dash) for list items */
.text-box ul li:before {
  content: "– ";
}

/* ===== FOOTER ===== */
footer {
  background: #333;
  color: #eee;
  text-align: center;
  padding: 20px;
}

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

/* For tablets and smaller: stack sections vertically */
@media (max-width: 800px) {
  .section { 
    flex-direction: column; 
  }
  .section:nth-child(even) { 
    flex-direction: column; 
  }
}

/* For mobile: hide nav menu and show menu toggle */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}
