/* =========================
   FULL-SCREEN CINEMATIC SLIDER
========================= */

.slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Each slide */
.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: opacity 1s ease-in-out, transform 1.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

/* Active slide */
.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* DARK CINEMATIC OVERLAY */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.35)
    ),
    rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Slide content */
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 30px;
  animation: floatText 6s ease-in-out infinite;
  opacity: 1;

  /* extra readability boost */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Floating animation */
@keyframes floatText {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Text animation */
.slide-content h1,
.slide-content p,
.slide-content .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Heading */
.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  font-family: 'League Spartan' !important;
}

/* Paragraph */
.slide-content p {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Subtitle */
.subtitle {
  font-size: 1.2rem !important;
  color: #e6ad00 !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Primary button */
.slide-content .btn {
  display: inline-block;
  padding: 10px 35px;
  font-family: 'rubik', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  background: #d1a84b;
  color: #111;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-content .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Secondary button */
.slide-content .btn2 {
  display: inline-block;
  padding: 8px 20px;
  font-size: 1.2rem;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  text-decoration: none;
}

/* Navigation arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s ease;
  z-index: 3;
}

.slider-nav:hover {
  background: rgba(0,0,0,0.6);
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 1024px){
  .slide-content h1 { font-size: 3rem; }
  .slide-content p { font-size: 1.5rem; }
  .slide-content .btn { font-size: 1rem; padding: 12px 25px; }
  .slider-nav { font-size: 2.5rem; }
}

@media screen and (max-width: 768px){
  .slide-content h1 { font-size: 2.2rem; }
  .slide-content p { font-size: 1.1rem; }
  .slide-content .btn { font-size: 1rem; padding: 10px 20px; }
  .slider-nav { font-size: 2rem; }
}