/* assets/css/style.css */


html, body {
    max-width: 100%;
    overflow-x: hidden; /* Yatay kaydırmayı tamamen kapatır */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
}

/* KART TASARIMI */
.vote-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
}

.vote-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* RESİM ALANI */
.card-img-wrapper {
    height: 300px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #eee; /* Resim yüklenene kadar gri fon */
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position'ı sildik, JS ile vereceğiz */
    transition: transform 0.5s ease, object-position 0.5s ease; /* Geçişi yumuşattık */
}

.vote-card:hover .card-img-wrapper img {
    transform: scale(1.1); /* Hoverda resim hafif büyür */
}

/* OVERLAY (Hover Efekti) */
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 110, 253, 0.6); /* Mavi ton */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.red {
    background: rgba(220, 53, 69, 0.6); /* Kırmızı ton */
}

.vote-card:hover .overlay {
    opacity: 1;
}

/* VS İKONU (ORTA) */
.vs-container {
    z-index: 10;
    margin-top: -20px; /* Mobilde hizalama için */
}

@media (min-width: 768px) {
    .vs-container {
        margin-top: 0;
    }
}

.vs-circle {
    width: 80px;
    height: 80px;
    background: #212529;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-style: italic;
    font-size: 24px;
    margin: 0 auto;
    border: 4px solid #fff;
}