body { background:linear-gradient(
    rgba(255, 200, 0, 0.55)),
  url("../images/crane.jpg") center/cover no-repeat;
}

.contact-h { width: 100%; text-align: center;}
.contact-h h1 { font-family: "Kanit", sans-serif;font-style: normal; font-size: 50px; color:white; font-weight: 700;}
/* พื้นหลังทั้ง section */
.contact-section {
  background-image: url("/static/images/bg-contact.jpg"); /* เปลี่ยนเป็นรูปจริงของนาย */
  background-size: cover;
  background-position: center;
  padding: 40px 0;
}

/* ชั้นทับให้สีมืดลงนิดนึง */
.contact-overlay {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px 50px;
}
/* กล่องซ้าย-ขวา */
.contact-wrapper {
  display: flex;
  gap: 30px;
}

/*  แผนที่ */
.contact-map,
.contact-form {
  flex: 1;
}

.contact-map h2,
.contact-form h2 {
  font-family: "Kanit", sans-serif;
  font-size: 28px;
  margin-bottom: 15px;
}

.contact-map iframe {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 400px;
  border: 0;
}

/* ฟอร์มด้านขวา */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 14px;
  margin-bottom: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid;
  font-size: 14px;
  font-family: inherit;
}

.contact-btn {
  margin-top: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  background: #ffd200; 
  color: black;
  font-weight: 600;
  cursor: pointer;
}

.endweb {text-align: center;}
.logocrane2-img { height: 120px; margin-top: 20px;}
.contact-ttend { 
  font-family: "Kanit", sans-serif;font-style: normal; font-size: 28px; color:#ffc107 ; font-weight: 500;
  margin-top:-3px ; 
  margin-bottom: 5px; 
}
.contact-listend { margin-top: 5px;}
.contactend a {
  font-family: "Kanit", sans-serif;font-style: normal; font-size: 25px; color: white ; font-weight: 500;
  text-decoration: none;
  margin-left: -20px;
}
.contactend span{
  font-family: "Kanit", sans-serif;font-style: normal; font-size: 25px; color: white ; font-weight: 500;
  text-decoration: none;
  margin-right: 20px;
}
.contactend li { list-style: none;}
.contactend a:hover {text-decoration: underline;}
.logofb {
  display: inline-flex;
  margin-left: -10px;
  margin-bottom: -3px;
  border-radius: 50%;
  background-color: #1877F2;
  color: white;
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.gt {margin-right: 20px;}
.oe {
    font-family: "Kanit", sans-serif;font-style: normal; font-size: 25px; color: white ; font-weight: 500;
  text-decoration: none;
  margin-right: 20px;
}
.contact-btn:hover {
  opacity: 0.9;
}
@media (max-width: 960px) {
    .contact-overlay {padding: 20px;}
    .contact-wrapper {flex-direction: column;}  /* ซ้าย-ขวา → เรียงบน-ล่าง */
    .contact-map iframe {height: 260px;}
    .contact-ttend { font-size: 25px; }
    .contactend a {font-size: 18px; margin-right: 8px;}
    .contactend span {font-size: 18px; margin-right: 20px;}
    .oe {margin-left: -5px;}
}