* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

body {
  padding-top: 120px; /* ปรับให้เท่ากับความสูงของ Navbar */
}


.block-date {
width: 100%;
height: 150px;

}

/* ==== Contact Form Section ==== */
/* ==== Layout ==== */
.contact-section {
  background-color: #fafafa;
  padding: 80px 10%;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
}

/* ==== Left Form ==== */
.contact-form-container {
  flex: 1 1 45%;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.contact-form-container h2 {
  margin-bottom: 25px;
  font-size: 22px;
  text-transform: uppercase;
  color: #333;
}

.contact-form-container label {
  display: block;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 6px;
}

.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  border-color: #d4a44d;
}

.contact-form-container button {
  margin-top: 25px;
  background-color: #d4a44d;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-container button:hover {
  background-color: #b88c3a;
}

/* ==== Right Info ==== */
.contact-info {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-subtitle {
  color: #d4a44d;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.contact-description {
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.info-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(36%) sepia(62%) saturate(366%) hue-rotate(15deg) brightness(95%) contrast(92%);
}

.contact-socials {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease, filter 0.3s ease;
}



/* ==== Responsive ==== */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
}



.about-section {
  width: 100%;
  background-color: #fff; /* พื้นหลังสีขาว */
  padding: 100px 20px; /* เว้นระยะรอบๆ */
  text-align: center;
  color: #4b1f0d; /* น้ำตาลเข้มแบบโลโก้ */
  background-color: rgb(238, 228, 216);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-subtitle {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #3c1d0a;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.about-subtitle::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background-color: #3c1d0a;
  margin: 5px auto 0;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0;
  color: #4b1f0d;
}

.about-text {
  font-size: 0.9rem;
  color: #3c1d0a;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .about-section {
    padding: 60px 15px;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .about-text {
    font-size: 0.85rem;
  }
}

/* ==== Google Map Section ==== */
.contact-map-section {
  width: 100%;
  padding: 20px;
  background-color: #fafafa;
}

.map-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .map-wrapper {
    height: 300px;
  }
}



.popup-success, .popup-fail {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.popup-success {
  background-color: #4CAF50; /* สีเขียว */
}

.popup-fail {
  background-color: #f44336; /* สีแดง */
}

.popup-success.show, .popup-fail.show {
  opacity: 1;
}

/* highlight field invalid */
.invalid {
  border-color: red;
  background-color: #ffe5e5;
}
