/* Content Card Carousel Section */
.card-section {
    position: relative; /* Ensure this is relative for absolute positioning of grapes */
    min-height: 100vh;
    background-color: var(--bordeaux);
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent scrollbars from animated grapes */
}

.card-carousel-container {
    position: relative;
    width: 85%;
    height: 80vh;
    max-width: 1200px;
    overflow: hidden;
}

.card-carousel {
    display: flex;
    transition: transform 0.5s ease-out;
    height: 100%;
}

.content-card {
    flex: 0 0 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    padding: 2rem;
    margin: 0 20px;
}

.video-area {
    flex: 0 0 33.333%;
    height: 100%;
    padding-right: 2rem;
    display: flex;
    align-items: center;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 9/16;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    overflow: hidden;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-area {
    flex: 0 0 66.666%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-area h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-top: 0;
}

.content-area .subtitle {
    font-style: italic;
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.content-area .description {
    color: var(--white);
    line-height: 1.6;
    font-size: 1.1rem;
    width: 80%;
}

/* Carousel Navigation Arrows - Fixed Positioning */
.carousel-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: var(--bordeaux);
}

/* Repositioned to the sides of the screen */
.carousel-arrow.prev {
    position: absolute;
    left: 5vw;
}

.carousel-arrow.next {
    position: absolute;
    right: 5vw;
}
