.lightbox-content {
    -webkit-animation: zoom 0.6s;
    -moz-animation: zoom 0.6s;
    -ms-animation: zoom 0.6s;
    -o-animation: zoom 0.6s;
    animation: zoom 0.6s;
}

@-webkit-keyframes zoom {
    from { -webkit-transform: translate(-50%, -50%) scale(0); }
    to { -webkit-transform: translate(-50%, -50%) scale(1); }
}

@-moz-keyframes zoom {
    from { -moz-transform: translate(-50%, -50%) scale(0); }
    to { -moz-transform: translate(-50%, -50%) scale(1); }
}

@keyframes zoom {
    from { transform: translate(-50%, -50%) scale(0); }
    to { transform: translate(-50%, -50%) scale(1); }
}


.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-slider {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    min-width: 300px;
    height: 200px;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item:last-child {
    margin-right: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Navigation Buttons */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Dots Navigation */
.gallery-dots {
    text-align: center;
    margin-top: 20px;
}

.gallery-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-dot.active {
    background: #333;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoom 0.6s;
}

@keyframes zoom {
    from { transform: translate(-50%, -50%) scale(0); }
    to { transform: translate(-50%, -50%) scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    fontSize: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-item {
        min-width: 250px;
        height: 150px;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .lightbox-content {
        width: 95%;
    }
}