/* Container chính chiếm 100% chiều ngang section */
.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider {
    height: 600px; /* Bạn có thể đổi thành 100vh nếu muốn cao hết màn hình */
    width: 100%;
    position: relative;
    background-color: #000;
}

.slider .list .item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 0.8s ease-in-out;
}

.slider .list .item.active {
    opacity: 1;
    z-index: 1;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nội dung văn bản */
.content {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 500px;
    max-width: 80%;
    z-index: 10;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0,0,0,0.8);
}

.content h2 {
    font-size: 3rem;
    margin: 0;
	color: #FFFFFF;
    transform: translateY(30px);
    filter: blur(10px);
    opacity: 0;
}

.content p {
    margin: 20px 0;
    transform: translateY(30px);
    filter: blur(10px);
    opacity: 0;
}

/* Hiệu ứng chữ khi Active */
.item.active .content h2 {
    animation: showContent 0.5s 0.3s forwards;
}
.item.active .content p {
    animation: showContent 0.5s 0.4s forwards;
}

@keyframes showContent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

/* Nút bấm Next/Prev */
.arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 20;
    transform: translateY(-50%);
}

.arrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.arrows button:hover {
    background: #fff;
    color: #000;
}

/* Thumbnail nhỏ bằng 50% bản cũ */
.thumbnail {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.thumbnail .item {
    width: 75px;  /* Giảm xuống còn 75px */
    height: 50px; /* Tỉ lệ ngang nhỏ gọn */
    opacity: 0.5;
    transition: 0.5s;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

.thumbnail .item.active {
    opacity: 1;
    border: 2px solid #fff;
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}