/* Custom Statements Slider Styles */
.statements-slider-container {
    margin: 0 auto;
    position: relative;
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
}

.statements-slider {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    height: 700px; /* Changed from min-height to height */
    display: flex;
    align-items: center;
}

.slider-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%; /* Added height to ensure children can inherit properly */
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform;
    height: 100%; /* Added height to ensure children can inherit properly */
}

.statement-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.statement-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.statement-image {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.statement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Improve image quality */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
    /* Ensure smooth scaling */
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.statement-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.image-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.image-placeholder p {
    margin: 10px 0 0 0;
    font-size: 0.9rem;
}

.statement-text {
    width: 50%;
    height: 100%; 
    color: white;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    gap: 20px;
    padding: 100px 200px 100px 100px;
}

.statement-quote {
    font-size: 18px;    
    line-height: 1.6;
    margin: 0 0 30px 0;
    position: relative;
    font-weight: 300;    
    font-family: "Gentona" !important;
}

.statement-author {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.author-name {
    font-size: 1.5rem;
    font-family: "Gentona" !important;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: white;
}

.author-lead {
    font-size: 30px;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;    
    font-family: "Kunstuff" !important;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

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

.slider-arrow-left {
    left: 110px;
    z-index: 1;
}

.slider-arrow-right {
    right: 110px;
    z-index: 0;
}

.slider-arrow svg {
    color: #666;
    transition: color 0.3s ease;
}

.slider-arrow:hover svg {
    color: #333;
}



/* Responsive Design */
@media (max-width: 768px) {
    .statements-slider {
        height: auto;
        display: flex;
        flex: 1;
    }
    
    .statements-slider-container {
        padding: 0;
        width: 100%;
    }
    
    .slider-wrapper {
        padding: 0;
        width: 100%;
        flex: 1;
    }
    
    .slider-track {
        width: 100%;
        height: auto;
    }
    
    .statement-slide {
        padding: 0;
        align-items: stretch;
        width: 100%;
        min-width: 100%;
    }
    
    .statement-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        height: auto;
        padding: 40px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .statement-image {
        width: 100%;
        /* max-width: 300px; */
        height: 300px;
        margin: 0 auto;
        order: -1; /* Ensure image appears first (top) */
    }
    
    .statement-image img {
        border-radius: 8px;
    }
    
    .statement-text {
        width: 100%;
        height: auto;
        padding: 20px;
        order: 0; /* Text appears second (bottom) */
        box-sizing: border-box;
    }
    
    .statement-quote {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    
    .author-name {
        font-size: 1.3rem;
    }
    
    .author-lead {
        font-size: 1.1rem;
    }
    
    .slider-arrow {
        display: none; /* Hide navigation buttons on mobile */
    }
}

@media (max-width: 480px) {
    .statements-slider {
        flex: 1;
    }
    
    .statement-content {
        padding: 0;
        gap: 25px;
        width: 100%;
    }
    
    .statement-image {
        width: 100%;
        height: 350px;
        width: 100%;
    }
    
    .statement-text {
        width: 100%;
        padding: 15px;
    }
    
    .statement-quote {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .author-name {
        font-size: 1.2rem;
    }
    
    .author-lead {
        font-size: 25px;
    }
    
    .slider-wrapper {
        padding: 0;
        width: 100%;
    }
    
    .slider-arrow {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important; /* Hide navigation buttons on small mobile */
    }
}

/* Loading state */
.statements-slider-container.loading {
    opacity: 0.7;
}

.statements-slider-container.loading .slider-arrow {
    pointer-events: none;
}

/* Accessibility */
.slider-arrow:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

/* Animation for slide transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.statement-slide.active {
    animation: slideIn 0.5s ease-out;
} 