.carousel {
    width: 100%;
    max-width: 620px;
    margin: auto;
    height: 250px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 20px;
}

.track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid white;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;

    z-index: 10;
}

.prev {
    left: 10px;
}
.next {
    right: 10px;
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dots button.active {
    background: white;
}

/* Lightbox overlay */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
