/* Fundalul care blochează tot site-ul */
.flc-modal {
    position: fixed;
    z-index: 999999; /* Foarte sus pentru a acoperi orice meniu */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none; /* Controlat prin JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Containerul pentru imagine și elemente */
.flc-content {
    position: relative;
    width: 80vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Imaginea la 80% din ecran, proporțională */
#flc-full-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Titlul imaginii sub poză */
#flc-caption {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin-top: 15px;
    text-align: center;
    width: 100%;
    font-weight: normal;
}

/* Navigarea în colțuri sub titlu */
.flc-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.flc-nav button {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.flc-nav button:hover {
    background: #ffffff;
    color: #000000;
}

/* Butonul de închidere X */
.flc-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000000;
}

.flc-close:hover {
    color: #bbb;
}