/* Carousel Styles */
.carousel-container {
    position: relative;
    height: 500px;
    /* Adjust based on content */
    width: 100%;
    margin: 0 auto;
    max-width: 900px;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 350ms ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.slide-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    /* Reset glass panel padding for image content */
}

.slide-image {
    flex: 2;
    overflow: hidden;
    background: #000;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.slide-image img:hover {
    transform: scale(1.02);
}

.slide-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.slide-info h3 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

/* Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-button:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(20, 241, 149, 0.4);
}

.carousel-button--left {
    left: -60px;
}

.carousel-button--right {
    right: -60px;
}

.carousel-button.is-hidden {
    display: none;
}

/* Nav Indicators */
.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    gap: 0.75rem;
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-indicator.current-slide {
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(20, 241, 149, 0.4);
}

@media(max-width: 1024px) {
    .carousel-button--left {
        left: 10px;
    }

    .carousel-button--right {
        right: 10px;
    }

    .slide-info {
        padding: 1.5rem;
    }

    .carousel-container {
        height: 450px;
    }
}