.image-wrapper {
    display: block;
    text-decoration: none;
}

.image-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 oranı için */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    background-color: #f5f5f5;
    background-size: cover; /* Arka planın tamamen sığmasını sağlar */
    background-position: center; /* Arka planın ortalanmasını sağlar */
    background-image: url('path_to_image.jpg'); /* Burada görselin yolunu belirleyin */
}


.image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görselin alanı tamamen kaplaması için */
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #fff;
}


.image-box:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.image-box:hover .overlay {
    opacity: 1;
}

.overlay i {
    color: #fff;
    font-size: 28px;
}

.hover-dropdown .dropdown-menu {
    left: 0;
    right: auto;
}