/* Bizim İle Başaranlar - Stil Dosyası */

.basaranlar-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.basaran-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    
}



.basaran-title {
    color: #85754E;
    font-size: 24px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.basaran-kilo {
    background: linear-gradient(135deg, #85754E 0%, #a08d62 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}

.basaran-kilo strong {
    font-weight: 600;
}

/* Before/After Slider Stilleri - YENİ VE ÇALIŞAN */
.basaran-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 10px;
}

.basaran-slider {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio - daha kısa */
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    cursor: ew-resize;
    background: #f0f0f0;
}

.basaran-img-before,
.basaran-img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.basaran-img-after {
    clip-path: inset(0 50% 0 0);
}

.basaran-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.basaran-slider-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.basaran-label-before,
.basaran-label-after {
    position: absolute;
    top: 15px;
    padding: 8px 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
}

.basaran-label-before {
    left: 15px;
}

.basaran-label-after {
    right: 15px;
}

.basaran-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #85754E;
    transform: translateX(-50%);
    z-index: 3;
    cursor: ew-resize;
}

.basaran-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    pointer-events: none;
}

.basaran-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #85754E;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    cursor: ew-resize;
}

.basaran-slider-button svg {
    width: 24px;
    height: 24px;
}

.basaran-excerpt {
    margin: 20px 0;
    color: #555;
    line-height: 1.6;
	font-size:14px;
}

.basaran-button {
    display: inline-block;
    background: #85754E;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.basaran-button:hover {
    background: #6f5f3e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Single Sayfa Stilleri */
.basaran-kilo-single {
    max-width: 500px;
    margin: 0 auto 30px;
}

.basaran-slider-single {
    max-width: 600px;
    margin: 0 auto 40px;
}

.basaran-slider-single .basaran-slider {
    padding-bottom: 75%; /* 4:3 aspect ratio for single page - daha kısa */
}

/* Featured Image Stilleri */
.basaran-featured-image {
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
}

.basaran-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .basaranlar-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .basaran-item {
        padding: 20px;
    }
    
    .basaran-title {
        font-size: 20px;
    }
    
    .basaran-slider-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .basaran-slider-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Admin Stilleri */
.bib-image-upload {
    padding: 10px;
}

.bib-image-upload h4 {
    margin-top: 0;
    color: #85754E;
}

.bib-image-preview img {
    border: 2px solid #ddd;
    border-radius: 5px;
}
