.hero {
  
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
              /*
               background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('../imgs/logo.jpg') center/cover no-repeat;
              */
  /* position: relative;
 background: url("../images/lg_t.png") no-repeat center center/cover;*/
  /*position: relative;
  background-image: url("../imgs/logo.jpg"); /* เปลี่ยน path ตามที่คุณเก็บไฟล์ */
  /*background-repeat: no-repeat;
  background-size: cover;              /* ปรับภาพอัตโนมัติ เต็มพื้นที่ */
  /*background-position: center center;  /* จัดให้อยู่กึ่งกลาง */


   color: white;
  text-align: center;
  padding: 100px 20px;
 /*   display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh; 
  */

}
/* เพิ่ม overlay ให้ตัวหนังสืออ่านง่าย 
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.45); /* ดำโปร่ง 45% */
/*  z-index: 0;
}
*/
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero .theme {
  font-size: 2rem;
  font-weight: 500;
  color: #a8e6cf;
}

.hero .date {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.countdown {
  font-size: 1.5rem;
  font-weight: bold;
  color: #198754;
  margin-top: 20px;
  text-align: center;
}
.about, .topics {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 2rem;
}
.topics ul {
    list-style: none;
    padding-left: 0;
}

.topics li {
    background: #e9f5f0;
    margin: 0.5rem 0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

/* ปรับความสูงสำหรับมือถือให้ไม่สูงเกินไป */
@media (max-width: 768px) {
  .hero {
    min-height: 40vh;
    padding: 3rem 1rem;
  }
}