/**
 * Muge Gallery - Minimal Lightbox Stilleri
 *
 * Fotoğraf odaklı, minimal lightbox tasarımı.
 *
 * @package Muge_Gallery
 */

/* ==========================================================================
   Lightbox Ana Yapı
   ========================================================================== */
.muge-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.muge-lightbox.active {
    display: flex;
    opacity: 1;
}

/* Overlay */
.muge-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

/* Container */
.muge-lightbox-container {
    position: relative;
    z-index: 1;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Kontroller - Minimal
   ========================================================================== */
.muge-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.muge-lightbox-close:hover {
    color: #fff;
}

.muge-lightbox-prev,
.muge-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.muge-lightbox-prev {
    left: 20px;
}

.muge-lightbox-next {
    right: 20px;
}

.muge-lightbox-prev:hover,
.muge-lightbox-next:hover {
    color: #fff;
}

.muge-lightbox-prev:disabled,
.muge-lightbox-next:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* ==========================================================================
   İçerik - Minimal
   ========================================================================== */
.muge-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 90vh;
}

.muge-lightbox-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

.muge-lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.muge-lightbox-image.loaded {
    opacity: 1;
}

/* Loader */
.muge-lightbox-loader {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 1px;
}

.muge-lightbox-image.loaded + .muge-lightbox-loader {
    display: none;
}

/* ==========================================================================
   Bilgi Paneli - Minimal
   ========================================================================== */
.muge-lightbox-info {
    padding: 20px;
    color: #fff;
    text-align: center;
    max-width: 600px;
}

.muge-lightbox-title {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 0 5px;
}

.muge-lightbox-description {
    font-size: 11px;
    opacity: 0.6;
    margin: 0 0 8px;
    line-height: 1.6;
}

.muge-lightbox-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 10px;
    opacity: 0.4;
}

.muge-lightbox-location::before,
.muge-lightbox-date::before {
    display: none;
}

/* ==========================================================================
   Tekil Sayfa - Minimal
   ========================================================================== */
.muge-single-photo {
    background: #fff;
}

.muge-single-hero {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    max-height: 80vh;
    overflow: hidden;
}

.muge-single-image-container {
    position: relative;
    display: inline-block;
}

.muge-single-image-container a {
    display: block;
    cursor: zoom-in;
}

.muge-single-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.muge-zoom-hint {
    display: none;
}

.muge-no-image {
    color: #888;
    text-align: center;
    padding: 80px;
    font-size: 11px;
}

/* ==========================================================================
   Tekil İçerik - Minimal
   ========================================================================== */
.muge-single-content {
    padding: 40px 0 60px;
}

.muge-single-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
}

.muge-single-header {
    margin-bottom: 25px;
}

.muge-single-title {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #222;
}

.muge-single-location,
.muge-single-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 11px;
    margin: 0 0 6px;
}

.muge-single-location a {
    color: #222;
    text-decoration: none;
}

.muge-single-location a:hover {
    text-decoration: underline;
}

.muge-single-description {
    font-size: 12px;
    line-height: 1.8;
    color: #555;
}

/* Koleksiyon Etiketleri */
.muge-single-collections {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.muge-single-collections h3 {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin: 0 0 12px;
}

.muge-collection-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.muge-collection-tag {
    padding: 6px 12px;
    border: 1px solid #eee;
    color: #222;
    font-size: 10px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.muge-collection-tag:hover {
    border-color: #222;
    color: #222;
}

/* ==========================================================================
   Yan Panel - Minimal
   ========================================================================== */
.muge-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.muge-info-box {
    padding: 0;
}

.muge-info-box h3 {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.muge-info-list {
    margin: 0;
}

.muge-info-list dt {
    font-size: 10px;
    color: #aaa;
    margin-bottom: 2px;
}

.muge-info-list dd {
    margin: 0 0 10px;
    font-size: 11px;
    color: #222;
}

.muge-info-list dd:last-child {
    margin-bottom: 0;
}

/* Mini Harita */
.muge-mini-map {
    height: 180px;
    overflow: hidden;
}

.muge-map-coords {
    margin: 8px 0 0;
    font-size: 10px;
    color: #aaa;
}

/* Paylaşım */
.muge-share-buttons {
    display: flex;
    gap: 8px;
}

.muge-share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    border: 1px solid #eee;
    font-size: 12px;
    transition: all 0.2s ease;
}

.muge-share-btn:hover {
    border-color: #222;
    color: #222;
}

.muge-share-facebook,
.muge-share-twitter,
.muge-share-pinterest {
    background: transparent;
}

/* ==========================================================================
   Navigasyon - Minimal
   ========================================================================== */
.muge-single-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.muge-nav-prev,
.muge-nav-next {
    flex: 1;
    padding: 12px 0;
    text-decoration: none;
    color: #222;
    transition: opacity 0.2s ease;
}

.muge-nav-prev {
    text-align: left;
}

.muge-nav-next {
    text-align: right;
}

.muge-nav-prev:hover,
.muge-nav-next:hover {
    opacity: 0.6;
}

.muge-nav-disabled {
    visibility: hidden;
}

.muge-nav-arrow {
    font-size: 14px;
    color: #aaa;
}

.muge-nav-label {
    display: block;
    font-size: 9px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.muge-nav-title {
    display: block;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.muge-nav-back {
    padding: 10px 20px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #222;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s ease;
}

.muge-nav-back:hover {
    border-color: #222;
}

/* ==========================================================================
   İlgili Fotoğraflar - Minimal
   ========================================================================== */
.muge-related-photos {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.muge-related-photos h2 {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .muge-single-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .muge-single-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .muge-info-box {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .muge-lightbox-prev,
    .muge-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .muge-lightbox-prev {
        left: 10px;
    }

    .muge-lightbox-next {
        right: 10px;
    }

    .muge-lightbox-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .muge-lightbox-image {
        max-height: 70vh;
    }

    .muge-lightbox-info {
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        max-width: 100%;
    }

    .muge-lightbox-title {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .muge-lightbox-description {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .muge-single-title {
        font-size: 13px;
    }

    .muge-single-nav {
        flex-direction: column;
        gap: 12px;
    }

    .muge-nav-prev,
    .muge-nav-next,
    .muge-nav-back {
        width: 100%;
        text-align: center;
    }

    .muge-nav-title {
        max-width: none;
    }

    .muge-info-box {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .muge-single-hero {
        min-height: 50vh;
    }

    .muge-single-image {
        max-height: 60vh;
    }

    .muge-lightbox-info {
        padding: 10px 12px;
    }

    .muge-lightbox-title {
        font-size: 11px;
    }

    .muge-lightbox-description {
        font-size: 10px;
    }

    .muge-lightbox-meta {
        flex-direction: column;
        gap: 2px;
        font-size: 9px;
    }

    .muge-lightbox-meta span {
        display: block;
        line-height: 1.4;
    }

    .muge-single-content {
        padding: 30px 0 40px;
    }
}
