/* ===========================
   ELEGANT RESPONSIVE SLIDER
   =========================== */

.csp-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  border-radius: 10px;
}

/* SLIDES */
.csp-slide {
  display: none;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.csp-slide.active {
  display: flex;
  opacity: 1;
}

/* CONTENT */
.csp-content {
  padding: 20px;
  max-width: 80%;
  margin: auto;
  color: #fff;
  animation: fadeInUp 1.2s ease both;
}

.csp-content h1 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  margin-bottom: 15px;
  font-weight: 700;
  animation: slideInDown 1s ease both;
}

.csp-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease both;
}

/* BUTTON */
.csp-btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 30px;
  border: 2px solid #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.csp-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* ARROWS */
.csp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
  z-index: 10;
  user-select: none;
}

.csp-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.csp-prev { left: 20px; }
.csp-next { right: 20px; }

/* DOT NAVIGATION */
.csp-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.csp-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.csp-dot.active {
  background: #fff;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .csp-content {
    max-width: 90%;
    padding: 10px;
  }
  .csp-arrow {
    font-size: 1.6rem;
    padding: 6px;
  }
  .csp-btn {
    padding: 10px 25px;
  }
  .csp-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .csp-content h1 {
    font-size: 1.6rem;
  }
  .csp-content p {
    font-size: 1rem;
  }
}
