.og-gallery-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    grid-gap: 15px !important;
    width: 100%;
}

.og-gallery-item {
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.og-gallery-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.og-gallery-item:hover { transform: scale(1.02); }

/* Lightbox Overlay */
.og-lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.95);
    display: flex; justify-content: center; align-items: center; 
    z-index: 999999;
    opacity: 0; visibility: hidden; transition: 0.3s;
}

.og-lightbox-overlay.active { opacity: 1; visibility: visible; }

.og-lightbox-overlay img { 
    max-width: 90%; max-height: 85vh; 
    object-fit: contain;
    border: 4px solid #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Navigasyon ve Kapatma */
.og-nav-btn, .og-close {
    position: absolute; background: none; border: none; color: #fff; 
    cursor: pointer; opacity: 0.8; transition: 0.3s; z-index: 1000000;
}

.og-nav-btn:hover, .og-close:hover { opacity: 1; transform: scale(1.1); }

.og-nav-btn { top: 50%; font-size: 50px; transform: translateY(-50%); padding: 20px; }
.og-prev { left: 20px; }
.og-next { right: 20px; }
.og-close { top: 20px; right: 30px; font-size: 45px; }

@media (max-width: 768px) {
    .og-gallery-container { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; }
    .og-nav-btn { font-size: 30px; padding: 10px; }
}