@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');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: #090A20;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
    background-color: #000000;
    color: #CF621B;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

svg{
    width: 25px;
}

/* css slider */
.slider{
    height: 100vh;
    margin-top: -50px;
    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
    );
    transition: background-image 0.3s ease;
}

body.dark .slider .list .item::after {
    background-image: linear-gradient(
        to top, #000 50%, transparent
    );
}

.slider .list .item .content{
    position: absolute;
    left: 10%;
    top: 11%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
    color: #fff;
    transition: color 0.3s ease;
}

body.dark .slider .list .item .content p:nth-child(1) {
    color: #CF621B;
}

.slider .list .item .content h2{
    font-size: 80px;
    margin: 0;
    color: #fff;
    transition: color 0.3s ease;
}

body.dark .slider .list .item .content h2 {
    color: #CF621B;
}

.slider .list .item .content p:nth-child(3){
    color: #fff;
    transition: color 0.3s ease;
}

body.dark .slider .list .item .content p:nth-child(3) {
    color: rgba(207, 98, 27, 0.9);
}

.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: #CF621B;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
    border: 1px solid rgba(207, 98, 27, 0.5);
}

body.dark .arrows button {
    background-color: #CF621B;
    color: #000;
    border: 1px solid rgba(207, 98, 27, 0.7);
    box-shadow: 0 2px 8px rgba(207, 98, 27, 0.3);
}

.arrows button:hover{
    background-color: #cf631ba5;
    color: black;
    transform: scale(1.1);
}

body.dark .arrows button:hover {
    background-color: #E9722C;
    color: #000;
    box-shadow: 0 4px 12px rgba(207, 98, 27, 0.5);
}

.thumbnail{
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 250px;
    padding: 10px 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
}

body.dark .thumbnail .item {
    border: 2px solid rgba(207, 98, 27, 0.3);
}

.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.thumbnail .item.active{
    filter: brightness(1.5);
    border-color: #CF621B;
    transform: scale(1.05);
}

body.dark .thumbnail .item.active {
    filter: brightness(1.2);
    border-color: #CF621B;
    box-shadow: 0 5px 15px rgba(207, 98, 27, 0.4);
}

.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    transition: color 0.3s ease;
}

body.dark .thumbnail .item .content {
    color: #CF621B;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}

.thumbnail .item:hover {
    filter: brightness(1.2);
    transform: translateY(-5px);
}

body.dark .thumbnail .item:hover {
    filter: brightness(1.1);
    border-color: #E9722C;
    box-shadow: 0 5px 15px rgba(207, 98, 27, 0.3);
}

@media screen and (max-width: 678px) {
    .thumbnail{
        justify-content: start;
    }
    .slider .list .item .content h2{
        font-size: 60px;
    }
    .arrows{
        top: 10%;
    }
}

/* Estilos base del botón */
.slider-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #CF621B;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.2);
}

body.dark .slider-btn {
    background: #CF621B;
    color: #000;
    border: 2px solid rgba(207, 98, 27, 0.5);
    box-shadow: 0 2px 8px rgba(207, 98, 27, 0.3);
}

/* Animación al activar el slide */
.slider .list .item.active .slider-btn {
    animation: showContent 0.5s 1.7s forwards;
}

/* Hover effects */
.slider-btn:hover {
    background: #B35215;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207, 98, 27, 0.4);
}

body.dark .slider-btn:hover {
    background: #E9722C;
    color: #000;
    box-shadow: 0 5px 15px rgba(207, 98, 27, 0.6);
    border-color: rgba(207, 98, 27, 0.7);
}

/* Versión móvil */
@media (max-width: 678px) {
    .slider-btn {
        padding: 10px 25px;
        font-size: 0.8rem;
        margin-top: 15px;
    }
}

/* Efectos adicionales para modo oscuro */
body.dark .slider .list .item .content {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

body.dark .thumbnail .item.active .content {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
}