/**
 * Overlapping Carousel - Estilos
 */

/* Container Principal */
.oc-carousel-wrapper {
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a4d3a 0%, #2d6b4f 100%);
    overflow: hidden;
    padding: 40px 20px;
}

.oc-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper dos Slides */
.oc-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slide Individual */
.oc-slide {
    position: absolute;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0) scale(0.5);
    opacity: 0;
    z-index: 0;
}

/* Slide Esquerdo */
.oc-slide.left {
    transform: translateX(-65%) scale(0.85);
    opacity: 0.7;
    z-index: 10;
}

/* Slide Central (Ativo) */
.oc-slide.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 30;
}

/* Slide Direito */
.oc-slide.right {
    transform: translateX(65%) scale(0.85);
    opacity: 0.7;
    z-index: 10;
}

/* Slide Escondido */
.oc-slide.hidden {
    transform: translateX(0) scale(0.5);
    opacity: 0;
    z-index: 0;
}

/* Card do Slide */
.oc-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    width: 450px;
    height: 480px;
    box-shadow: 0 20px 60px -15px rgba(26, 77, 58, 0.4);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.oc-slide.active .oc-card {
    width: 500px;
    height: 520px;
    box-shadow: 0 30px 80px -15px rgba(26, 77, 58, 0.6);
}

/* Imagem */
.oc-image {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.oc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oc-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
}

/* Conteúdo */
.oc-content {
    padding: 32px;
}

.oc-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a4d3a;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.oc-content p {
    font-size: 16px;
    color: #5a7a6a;
    line-height: 1.6;
    margin: 0;
}

/* Setas de Navegação */
.oc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.oc-arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.oc-arrow svg {
    color: #1a4d3a;
}

.oc-arrow-left {
    left: 32px;
}

.oc-arrow-right {
    right: 32px;
}

/* Responsivo */
@media (max-width: 1200px) {
    .oc-card {
        width: 400px;
        height: 440px;
    }
    
    .oc-slide.active .oc-card {
        width: 450px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .oc-carousel-wrapper {
        min-height: 500px;
        padding: 20px 10px;
    }
    
    .oc-carousel-container {
        height: 500px;
    }
    
    .oc-card {
        width: 300px;
        height: 380px;
    }
    
    .oc-slide.active .oc-card {
        width: 340px;
        height: 420px;
    }
    
    .oc-slide.left {
        transform: translateX(-75%) scale(0.75);
    }
    
    .oc-slide.right {
        transform: translateX(75%) scale(0.75);
    }
    
    .oc-image {
        height: 240px;
    }
    
    .oc-content {
        padding: 24px;
    }
    
    .oc-content h3 {
        font-size: 22px;
    }
    
    .oc-content p {
        font-size: 14px;
    }
    
    .oc-arrow {
        width: 44px;
        height: 44px;
    }
    
    .oc-arrow-left {
        left: 16px;
    }
    
    .oc-arrow-right {
        right: 16px;
    }
}

@media (max-width: 480px) {
    .oc-card {
        width: 260px;
        height: 340px;
    }
    
    .oc-slide.active .oc-card {
        width: 280px;
        height: 360px;
    }
    
    .oc-image {
        height: 200px;
    }
    
    .oc-content {
        padding: 20px;
    }
    
    .oc-content h3 {
        font-size: 20px;
    }
    
    .oc-content p {
        font-size: 13px;
    }
}
