

.gallery {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
    animation: slideUp 1s forwards;
     
    -webkit-animation: slideUp 1s forwards;
}

.photo-card {
    
    overflow: hidden;
    animation: slideUp 1s forwards;
    
    -webkit-animation: slideUp 1s forwards;
    
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
   
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; 
    
}

.photo-card .detail {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transition: bottom 0.3s ease-in-out;
}

.photo-card:hover .detail{
    bottom: 0;
}

.photo-card:hover {
    transform: scale(1);
    box-shadow: 0 8px 16px rgba(255, 0, 0, 0.3);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görselin kart içerisine sığması için */
    display: block;
    transition: transform 0.5s ease;
}

.photo-card:hover img {
    transform: scale(1.1);
}



.photo-card video {
    display: flex;
    flex-wrap: wrap;
    width: 500px;
    height: 400px;
    border-radius: 10px;
    object-fit: cover; /* Videoyu kart içine sığdır */
}

.modal video, .modal img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}




.modal {
    display: none; /* Başlangıçta görünmez */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}



.modal-content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 95%;
}

.modal-caption {
    text-align: center;
    color: #fff;
    padding: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
}








.photo-card2 {
    flex: 550px; /* Kart genişliği ve boyutu */
    max-width: 550px; /* Kart genişliğini sabitle */
    overflow: hidden;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Tıklanabilir göstermek için */
}

.photo-card2 .detail {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transition: bottom 0.3s ease-in-out;
}

.photo-card2:hover .detail{
    bottom: 0;
}

.photo-card2:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 0, 0, 0.3);
}

.photo-card2 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görselin kart içerisine sığması için */
    display: block;
    transition: transform 0.5s ease;
    
}

.photo-card2:hover img {
    transform: scale(1.1);
}


