/* Hook Vertical Roller Slider */
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface');
@import url('https://fonts.googleapis.com/css?family=Roboto:500');

.hook-roller-slider {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background-color: black;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1em;
}

.hook-roller-slider html, 
.hook-roller-slider body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hook-roller-slider body {
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1em;
  background-color: black;
}

#slides {
  position: absolute;
  top: 17%;
  left: 10%;
  right: 48%;
  bottom: 17%;
  overflow: hidden;
}

#slides .click-down {
  position: absolute;
  z-index: 1;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-color: white;
  display: block;
  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  bottom: 15px;
  left: 15px;
}

#slides ul {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

#slides ul li {
  position: relative;
  width: 100%;
  height: 100%;
}

#slides ul li:nth-child(1) {
  background-color: #131313;
}

#slides ul li:nth-child(2) {
  background-color: #262626;
}

#slides ul li:nth-child(3) {
  background-color: #393939;
}

#slides ul li:nth-child(4) {
  background-color: #262626;
}

#slides ul li:nth-child(5) {
  background-color: #131313;
}

ul#steps {
  position: absolute;
  top: 50%;
  left: 20%;
  height: 110px;
  margin-top: -55px;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

ul#steps li {
  position: relative;
  height: 100%;
  color: #999;
  font-family: 'Abril Fatface', serif;
  font-size: 48px;
  line-height: 110px;
  cursor: pointer;
  transform: translate3d(0,0,0);
  transition: color 666ms cubic-bezier(0.666, 0.000, 0.333, 1.000), 
              font-size 666ms cubic-bezier(0.666, 0.000, 0.333, 1.000);
  user-select: none;
}

ul#steps li.active {
  color: #bf482c;
  font-size: 96px;
}

#titles {
  position: absolute;
  top: 50%;
  left: 40%;
  width: 60%;
  height: 330px;
  margin-top: -165px;
  padding: 110px 0;
}

#titles ul {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

#titles li {
  position: relative;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0,0,0);
  transition: visibility 0ms linear 666ms, 
              opacity 666ms cubic-bezier(0.666, 0.000, 0.333, 1.000);
}

#titles li.active {
  visibility: visible;
  opacity: 1;
  transition: visibility 0ms linear, 
              opacity 666ms cubic-bezier(0.666, 0.000, 0.333, 1.000);
}

#titles li h2 {
  height: 110px;
  font-family: 'Abril Fatface', serif;
  font-size: 96px;
  display: block;
  margin: 0;
  line-height: 110px;
  color: white;
}

#titles li p {
  height: 110px;
  color: #999;
  margin: 0;
  line-height: 110px;
  font-size: 18px;
}

#titles li .slide-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #bf482c;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#titles li .slide-link:hover {
  background-color: #a03a24;
  transform: translateY(-2px);
}

.roller {
  transform: translate3d(0,0%,0);
  transition: transform 666ms cubic-bezier(0.666, 0.000, 0.333, 1.000);
}

/* Responsive Design */
@media (max-width: 768px) {
  #slides {
    top: 10%;
    left: 5%;
    right: 60%;
    bottom: 10%;
  }
  
  ul#steps {
    left: 15%;
    height: 80px;
    margin-top: -40px;
  }
  
  ul#steps li {
    font-size: 36px;
    line-height: 80px;
  }
  
  ul#steps li.active {
    font-size: 72px;
  }
  
  #titles {
    left: 35%;
    width: 65%;
    height: 280px;
    margin-top: -140px;
    padding: 80px 0;
  }
  
  #titles li h2 {
    height: 80px;
    font-size: 72px;
    line-height: 80px;
  }
  
  #titles li p {
    height: 80px;
    line-height: 80px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #slides {
    top: 5%;
    left: 2%;
    right: 70%;
    bottom: 5%;
  }
  
  ul#steps {
    left: 10%;
    height: 60px;
    margin-top: -30px;
  }
  
  ul#steps li {
    font-size: 28px;
    line-height: 60px;
  }
  
  ul#steps li.active {
    font-size: 56px;
  }
  
  #titles {
    left: 30%;
    width: 70%;
    height: 240px;
    margin-top: -120px;
    padding: 60px 0;
  }
  
  #titles li h2 {
    height: 60px;
    font-size: 56px;
    line-height: 60px;
  }
  
  #titles li p {
    height: 60px;
    line-height: 60px;
    font-size: 14px;
  }
  
  #slides .click-down {
    width: 25px;
    height: 25px;
    bottom: 10px;
    left: 10px;
  }
}

/* Loading Animation */
.hook-roller-slider.loading {
  animation: sliderLoad 0.5s ease-in-out;
}

@keyframes sliderLoad {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Smooth scrolling for better performance */
.hook-roller-slider {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
ul#steps li:focus {
  outline: 2px solid #bf482c;
  outline-offset: 2px;
}

#slides .click-down:focus {
  outline: 2px solid #bf482c;
  outline-offset: 2px;
} 