.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    z-index: 500;
}
.carouselInner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carouselItem {
    min-width: 100%;
    height: 100vh;
    position: relative;
}
.carouselItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(75%);
}

.carouselCaption {
    position: absolute;
    bottom: 100px;
    left: 100px;
    right: 100px;
    text-align: left;
    color: white;

    max-width: 900px;
    
    background-color: #0000007e;
    box-shadow: 0 0 10px black;
    padding: 20px;
    border-radius: 20px;

    transition: background-color 0.25s;
}
.carouselCaption:hover {
    background-color: #000000bf;
}
.carouselCaption .heading {
    font-size: 2rem;
}
.carouselCaption p {
    font-size: 1.25rem;
    text-shadow: 0 0 10px black;
}
.carouselCaption .btn {
    display: inline-block;
    margin-top: 5px;
    padding: 10px 20px;
    background-color: #b79027;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    transition-duration: 0.25s;
}
.btn:hover {
    background-color: transparent;
    box-shadow: 0 0 10px white;
}

.carouselPrev, .carouselNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #272624;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.carouselPrev {
    left: 0;
    padding: 20px;
    border-radius: 0 20px 20px 0;
    transition-duration: 0.25s;
}
.carouselPrev:hover {
    padding-left: 30px;
}
.carouselPrev:active {
    padding-left: 40px;
}
.carouselNext {
    right: 0;
    padding: 20px;
    border-radius: 20px 0 0 20px;
    transition-duration: 0.25s;
}
.carouselNext:hover {
    padding-right: 30px;
}
.carouselNext:active {
    padding-right: 40px;
}

.carouselIndicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 20px;
    padding: 10px;
    background-color: #b79027;
    border-radius: 20px;
}
.carouselDot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}
.carouselDot.active {
    background-color: #786a3d;
}

@media (max-width: 768px) {
    .carouselCaption .heading {
        font-size: 2rem;
    }
    .carouselCaption p {
        font-size: 1rem;
    }
    .carouselCaption {
        position: absolute;
        bottom: 50%;
        left: 0;
        transform: translateY(50%);
        padding: 20px 60px;
        width: calc(100% - 120px);
        border-radius: 0;
        text-align: center;
        color: white;
    }
}