html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.7; /* เพิ่มระยะบรรทัด อ่านง่ายขึ้น ไม่อึดอัด */
}

/* ---------- Navbar แบบมือใหม่ ---------- */
.navbar {
  background-color: #ffffff !important;
  border-bottom: 4px solid #000000;
  padding-top: 14px;    /* เพิ่มพื้นที่บน-ล่างของ navbar */
  padding-bottom: 14px;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: bold;
  color: #000000 !important;
  text-decoration: none;
}

.nav-link {
  color: #000000 !important;
  font-weight: bold;
  padding-top: 8px;     /* ให้แต่ละลิงก์มีพื้นที่กดง่ายขึ้น */
  padding-bottom: 8px;
}

.nav-link:hover {
  text-decoration: none;
}

.navbar-toggler {
  border: 2px solid #000000 !important;
}

/* ---------- Section ---------- */
.section {
  padding: 90px 24px;   /* เพิ่มจาก 60px เป็น 90px ให้แต่ละ section หายใจมากขึ้น */
  scroll-margin-top: 90px;
}

.section-alt {
  background-color: #f2f2f2;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 36px;  /* เพิ่มจาก 20px ให้หัวข้อไม่ชิดเนื้อหาด้านล่าง */
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-text {
  max-width: 640px;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.8;
}

#home {
  min-height: 60vh;     /* เพิ่มความสูงเล็กน้อย */
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 3px solid #000000;
  margin: 32px auto;    /* เพิ่มระยะห่างจาก navbar */
  padding: 60px 50px;   /* เพิ่ม padding ในกรอบ home */
  max-width: 1140px;
  width: calc(100% - 40px);
}

.btn-dark {
  background-color: #000000 !important;
  border: 2px solid #000000 !important;
  font-weight: bold;
  border-radius: 0 !important;
  padding: 10px 20px;
}

.btn-dark:hover {
  background-color: #333333 !important;
}

.btn-outline-dark {
  border: 2px solid #000000 !important;
  color: #000000 !important;
  font-weight: bold;
  border-radius: 0 !important;
  padding: 10px 20px;
}

.btn-outline-dark:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* กรอบง่ายๆ แบบมือใหม่ */
.cute-box {
  border: 2px dashed #000000;
  padding: 20px;
  margin-top: 20px;
}

/* กล่องเกี่ยวกับฉัน 3 คอลัมน์ */
.about-box {
  border: 2px solid #000000;
  background-color: #ffffff;
  padding: 32px;         /* เพิ่มจาก 24px */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-box h3 {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 20px;    /* เพิ่มจาก 14px */
}

.about-box ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.about-box li {
  margin-bottom: 10px;    /* เพิ่มจาก 6px ให้แต่ละบรรทัดหายใจขึ้น */
  line-height: 1.6;
}

/* ---------- Modal ข้อมูลด่วน (ให้เข้าธีมขาว-ดำ) ---------- */
.modal-content {
  border: 2px solid #000000;
  border-radius: 0;
}

.modal-header,
.modal-footer {
  border-color: #000000;
  padding: 18px 24px;
}

.modal-body {
  padding: 24px;
  line-height: 1.8;
}

.modal-title {
  font-weight: bold;
}

footer {
  background-color: #000000 !important;
  border-top: 4px solid #000000;
  padding: 30px 0;        /* เพิ่ม padding footer */
}

footer p {
  color: #ffffff;
}

hr.stars {
  margin: 20px 0;
}

hr.stars::before {
  content: "* * * * * * * * * *";
  display: block;
  text-align: center;
  color: #000000;
  font-size: 1.2rem;
}