@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
  font-family: 'Anton', sans-serif; 
  background: #000; 
  overflow: hidden;
}

body, .overlay-text, .small-text {
  font-family: 'Anton', sans-serif !important;
}

/* ✅ Slider Container */
.slider {
  position: relative; 
  width: 100%; 
  height: 100vh; 
  overflow: hidden;
  user-select: none;
}

/* ✅ Slide Wrapper */
.slides {
  display: flex; 
  height: 100%; 
  cursor: grab;
  transition: transform 0.7s ease-in-out;
}

/* ✅ Single Slide */
.slide {
  flex: 0 0 100%; 
  height: 100vh; 
  position: relative;
}

/* ✅ Image */
.slide img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  -webkit-user-drag: none; 
  -moz-user-drag: none; 
  -ms-user-drag: none;
}

/* ✅ Overlay Text (หัวข้อใหญ่) */
.overlay-text {
  position: absolute;
  bottom: 80px;
  right: 120px;
  color: white;
  font-size: 5vw;
  text-shadow: 0 0 15px rgba(0,0,0,0.7);
  text-align: right;
  z-index: 10;
  text-decoration: none;
  cursor: pointer;
}

/* ✅ Subtext (ข้อความเล็ก) */
.small-text {
  position: absolute;
  bottom: 55px;
  right: 120px;
  color: rgba(255,255,255,0.8);
  font-size: 1.5vw;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 10;
  text-decoration: none;
  cursor: pointer;
}
.description-text {
  position: absolute;
  bottom: 20px;
  right: 120px;
  color: rgba(255,255,255,0.8);
  font-size: 1.5vw;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 10;
  text-decoration: none;
  cursor: pointer;
}

/* ✅ Navigation Dots */
.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border 0.3s, background 0.3s;
}

.dot.active {
  background-color: white;
  border-color: white;
}

/* ---------------------------- */
/* ✅ Responsive (มือถือ / แท็บเล็ต) */
/* ---------------------------- */

@media (max-width: 1024px) {
  .overlay-text {
    font-size: 6vw;
    right: 60px;
    bottom: 120px;
  }
  .small-text {
    font-size: 2vw;
    right: 60px;
    bottom: 90px;
  }
  
  .description-text {
  position: absolute;
  bottom: 60px;
  right: 90px;
  color: rgba(255,255,255,0.8);
  font-size: 1.5vw;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 10;
  text-decoration: none;
  cursor: pointer;
  /*font-size: 3.8vw;*/
}

}

@media (max-width: 768px) {
  .overlay-text {
    font-size: 8vw;
    right: 30px;
    bottom: 50px;
    text-align: right;
  }
  .small-text {
    font-size: 3.2vw;
    right: 30px;
    bottom: 25px;
  }
  .dots {
    bottom: 15px;
    gap: 8px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .description-text {
  position: absolute;
  bottom: 60px;
  right: 90px;
  color: rgba(255,255,255,0.8);
  font-size: 1.5vw;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 10;
  text-decoration: none;
  cursor: pointer;
  font-size: 3.8vw;
}
}

@media (max-width: 480px) {
  .overlay-text {
    font-size: 9vw;
    right: 20px;
    bottom: 100px;
  }
  .small-text {
    font-size: 3.8vw;
    right: 20px;
    bottom: 80px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .description-text {
  position: absolute;
  bottom: 60px;
  right: 90px;
  color: rgba(255,255,255,0.8);
  font-size: 1.5vw;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 10;
  text-decoration: none;
  cursor: pointer;
  font-size: 3.8vw;
}
}

