




/* Resim üzerine geldiğinde yakınlaştırma efekti için */
.image-with-hover-overlay {
    position: relative;
    overflow: hidden;
    
}

.image-with-hover-overlay img {
    transition: transform 0.3s ease;
}

.image-with-hover-overlay:hover img {
    transform: scale(1.1); /* Resmi 1.1 kat büyütür */
    transform-origin: center center; /* Büyütme merkezden yapılır */
}

/* Lightbox CSS */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center; /* Center the content horizontally */
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.lightbox-caption {
    position: absolute;
    top: 20px; /* Distance from the top */
    width: 80%;
    max-width: 700px;
    color: #fff;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    left: 50%; /* Center the caption horizontally */
    transform: translateX(-50%); /* Adjust the position to be truly centered */
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
}

/* Hover durumu */
.whatsapp-float:hover {
    background-color: #1EBEA5;
}

/* WhatsApp ikonunun rengi */
.whatsapp-float i {
    color: white;
}

/* Responsive düzenleme */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 15px;
        right: 15px;
    }
}

@media screen and (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 24px;
        bottom: 10px;
        right: 10px;
    }
}