
body {
  font-family: 'Kanit', sans-serif;
  position: relative-index 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('images/decorate/re1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.56; /* ปรับความจางตามใจ */
  z-index: -1;
}


.navbar-custom {
    background-image : url('images/decorate/or1.jpg');
    opacity: 0.9;
    background-size: cover;
    background-color: #e6aa57; /* เปลี่ยนสีพื้นหลังของ navbar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* เพิ่มเงาให้กับ navbar */
    font-size : 20px;
   
  }
  
  /* เปลี่ยนสีเมนูเมื่อ hover */
  .navbar-custom .nav-link:hover {
    color: #f8f9fa; /* เปลี่ยนสีตัวอักษรเป็นสีขาวเมื่อ hover */
    background-color: #b16c12; /* เปลี่ยนสีพื้นหลังของเมนูเมื่อ hover */
  }

  .navbar-custom .nav-link,.nav-item{
    color: #02162a;
  }
  .navbar-custom .navbar-brand{
    color: #02162a;
    font-weight: bold;
  }

.main-content {
    
    background-color: rgba(251, 249, 243, 0.916);
    border-radius: 10px;
    border: 3px solid rgba(76, 76, 76, 0.566);
    background-position: center;
    color: rgb(74, 31, 3); /* ตัวหนังสือให้อ่านง่ายบนภาพ */
    padding: 1.5rem;
  }

  .contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 1rem;
    align-items: flex-start;
  }
  
  .contact-icon {
    flex: 0 0 60px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* ปุ่มรวม */
.btn-contact {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 18px;
  text-decoration: none;
  color: white;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, background-color 0.2s;
}

/* ปุ่มเฟส */
.facebook-btn {
  background-color: #1877f2;
}

.facebook-btn:hover {
  background-color: #125ecb;
  transform: scale(1.05);
}

/* ปุ่มไลน์ */
.line-btn {
  background-color: #00b900;
}

.line-btn:hover {
  background-color: #009e00;
  transform: scale(1.05);
}

/* ปรับ layout icon */
.contact-icon {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

  
  .contact-info {
    flex: 1 1 300px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid rgba(100, 100, 100, 0.3);
    color: rgb(74, 31, 3); /* ให้เข้ากับธีม */
  }
  
  @media (max-width: 768px) {
    .contact-row {
      flex-direction: column;
    }
    .contact-icon {
      justify-content: flex-start;
    }
  }
  
     
.gallery-container {
  background-color: rgba(255, 248, 235, 0.85); /* สีพื้นหลังอ่อนๆนวลๆ */
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(185, 121, 40, 0.3);
  margin-top: 2rem;
}

.gallery-container h2 {
  color: #4a1f03; /* สีน้ำตาลเข้ม */
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.gallery-container img {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

