/* Gallery page styles */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    padding: 0 15px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #fff;
}

/* Modal styles */
.modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
}

.modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Responsive styles */
@media (max-width: 992px) {
    .container {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
    
    .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
    
    .carousel-container {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .gallery-item img {
        height: 180px;
    }
    
    .container {
        padding: 10px;
    }
} 