* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}
body {
  padding-top: 120px; /* ปรับให้เท่ากับความสูงของ Navbar */
}

.hero-section {
  position: relative;
  width: 100%;
  height: 60vh; /* ✅ ความสูง 60% ของหน้าจอ */
  overflow: hidden; /* ซ่อนส่วนเกินของภาพ */
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ ให้ภาพครอบพอดีกับกล่องโดยไม่บีบ */
  object-position: center; /* จัดให้อยู่ตรงกลาง */
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

/* ปรับขนาดข้อความตามจอ */
.hero-overlay h1 {
  font-size: 2.5rem;
  font-weight: 600;
}
.hero-overlay p {
  font-size: 1.1rem;
  font-weight: 300;
}

/* === Responsive Font Sizes === */
@media (max-width: 992px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 1.7rem;
  }

  .hero-overlay p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-overlay h1 {
    font-size: 1.5rem;
  }

  .hero-overlay p {
    font-size: 0.9rem;
  }
}

.about-section {
  width: 100%;
  background-color: #fff; /* พื้นหลังสีขาว */
  padding: 50px 20px; /* เว้นระยะรอบๆ */
  text-align: center;
  color: #4b1f0d; /* น้ำตาลเข้มแบบโลโก้ */
}

.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;
}


/* ===============================
   SERVICE SECTION (สไตล์ใหม่)
   =============================== */
.service-section {
  width: 100%;
  background-color: #fff;
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-container {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ===== IMAGE WRAPPER ===== */
.service-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-image-wrapper img {
  width: 85%;               /* ✅ ลดขนาดลงจากเต็มจอ */
  max-width: 350px;         /* ✅ จำกัดความกว้างสูงสุด */
  border-radius: 20px;      /* ✅ มุมโค้งหรู */
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


/* ===== CONTENT ===== */
.service-content {
  flex: 1;
  color: #444;
}

.service-title {
  font-size: 1.9rem;
  color: #b89068;          /* ✅ โทนทองอบอุ่น */
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

.service-subtitle {
  color: #777;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.service-text {
  line-height: 1.8;
  font-size: 1rem;
  color: #555;
  max-width: 550px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .service-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .service-image-wrapper img {
    width: 90%;
    max-width: 400px;
  }

  .service-content {
    text-align: center;
  }

  .service-text {
    margin: 0 auto;
  }
}


.about-section {
  width: 100%;
  padding: 80px 10%;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
  margin-bottom: 30px;
}

.quote-box {
  display: inline-block;
  background-color: #6b0000;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  margin: 20px 0;
  font-size: 1.1rem;
}

.quote-box.alt {
  background-color: #6b0000;
  border-radius: 50px;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-image img {
    max-width: 80%;
  }

  .quote-box {
    display: block;
    margin: 20px auto;
  }
}

.why-choose-us {
  position: relative;
  background: #580100;
  color: #fff;
  text-align: center;
  width: 100%;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

.why-choose-us .overlay {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.why-logo {
  width: 200px;
  max-width: 60%;
  height: auto;
  margin-bottom: 20px;
}

.why-choose-us h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.why-choose-us .tagline {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 25px;
  color: #f8d98c;
}

.why-choose-us .details {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 10px;
}

.btn-wrapper {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.btn-contact {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 8px;
}

.btn-contact:hover {
  background-color: #fff;
  color: #000;
}

/* 🔴 ปุ่มแดง (สำรอง) */
.btn-contact.red {
  background-color: #6b0000;
  border-color: #6b0000;
}
.btn-contact.red:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

/* 🔹 Tablet (จอกลาง) */
@media (max-width: 992px) {
  .why-choose-us {
    padding: 50px 15px;
  }
  .why-choose-us h2 {
    font-size: 2rem;
  }
  .why-choose-us .tagline {
    font-size: 1.1rem;
  }
  .why-choose-us .details {
    font-size: 1rem;
  }
}

/* 🔹 Mobile (จอเล็ก) */
@media (max-width: 600px) {
  .why-logo {
    width: 140px;
  }
  .why-choose-us h2 {
    font-size: 1.7rem;
  }
  .why-choose-us .tagline {
    font-size: 1rem;
  }
  .why-choose-us .details {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .btn-contact {
    padding: 10px 28px;
    font-size: 0.9rem;
  }
}


.gallery-section {
  padding: 40px 20px;
  background: #f7f7f7;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bold;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;           /* ระยะห่างระหว่างรูป */
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-container img {
  flex: 1 1 calc(25% - 20px); /* 4 รูปต่อแถว */
  max-width: calc(25% - 20px);
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-container img:hover {
  transform: scale(1.05);
}

/* Responsive สำหรับจอเล็ก */
@media (max-width: 992px) {
  .gallery-container img {
    flex: 1 1 calc(33.333% - 20px); /* 3 รูปต่อแถว */
    max-width: calc(33.333% - 20px);
  }
}

@media (max-width: 600px) {
  .gallery-container img {
    flex: 1 1 calc(50% - 20px); /* 2 รูปต่อแถว */
    max-width: calc(50% - 20px);
  }
}
