@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    font-family: Poppins;
    margin: 0;
    background-color: #010101;
    color: #eee;
}
svg{
    width: 25px;
}
header{
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}
header .logo{
    font-weight: bold;
}
header .menu{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 100px;
    font-weight: 500;
}

header .menu li a {
    color: white;
    text-decoration: none; /* optional: removes underline */
}

/* css slider */
.slider{
    height: 114vh;
    margin-top: -150px;
    position: relative;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(
        to top, #000 40%, transparent
    );
}
.slider .list .item .content{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list .item .content h2{
    font-size: 100px;
    margin: 0;
}
.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
}
.arrows button{
    background-color: #eee5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
}
.arrows button:hover{
    background-color: #eee;
    color: black;
}
.thumbnail{
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 150px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 73px;
    height: 120px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item.active{
    filter: brightness(1.5);
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}


/* Custom Modern Scrollbar */
::-webkit-scrollbar {
  width: 10px;              /* scrollbar width */
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05); /* transparent track */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #06ffc1, #00faff); /* neon gradient */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(5, 192, 176, 0.7);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00faff, #34f092);
  box-shadow: 0 0 15px rgba(0, 250, 255, 0.9);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #04ffab #1a1a1a;
}

/* Responsive */

/* =========================
   RESPONSIVE MOBILE + TABLETS
   ========================= */

/* Small phones (up to 480px) */
@media screen and (max-width: 480px) {
  header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 10px;
  }
  header .menu {
    gap: 20px;
    font-size: 12px;
  }
  .slider .list .item .content h2 {
    font-size: 40px;
  }
  .slider .list .item .content {
    width: 90%;
    left: 5%;
    top: 15%;
  }
  .arrows {
    right: 20px;
    top: 15%;
  }
  .thumbnail {
    height: 230px;
    width: 100%;
    padding: 0 20px;
    justify-content: flex-start;
  }
  .thumbnail .item {
    width: 75px;
    height: 100px;
  }
}

/* Medium phones (481px – 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
  header {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }
  header .menu {
    gap: 40px;
    font-size: 14px;
  }
  .slider .list .item .content h2 {
    font-size: 55px;
  }
  .slider .list .item .content {
    width: 85%;
    left: 8%;
    top: 18%;
  }
  .arrows {
    right: 30px;
    top: 25%;
  }
  .thumbnail {
    height: 120px;
    padding: 0 30px;
  }
  .thumbnail .item {
    width: 65px;
    height: 100px;
  }
}

/* Tablets (768px – 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  header {
    width: 100%;
    max-width: 95%;
    padding: 0 20px;
  }
  header .menu {
    gap: 60px;
    font-size: 16px;
  }
  .slider .list .item .content h2 {
    font-size: 70px;
  }
  .slider .list .item .content {
    width: 70%;
    left: 15%;
    top: 20%;
  }
  .arrows {
    right: 40px;
    top: 28%;
  }
  .thumbnail {
    height: 130px;
    padding: 0 40px;
  }
  .thumbnail .item {
    width: 70px;
    height: 110px;
  }
}
