/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ===========================
   SLIDER WRAPPER
=========================== */
.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #000;
  user-select: none;
}

/* ===========================
   SLIDES CONTAINER
=========================== */
.slider {
  display: flex;
  width: 100%;
  height: clamp(260px, 42vw, 500px);
  position: relative;
}

/* ===========================
   SINGLE SLIDE
=========================== */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* Dark gradient overlay — stronger on left for text legibility */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.08) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* ===========================
   SLIDE CONTENT
=========================== */
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px) clamp(60px, 8vw, 120px);
  max-width: 60%;
  gap: clamp(10px, 1.5vw, 20px);
}

.slide-title {
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.6s ease 0.15s, opacity 0.6s ease 0.15s;
}

.slide.active .slide-title {
  transform: translateY(0);
  opacity: 1;
}

.slide-desc {
  font-size: clamp(0.7rem, 1.4vw, 1rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.2;
  font-size: 16px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.6s ease 0.28s, opacity 0.6s ease 0.28s;
}

.slide.active .slide-desc {
  transform: translateY(0);
  opacity: 1;
}

/* ===========================
   BUTTON
=========================== */
.slide-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: clamp(4px, 0.8vw, 12px);
  padding: clamp(8px, 1.2vw, 14px) clamp(20px, 3vw, 42px);
  border: 1px solid #ffffff;
  background: rgb(226, 1, 0);
  color: #ffffff;
  font-size: clamp(0.7rem, 1.2vw, 0.95rem);
  font-weight: 500;
  font-size: 13px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.6s ease 0.4s,
    opacity 0.6s ease 0.4s,
    background 0.25s ease,
    color 0.25s ease;
}

.slide.active .slide-btn {
  transform: translateY(0);
  opacity: 1;
  font-weight: 500;
  font-size: 13px;
  border-radius: 6px;
}

.slide-btn:hover {
  background: #ffffff;
  color: #111111;
}

/* ===========================
   ARROWS
=========================== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(233, 0, 0, 0.96);
  border: none;
  color: #ffffff;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  width: clamp(32px, 4vw, 52px);
  height: clamp(32px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  outline: none;
  border-radius: 100%;
  line-height: 1;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.arrow-prev { left: clamp(6px, 1.5vw, 18px); }
.arrow-next { right: clamp(6px, 1.5vw, 18px); }

/* ===========================
   DOTS
=========================== */
.dots {
  position: absolute;
  bottom: clamp(10px, 2vw, 20px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(6px, 1vw, 10px);
  z-index: 10;
}

.dot {
  width: clamp(28px, 5vw, 48px);
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
}

.dot.active {
  background: #1a73e8;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
=========================== */

/* Tablet */
@media (max-width: 768px) {
  .slide-content {
    max-width: 75%;
    padding: 20px 24px;
  }

  .slide-overlay {
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.5) 60%,
      rgba(0,0,0,0.1) 100%
    );
  }
}

/* Mobile */
@media (max-width: 480px) {
  .slider {
    height: clamp(220px, 70vw, 320px);
  }

  .slide-content {
    max-width: 90%;
    padding: 16px 18px;
    gap: 8px;
  }

  .slide-overlay {
    background: rgba(0,0,0,0.55);
  }

  .slide-desc br {
    display: none;
  }

  .arrow {
    display: none; /* hide arrows on very small screens, use swipe */
  }
}
.slide-overlay {
  border-radius: 8px;
}
.slide {
  border-radius: 8px;
}
.slide.active {
  border-radius: 8px;
}


