/* Carousel Styles for Event Salons */

.salons-carousel-container {
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    height: 700px;
    position: relative;
    background: #000;
    margin: 6px auto 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.owl-carousel {
    width: 100%;
    height: 100%;
}

.owl-carousel .owl-stage-outer {
    background: #000;
}

.owl-carousel .owl-stage {
    display: flex;
}

.owl-item {
    height: 700px;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 1;
    animation: zoomIn 15s ease-in-out infinite;
}

@keyframes zoomIn {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.carousel-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.carousel-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    color: white;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    text-align: left;
}

.carousel-slide-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 15px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.carousel-slide-location {
    font-size: 20px;
    color: #ddd;
    margin: 0 0 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.carousel-slide-description {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Navigation Buttons */
.carousel-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
    border-radius: 4px;
}

.carousel-nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* Custom Dots */
.carousel-dots-container {
    position: absolute;
    bottom: 20px;
    left: 40px;
    z-index: 5;
    display: flex;
    gap: 15px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 300ms ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 992px) {
    .owl-item {
        height: 500px;
    }

    .carousel-slide-title {
        font-size: 36px;
    }

    .carousel-slide-location {
        font-size: 16px;
    }

    .carousel-slide-description {
        font-size: 14px;
        max-width: 400px;
    }

    .carousel-nav-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .carousel-prev {
        left: 20px;
    }

    .carousel-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .owl-item {
        height: 350px;
    }

    .carousel-slide-title {
        font-size: 28px;
    }

    .carousel-slide-location {
        font-size: 14px;
    }

    .carousel-slide-description {
        font-size: 12px;
        max-width: 300px;
    }

    .carousel-nav-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-dots-container {
        bottom: 15px;
        left: 20px;
        gap: 10px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .salons-carousel-container {
        max-height: 300px;
    }

    .owl-item {
        height: 300px;
    }

    .carousel-slide-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .carousel-slide-location {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .carousel-slide-description {
        font-size: 11px;
        display: none;
    }

    .carousel-slide-content {
        padding: 40px 20px 20px;
    }

    .carousel-nav-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

    .carousel-dots-container {
        bottom: 10px;
        left: 15px;
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* Owl Carousel Default Styles Override */
.owl-carousel .owl-nav {
    display: none !important;
}

.owl-carousel .owl-dots {
    display: none !important;
}

.owl-carousel.owl-loaded {
    display: block;
}

.owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-stage {
    display: block;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .stage {
    -webkit-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    transition: all 600ms ease;
}

.owl-carousel .owl-item {
    -webkit--webkit-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Autoplay Animation */
.carousel-autoplay-indicator {
    position: absolute;
    bottom: 20px;
    right: 40px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-autoplay-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}
