* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



@font-face {
  font-family: 'ath-bold';
  src: url("../asstes/Fonts/Athiti-Bold.ttf") format("truetype");

}


@font-face{
  font-family: 'ath-extralight' ;
  src:url("../asstes/Fonts/Athiti-ExtraLight.ttf") format("truetype");
}
@font-face{
  font-family: 'ath-mediam' ;
  src:url("../asstes/Fonts/Athiti-Medium.ttf") format("truetype");
}

@font-face{
  font-family: 'ath-regular' ;
  src:url("../asstes/Fonts/Athiti-Regular.ttf") format("truetype");
}

@font-face{
  font-family: 'ath-semibold' ;
  src:url("../asstes/Fonts/Athiti-SemiBold.ttf") format("truetype");
}


@font-face{
  font-family: 'got-bold' ;
  src:url("../asstes/Fonts/Gotham-Bold.otf") format("truetype");
}

.hidden {
  display: none;
}

/* เอฟเฟกต์เลื่อนภาพแบบ fade */
.image-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.image-slider img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* ปรับได้ตามต้องการ เช่น 600px */
  overflow: hidden;
}
.image-slider img {
  object-fit: cover;
}

.banner {
  position: relative;
  width: 100%;
  height: 100vh; /* เต็มหน้าจอ */
  overflow: hidden;
}

.banner video,
.banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ให้เต็มจอ */
  z-index: 1;
}

.banner img {
  display: none; /* ซ่อนรูปไว้ก่อน */
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  padding: 20px;
  border-radius: 12px;
}
.banner-content img{
  width: 150px;
  height: 150px;
  margin: 0 10px;
}

.banner-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.banner-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.banner-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.banner-links a {
  padding: 10px 25px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.banner-links a:hover {
  background: white;
  color: #800000;
}

.about {
  padding: 100px 8%;
  background-color: #fff;
    margin: 0 0 100px 0 ;

}

/* 🔸 หัวเรื่องใหญ่ */
.about-header {
  text-align: center;
  margin-bottom: 120px;
}


.about-header h2 span {
  color: #a57b5b; /* โทนทองน้ำตาล */
}

.about-header p {
  font-size: 18px;
  color: #7a6a60;
}


/* 🔸 ภาพ + เนื้อหา */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.about-images {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-images .img-back {
  position: relative;
  top: -60px;
  left: -60px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.about-images .img-front {
  position: absolute;
  bottom: -60px;
  right: -40px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.about-content {
  flex: 1;
  color: #3b2f2f;
}

.about-content p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #5c5c5c;
}

.about-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  font-family: 'Sarabun', sans-serif;
}

/* ปุ่มหลัก (เช่น ปุ่มแอดไลน์จองคิว) */
.btn.primary {
  background-color: #590000; /* โทนแดงไวน์ */
  color: #fff;
  border: 1px solid #590000;
}

.btn.primary:hover {
  background-color: #fff;
  color: #590000;
  border-color: #590000;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* ปุ่มรอง (เช่น โทรสอบถาม) */
.btn.secondary {
  background-color: #fff;
  color: #590000;
  border: 1px solid #590000;
}

.btn.secondary:hover {
  background-color: #590000;
  color: #fff;
  border-color: #590000;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.btn-service {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  font-family: 'Sarabun', sans-serif;

  background-color: #fff;        /* พื้นหลังขาว */
  color: #590000;                /* ตัวอักษรแดงไวน์ */
  border: 1px solid #590000;     /* เส้นขอบแดงไวน์ */
}

.btn-service:hover {
  background-color: #590000;     /* Hover กลับสี */
  color: #fff;
  border-color: #590000;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}




/* 📱 Responsive */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-images {
    margin-bottom: 60px;
  }

  .about-images .img-front {
    position: absolute;
    bottom: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 280px;
  }
}

/* SECTION SERVICE */
.services {
  padding: 100px 6%;
  background-color: #f9f5f2;
  text-align: center;
}

.services-header h2 {
  font-size: 34px;
  color: #5c3a2e;
  font-weight: 700;
  margin-bottom: 10px;
}

.services-header h2 span {
  color: #a57b5b;
}

.services-header p {
  color: #7a6a60;
  font-size: 18px;
  margin-bottom: 50px;
}

/* Grid layout */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  justify-content: center;
}

/* Card */
.service-card {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Image container */
.service-img {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* เบลอ + มืดตอน Hover */
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.service-card:hover .service-img::after {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}

/* Overlay message */
.service-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 2;
}




.service-card:hover .service-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Info block */
.service-info {
  padding: 20px 10px 30px;
  background: #fff;
}

.service-info h3 {
  font-size: 18px;
  color: #4a2c1a;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Button group */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}


/* Responsive */
@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-img {
    height: 250px;
  }
}

@media (max-width: 500px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}





/* Responsive */
/* ====== Gallery Section ====== */
.spa-gallery {
  background-color: #5b0000; /* สีแดงเข้มแบบในภาพ */
  padding: 4rem 2rem;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 10px 50px;
  gap: 2.0rem;
  justify-items: center;
  align-items: center;
}

.gallery-container img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}



/* ===== Our Partners Section ===== */
.our-partners {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  color: #4b0000;
}

.partners-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 0.5fr));
  justify-items: center;
  align-items: center;
  margin: 2rem 4rem ;
}


.partners-grid img {
  width: 120px;
  height: auto;
  max-width: 120px;
  background: #fff;
 

}

/* Quote */
.partners-quote {
  font-style: italic;
  font-weight: 600;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  color: #5b0000;
}

/* Description */
.partners-desc {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Bottom Note */
.partners-note {
  background: #5b0000;
  color: #fff;
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: 500;
  font-size: 1rem;
  margin-top: 1rem;
}

.partner-detail {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 2rem;
  background: #fff;
  color: #4b0000;
}

/* Each Partner Card */
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Alternate left-right for even cards */
.partner-card:nth-child(even) {
  flex-direction: row-reverse;
}

/* Image */
.partner-img img {
  width: 450px;
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Text */
.partner-text {
  flex: 1;
  text-align: left;
  min-width: 300px;
}

.partner-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #600000;
}

.partner-text p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Button */
.info-btn {
  display: inline-block;
  background: #fff;
  color: #600000;
  border: 1px solid #600000;
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.info-btn:hover {
  background: #600000;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .partner-card {
    flex-direction: column;
    text-align: center;
  }

  .partner-card:nth-child(even) {
    flex-direction: column;
  }

  .partner-text {
    text-align: center;
  }

  .partner-img img {
    width: 100%;
    max-width: 400px;
  }
}

/* ===== Message Section ===== */
.spa-message {
  background-color: #4b0000;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
}

.spa-logo img {
  width: 120px;
  margin-bottom: 2rem;
}

/* Intro Text */
.intro-text {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #f0eaea;
}

/* Highlight Quote */
.highlight-quote {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  background: transparent;
  color: #fff;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.highlight-quote span {
  color: #fdd6d6;
  font-size: 1.4rem;
}

/* Bottom Text */
.bottom-text {
  color: #f0eaea;
  font-size: 1rem;
  line-height: 1.6;
}

/* Section Container */
.product-section {
  padding: 4rem 2rem rem 2rem;
  text-align: center;
  
}

.section-title {
  color: #6b0000;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 340px;
}

.product-card img {
  width: 100%;
  display: block;
}

.detail-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #6b0000;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.detail-btn:hover {
  background-color: #6b0000;
  color: #fff;
}



/* Empty Card (Last One) */
.empty-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #aaa;
  background: #f5f5f5;
  color: #555;
  font-weight: 500;
  font-size: 1.1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.empty-card:hover {
  background: #6b0000;
  color: #fff;
  cursor: pointer;
}

.review-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fafafa;
}

.section-title {
  color: #6b0000;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* --- Slider Container --- */
.review-slider {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 2rem;
  position: relative;
}

.review-track {
  display: flex;
  gap: 1.8rem;
  will-change: transform;
}

/* Review Card */
.review-card {
  flex: 0 0 340px;
  background-color: #fff;
  border: 1.5px solid #d1a6a6;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Header */
.review-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden; /* ✅ ตัดให้รูปอยู่ในวงกลม */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eee; /* เผื่อกรณีรูปโหลดไม่ขึ้น */
}

.avatar img {
  width: 50%;
  height: 50%;
  object-fit: cover; /* ✅ รูปไม่บิด */
}

.review-header h4 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  color: #333;
}

.stars {
  color: #f5c518;
  font-size: 0.9rem;
}

/* Text */
.review-text {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Button */
.more-btn {
  background-color: #fff;
  border: 1.5px solid #6b0000;
  color: #6b0000;
  padding: 0.6rem 1.8rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.more-btn:hover {
  background-color: #6b0000;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .review-card {
    flex: 0 0 80%;
  }
}


/* ===== Responsive ===== */


/* Responsive สำหรับมือถือ */
@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }

   .partners-grid {
    grid-template-columns: 1fr;
  }

  .partners-title {
    font-size: 1.5rem;
  }

  .partners-note {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }
}




/* Responsive */
@media (max-width: 768px) {
  .banner-content {
    width: 90%;
    padding: 15px;
  }

  .banner-content h1 {
    font-size: 1.8rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .banner-links {
    flex-direction: column;
    gap: 10px;
  }

    .about {
    padding: 60px 15px;
  }

  .about-image {
    border-radius: 10px;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-quote {
    font-size: 1rem;
    padding: 8px 25px;
  }

    .spa-gallery {
    padding: 2rem 1rem;
  }

  .gallery-container {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

    .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .partners-desc {
    font-size: 0.95rem;
  }

   .spa-message {
    padding: 3rem 1rem;
  }

  .spa-logo img {
    width: 90px;
  }

  .highlight-quote {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .intro-text, .bottom-text {
    font-size: 0.95rem;
  }

    .section-title {
    font-size: 1.6rem;
  }
  .banner-content p {
    font-size: 16px;

  }
  .about-buttons {
    justify-content:center ;  
  }
  #img-spaproduct{
    visibility: hidden;
  }

}



.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 30px 0;
  color: #333;
}

/* ✅ Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ✅ Product Card */
.product-item {
  position: relative;
  background: #fff;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 10px;
}

.product-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

/* ✅ Ribbon */
.ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #c70000;
  color: #fff;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 3px;
}

/* ✅ Product Info */
.product-info {
  padding: 10px 5px 15px;
  text-align: left;
}

.product-name {
  font-size: 1rem;
  color: #500000;
  font-weight: 700;
      padding: 15px 0 0  15px;

}

.product-desc {
  color: #666;
  font-size: 0.9rem;
    padding: 0 0 0  15px;

}

.product-price {
  font-weight: bold;
  color: #000;
  font-size: 1rem;
    padding: 15px 0 0  15px;
    margin-top: 5px;


}

.view-more {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 0 0 25px 0;
}

/* ✅ ย้ายสไตล์ทั้งหมดมาใส่ในลิงก์โดยตรง */
.view-more-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  border: 1px solid #333;
  padding: 25px 75px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
  text-decoration: none; /* ❌ เอาเส้นใต้ลิงก์ออก */
}

.view-more-content:hover {
  background-color: #590000;
  color: #fff;
  border-color: #590000;
}

.view-more-content:hover .icon-basketballshop {
  filter: brightness(0) invert(1);
}

/* ✅ ไอคอน */
.icon-basketballshop {
  width: 35px;
  height: 35px;
  transition: filter 0.3s ease;
}




.header-title{

    font-size: 36px;
  font-weight: 700;
  color: #5c3a2e; /* โทนสีน้ำตาลเข้ม */
  margin-bottom: 10px;
  letter-spacing: 1px;
  margin-top: 30px; 
}




.banner-content p {
  font-size: 24px;
}


/* ✅ Responsive */
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .view-icon {
    font-size: 1.5rem;
  }
  .banner-content p {
    font-size: 16px;

  }
  .about-buttons {
    justify-content:center ;  
  }
  #img-spaproduct{
    visibility: hidden;
  }
}

