.sws-photo-gallery {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}
.sws-photo-gallery[data-columns="1"] { grid-template-columns: 1fr; }
.sws-photo-gallery[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.sws-photo-gallery[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.sws-photo-gallery[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1200px) {
    .sws-photo-gallery { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
    .sws-photo-gallery { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .sws-photo-gallery { grid-template-columns: 1fr !important; }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}
.gallery-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}
.gallery-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}
.lightbox-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 0px;
    right: 12px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    text-shadow: 2px 2px 4px #000000;
}
.lightbox-close:hover {
    opacity: 0.7;
}
#lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}
.lightbox-info {
    color: white;
    margin-top: 20px;
}
.lightbox-info h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}
.lightbox-info p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
.lightbox-nav button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}
.lightbox-nav button:hover {
    background: rgba(255,255,255,0.4);
}
#lightbox-prev {
    position: absolute;
    left: 20px;
}
#lightbox-next {
    position: absolute;
    right: 20px;
}