:root {
  --pale-yellow: #fff9e6;
  --accent: #d9c37a;
  --text: #222;
  --muted: #555;
  --max-width: 1100px;
}

* { box-sizing: border-box; margin:0; padding:0; }

body {
  font-family: "Noto Sans Thai", "Helvetica", Arial, sans-serif;
  color: var(--text);
  background: var(--pale-yellow);
  line-height: 1.6;
}

/* เลเยอร์เนื้อหา */
.wrap {
  max-width: var(--max-width);
  margin: 24px auto;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header & Nav */
header {
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  background: linear-gradient(180deg,var(--pale-yellow),#fff);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.top-row { display: flex; justify-content: space-between; align-items: center; }

.site-title { font-weight:700; font-size:26px; cursor:pointer; color: var(--text); }

nav {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 10px;
}

nav a {
  text-decoration:none;
  color: var(--text);
  font-weight:600;
  padding:6px 12px;
  border-radius:6px;
}

nav a:hover { background: rgba(217,195,122,0.3); }

/* Hamburger มือถือ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.95);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.5rem;
  margin: 15px 0;
}

.mobile-menu.active { display: flex; }

/* Banner */
.banner img { width: 100%; height: auto; object-fit: cover; }

/* Section */
section { padding:30px; }

h2 {
  text-align:center;
  color:#004aad;
  background:#cfe2ff;
  padding:10px;
  border-radius:8px;
  margin-bottom:20px;
}

/* รูปภาพซ้าย/ขวา กับข้อความ */
.image-left, .image-right {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 20px;
}

.image-left img, .image-right img {
  width: 45%;
  border-radius: 10px;
  object-fit: cover;
}

.text {
  width: 55%;
  line-height: 1.7;
  font-size: 16px;
  color: var(--muted);
}

/* Footer */
footer {
  background: #fff;
  border-top:1px solid rgba(0,0,0,0.04);
  padding:12px 24px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  color: var(--muted);
  font-size:14px;
  line-height:1.3;
}

/* Responsive */
@media(max-width:900px){
  .hamburger { display: flex; }  /* แสดง Hamburger บนมือถือ */
  nav { display: none; }          /* ซ่อน Nav ปกติ */
  .image-left, .image-right {
    flex-direction: column;
  }
  .image-left img, .image-right img, .text {
    width: 100%;
  }
}
