/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

/* Background com Gradiente */
.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsl(215, 30%, 25%) 0%, hsl(215, 25%, 40%) 100%);
    z-index: 1;

}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    /* opacity: 0.4;
    mix-blend-mode: luminosity; */
}


/* Carousel Content */
.carousel-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 6rem;
    padding-right: 6rem;
}

/* Slides */
.slides-wrapper {
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.slide {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: translateX(20px);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0);
}

.slide-info {
    color: hsl(0, 0%, 100%);
    max-width: 800px;
}

/* Typography */
.slide-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.slide-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

/* Meta Information */
.slide-meta {
    display: flex;
    flex-wrap: wrap;
    /* gap: 2rem; */

}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 300;
}

.meta-item span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 300;
}

.icon {
    width: 20px;
    height: 20px;
    color: hsl(50, 100%, 50%);
    flex-shrink: 0;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: hsla(0, 0%, 100%, 0.0);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    /* backdrop-filter: blur(10px); */
}

.nav-arrow:hover {
    background: hsla(0, 0%, 100%, 0.2);
    border-color: hsla(0, 0%, 100%, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-arrow.prev {
    left: 2rem;
}

.nav-arrow.next {
    right: 2rem;
}

.nav-arrow svg {
    width: 100px;
    height: 100px;
    color: hsl(0, 0%, 100%);
    cursor: pointer;



}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    transform: translateY(-50%) scale(1);
    background: hsla(0, 0%, 100%, 0.1);
}

/* Navigation Dots */
.dots-container {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: hsla(0, 0%, 100%, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: hsla(0, 0%, 100%, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: hsl(50, 100%, 50%);
    width: 32px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-content {
        padding: 1.5rem;
    }

    .slide-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .slide-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-arrow {
        width: 44px;
        height: 44px;
    }

    .nav-arrow.prev {
        left: 1rem;
    }

    .nav-arrow.next {
        right: 1rem;
    }

    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }

    .dots-container {
        bottom: 2rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.75rem;
    }

    .slide-subtitle {
        font-size: 0.9rem;
    }

    .meta-item {
        font-size: 0.85rem;
    }

    .icon {
        width: 18px;
        height: 18px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .nav-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}