:root { --theme-green: #017839; }
.bg-theme { background-color: var(--theme-green) !important; }
.highlight-box { background: linear-gradient(135deg, #eef8f2, #d9f1e3); border: 1px solid #c7e8d5; border-radius: 12px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 768px) { .highlight-box { flex-direction: column; align-items: flex-start; } }

/* Belgeler Sayfası Stilleri */
.belgeler-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.belgeler-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 50vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/belgeler.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 3rem;
    padding: 2rem;
    position: relative;
   
}

.belgeler-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Siyah renkli overlay için */
    z-index: 1;
}

.belgeler-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    top: 3rem;
}

.belgeler-grid {
    flex: 1; /* Grid alanının tamamını kaplaması için */
    padding-bottom: 2rem; /* Grid alanının altına boşluk bırakmak için */
}

.belge-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.belge-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--theme-green);
}

.belge-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.belge-box:hover .belge-img {
    transform: scale(1.05);
}

/* Modal Stilleri */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-weight: 700;
    color: #0f1e26;
}

.modal-body {
    padding: 1.5rem;
}

.belge-modal-pdf-container {
    max-height: 70vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.belge-modal-pdf {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-theme {
    background-color: var(--theme-green);
    color: #fff;
    border-color: var(--theme-green);
}

.btn-theme:hover {
    background-color: #026832;
    border-color: #026832;
    color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
    .belgeler-title {
        font-size: 2.25rem;
    }
    
    .belge-box {
        height: 160px;
    }
    
    .belge-modal-pdf-container {
        max-height: 60vh;
    }
    
    .belge-modal-pdf {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .belgeler-header {
        height: 40vh;
        min-height: 220px;
        margin-bottom: 2rem;
    }
    
    .belgeler-title {
        font-size: 1.75rem;
    }
    
    .belge-box {
        height: 140px;
        padding: 1rem;
    }
    
    .belge-modal-pdf-container {
        max-height: 50vh;
        padding: 0.5rem;
    }
    
    .belge-modal-pdf {
        height: 50vh;
        min-height: 300px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}
