.photo-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
}

.carousel-window {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Arrow buttons */

.carousel-button {
    position: absolute;
    top: 50%;
    z-index: 10;

    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);
    color: white;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    transition: background 0.2s ease;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

@media (max-width: 700px) {
    .carousel-slide img {
        height: 300px;
    }

    .carousel-button {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}
