/* Modal arka planı */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* Popup kutusu */
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    width: 300px;
    position: relative;
    text-align: center;
}

/* Kapatma butonu (X) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.close-btn:hover {
    color: #000;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding-top: 30px;
    background-color: #fff;
    padding-left: 4rem;
    padding-right: 4rem;
}

h1 {
    color: #2c2370;
    font-size: 24px;
    margin: 30px 0;
}

.logo {
    width: 380px;
    margin-top: 50px;
}

.pdf_logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.video_logo {
    width: 240px;
    height: auto;
    object-fit: contain;
}

.folder-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.folder {
    width: 150px;
    text-align: center;
    text-decoration: none;
    color: #2c2370;
}

.folder img {
    width: 150px;
    height: auto;
}

.folder-name {
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #2c2370;
}

.img_grup {
    align-content: center;
    height: 150px;
    border: gray;
    border-width: 0.1px;
    border-style: solid;
    box-shadow: 3px 4px lightgray;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}

.video_grup {
    align-content: center;
    height: 240px;
    border: gray;
    border-width: 0.1px;
    border-style: solid;
    box-shadow: 3px 4px lightgray;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}

/* Lightbox styles */
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 4px;
}

#closeBtn {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

#prevBtn, #nextBtn {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 60px;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

#prevBtn {
    left: 30px;
}

#nextBtn {
    right: 30px;
}

#downloadBtn {
    position: absolute;
    top: 30px;
    left: 50px;
    color: white;
    font-size: 34px;
    text-decoration: none;
    background-color: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    width : 80px;
}

#downloadBtn:hover {
    background-color: rgba(255,255,255,0.3);
}

.navigation-bar {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.nav-icon {
    text-decoration: none;
    color: #2c2370;
    font-weight: bold;
    font-size: 16px;
    background-color: #f1f1f1;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.nav-icon:hover {
    background-color: #e0e0e0;
}
